3
1
Back

Russ Ross > All rights reserved. Redistribution and use in source and binary forms, with or without Simplified BSD License: > Copyright © 2004, John Gruber * Neither the name of the Stick // elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog $entries = $xpath->query("//div[@id='comic-notes']"); foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . ""; // XKCD (alt tags we don't need to call out for) // XKCD.

New Pull Request