3
1
Back

$content_type) = $this->get_content($link); $doc = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); // Questionable Content (cleanup) $article['content'] .= "
$orig_content
"; // Awkward Zombie $article['content'] .= "

" . $entry->textContent . "

"; } } // Cyanide & Happiness // Cyanide & Happiness elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog entry $entries = $xpath->query("//div[@class='entry']"); // VG Cats $vgcats_url = $vgcats_url_node->getAttribute('href'); $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); // Three Panel Soul elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='timeline-description']", $article); } // Invisible Bread.

New Pull Request