3
1
Back

'comics', $article['content']); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } // Eat That Toast bog-standard example // Penny Arcade elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // Something Positive Added BCN, Something Positive $alt_text = $entry->getAttribute('title'); $alt_text = trim($entry->getAttribute('title')); $result_html .= "Alt: " . $img->getAttribute('title') . ""; } } if(ADD_IDS){ $article['content'] .= "ID: " . $img->getAttribute('title') . ""; } } //Sites that provide images and just need alt tags in feedburner (if there are quotes) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // XKCD (alt tags we don't need to call out for.

New Pull Request