3
1
Back

$article['content']); } // Three Panel Soul elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // And get blog entry $article['content'] .= "

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

"; // Wondermark (alt tag already present) elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } drugs & wires, pilotside drugs & wires, pilotside 2018-11-20 08:29:13 -08:00 // Eat That Toast bog-standard example if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // SBMC // SBMC // SBMC elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); // $img_tag = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users) 2015-03-02 17:38:43 -08:00 } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debugging']) { foreach ($article['debugging'] as $msg) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } //Sites that provide images and just need alt tags if both exist achewood, gwss fix, fix for when invisible bread has no bread 2015-10-14 16:26:40 -07:00 f80e4975fb checkpoint before trying to add picture From 81f5cdc2cd0ea2f7c6a63827426db16f9b2cd3fd Mon Sep 17 00:00:00 2001 Subject: [PATCH] Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text under images (extra useful for non-browser users 1e6cc98f41 Various updates, additions Updated LICD, alter alt-textify to handle both title and alt tags if both exist achewood, gwss fix, fix for when invisible bread has no bread function rel2abs($rel, $base) { function rel2abs($rel, $base) { if (!$alt_text || strpos($article['title'], $alt_text) !== false){ $text_element .

New Pull Request