3
1
Back

$this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // And get blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); From caaf12f2da0fe056d0b625b9c1a860efbae9f4d1 Mon Sep 17 00:00:00 2001 Subject: [PATCH] achewood, gwss fix, fix for when invisible bread has no bread Pain Train (to get alt tag) elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { // Three Panel Soul * Scenes From A Multiverse (to get alt tags textified. Elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // Three Panel Soul elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $article['content'] = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { Binary files /dev/null and b/Panels/Font files/Futura XBlk BT.ttf From 750478ab8360c0ef45b55687504a3e4846b752b4 Mon Sep 17 00:00:00 2001 From 5a420f07b2d4222c473ea8c0cf33ef6f8c915115 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Checkpoint in case you are happy with your fetcher, use the two clockwise-most pins, looking from below. Clock rate (B100k) (not sure yet which 2 pins elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { // Scenes From A Multiverse Least I Could Do (wtf image size?) $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // Dilbert elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // Softer World (alt tags), Dinosaur Comics alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // Doghouse Diaries, which has broken alt tags textified. Elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); $new_element = $doc->createElement("img"); $new_element->setAttribute('src', $extraimage->getAttribute('src')); $bread->parentNode->replaceChild($new_element, $bread); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article.

New Pull Request