3
1
Back

More cleanup // $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); // Joy of Tech elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // Girls with Slingshots // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get the blog //also get blog $entries = $xpath->query($query); $result_html = ''; $orig_src = $entry->getAttribute('src'); $result_html .= $entry->ownerDocument->saveXML($entry); Added BCN, Something Positive $alt_text = trim($entry->getAttribute('title')); $result_html .= $entry->ownerDocument->saveXML($entry); if (GDORN_DEBUG && $article['debugging']) { foreach ($article['debug'] as $msg) { $article['content'] .= "

" . $entry->textContent . ""; if (ADD_IDS) { $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'png')]", $article); } //Sites that provide images and just need alt tags elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // Timothy Winchester (People I Know) $article['content'] .= $aftercomic; } } // Jesus & Mo elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { // only keep everything starting at the first break, the start a cycle of MS1->MS2->MS3->MS4->MS1, moving on after each break. We haven't done MS5 in.

New Pull Request