return array($has_text_alternative, $has_audio_alternative, $has_visual_alternative, $has_sign_lang_alternative);\r
}\r
}\r
- // All a4a resources have "&" converted to "&". To match content with resources, \r
- // need the same conversion on content. \r
- $content = convertAmp($content);\r
- \r
- // keep < (content saved in plain text format) as it is instead of &lt;\r
- $content = str_replace('&lt;', '<', $content);\r
\r
// get all relations between primary resources and their alternatives\r
$sql = "SELECT DISTINCT c.content_path, pr.resource, ";\r