3
1
Back

(strpos($article['link'], 'wondermark.com/c') !== FALSE) { // Invisible Bread (make the bread visible) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // replace the

(containing project wonderful) with nothing $article['content'] = $img_tag . $article['content']; } // Poly In Pictures elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // Breaking Cat News elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $article['content'] .= $aftercomic; $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } //Sites that provide images and just need alt tags textified. If(ADD_IDS){ $article = $this->alt_textify($article); $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry){ $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, } //and sometimes necessary for old fogeys like me to get 1:1 between schematic and front.

New Pull Request