3
1
Back

$article['content'], $matches)){ if (preg_match("@.*(query("//div[@id='signoff-wrapper']"); } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); // Joy of Tech elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "

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

New Pull Request