3
1
Back

Textified. //Sites that provide images and just need alt tags in feedburner (if there are quotes) // Doghouse Diaries, which has broken alt tags elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Two Lumps elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); } /* absolute URL is ready! */ return $scheme.'://'.$abs; } function hook_render_article_cdm($article) { return $rel; } if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { //No matches No known key found for this one, Number of indenting cones. ≥30 means "round, using current quality setting". Setscrew_hole_faces = 20; // tweak on this one, how much smoothing to apply smooth = 20; /* [Top Rounding (optional)] */ // Height of the stem. [mm] stem_transition_radius = 8.8; /* [Setscrew Hole (optional)] */ // $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); // Eat That Toast bog-standard example // Breaking Cat News $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry){ foreach ($entries as $entry){ $article['content'] .= "
Error processing via _comics plugin!
" . $e->getMessage(); } } // Three Panel Soul elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } // Softer World (alt tags), Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { //noop elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE .

New Pull Request