3
1
Back

$entry->ownerDocument->saveXML($entry); Added BCN, Something Positive } if (ADD_IDS) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Added BCN, Something Positive if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } // Girls with Slingshots elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } Dead Philosophers elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); if ($bread) { $html = fetch_file_contents($link); Fix for when invisible bread has no bread 2016-05-21 17:02:21.

New Pull Request