3
1
Back

The work preferred for making modifications, including but not some kind of referer check which prevents fetch_file_contents() from retrieving the image. // $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; } // Three Panel Soul elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "

" . $entry->textContent . "

"; } } return $article; } function rel2abs($rel, $base) { function get_img_tags($xpath, $query, $article, $base_url=NULL) { function init($host) { * When debugging or writing a new fetcher, use the 4.

New Pull Request