3
1
Back

$article){ /* dirty absolute URL is ready! */ } /* absolute URL is ready! */ return $scheme.'://'.$abs; } function get_img_tags($xpath, $query, $article, $base_url=NULL) { $img_attributes_whitelist = array('src', 'alt', 'title'); $new_src = $this->rel2abs($orig_src, $article['link']); if ($alt_text && $alt_text != $article['title']){ $result_html .= $entry->ownerDocument->saveXML($entry); Added BCN, Something Positive // Timothy Winchester (People I Know) // Timothy Winchester (People I Know elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { // Girls with Slingshots elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; } // Scenes From A Multiverse (to get alt tags elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { // Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // Alice Grove bigger img elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE.

New Pull Request