3
1
Back

* Joy of Tech // Joy of Tech elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // Joy of Tech elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { if ($rel[0] == '/') { $path = ''; foreach ($entries as $entry) { elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this } //No matches //No matches //No matches //No matches if ($img->getAttribute('title')) { // Chainsawsuit elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); } // $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "

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

"; } } } // Joy of Tech elseif.

New Pull Request