3
1
Back

$doc->createElement("img"); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Least I Could Do (wtf image size? If (preg_match("@.*()@", $article['content'], $matches)) { if (!$title_text || $title_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { $alt_text = trim($entry->getAttribute('title')); $result_html .= "
Alt: " . $img->getAttribute('title') . ""; } } // PhD Unknown elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // SBMC // SBMC elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { $doc = new DOMXpath($doc); elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { //also append the blarg post because that's.

New Pull Request