3
1
Back

$bread_page_url = $bread->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // Timothy Winchester (People I Know elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { // Poly In Pictures elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // SatW elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $article['content'] .= "Bonus comic:" . $aftercomic . "

"; } } foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] .= "
Alt: $alt_text
"; list($html, $content_type) = $this->get_content($link); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); // Questionable.

New Pull Request