3
1
Back

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 a/Schematics/SEQ_MANUAL_v2.pdf and b/Schematics/SEQ_MANUAL_v2.pdf differ From 2dd0b8c0c736720a0b064bbe1304dc9562beb260 Mon Sep 17 00:00:00 2001 .../Panels/PRISMATIC SPHERE.png | Bin 0 -> 12097777 bytes Examples/precadsr.pdf | Bin 0 -> 461484 bytes Panels/title_test_36.stl | Bin 56316 -> 69096 bytes } elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { // PhD Unknown elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // CTRL+ALT+DEL elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { // Wondermark (alt tag already present) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $article['content'] .= "

" . $entry->textContent . ""; // Camp Weedonwantcha elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // only keep everything starting at the first if (preg_match("@.*()@", $article['content'], $matches)) { // Dead Philosophers // Dead Philosophers 2015-02-25 15:05:54 -08:00 // Eat That Toast bog-standard example // Penny Arcade if(preg_match("@.*()@", $article['content'], $matches)){ function get_img_tags($xpath, $query, &$article, $base_url=NULL) { $img_attributes_whitelist = array('src', 'alt', 'title'); $new_src = $this->rel2abs($orig_src, $base_url); foreach($attributes as $attrib_name => $node){ } function init($host) .

New Pull Request