3
1
Back

[PATCH] Initial commit Initial commit 2015-02-23 04:24:08 -08:00 Yet more ways of pulling comics, alt text and salient bits of blogs into Tiny Tiny RSS entries. Binary files /dev/null and b/Images/adsr.png differ Binary files /dev/null and b/KICKDRUM_MANUAL.pdf differ Binary files /dev/null and b/Panels/Font files/Futura XBlk BT.ttf | Bin 0 -> 168419 bytes Images/retrigger.png | Bin 11930 -> 0 bytes elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); $new_element = $doc->createElement("div"); $para_element = $doc->createElement("p"); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); } // SBMC elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { // Cyanide & Happiness elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } /* absolute URL is ready! */ elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); $article['content'] .= "
$orig_content
"; .

New Pull Request