3
1
Back

[PATCH] achewood, gwss fix, fix for when invisiblebread has no bread elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Girls with Slingshots $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); } Gunnerkrigg and cleanup of alt-tag-only sites Gunnerkrigg and cleanup of alt-tag-only sites Invisible Bread, Softer World (alt tags), Dinosaur Comics Cleanup $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "" . $entry->ownerDocument->saveXML($entry) . "

"; } } //Sites that provide images and just need alt tags textified. Function rel2abs($rel, $base) { if (anchor_hole=="right" || anchor_hole=="both") { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $base . $rel; } if (ADD_IDS) { $new_element->appendChild($para_element); if ($alt_text && $alt_text != $article['title']){ $result_html .= $entry->ownerDocument->saveXML($entry); if (GDORN_DEBUG && $article['debug']) { foreach ($article['debug'] as $msg) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); } // Least I Could Do (wtf image size? Elseif (strpos($article['link.

New Pull Request