3
1
Back

FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ Various updates, additions elseif (strpos($article["link"], "berkeleymews.com/") !== FALSE ) { // Robot Hugs $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "

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

"; // Wondermark (alt tag already present) // Wondermark (alt tag already present foreach ($imgs as $img) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "" . $msg . ""; $img_tag = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); } // Scenes From A Multiverse (to get alt tag elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { //no-op else { // Girls with Slingshots elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } Fix for when invisiblebread has no bread elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get blog.

New Pull Request