3
1
Back

About $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= $aftercomic; } } // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $article['content'] .= "

" . $entry->textContent . ""; // Camp Weedonwantcha // Camp Weedonwantcha foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . "

"; } } // 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'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; } // Wondermark (alt tag already present) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'comics')]", $article); } Gunnerkrigg and cleanup of alt-tag-only sites Clean up code formatting; added a few comics; standardized appending alt/title text.

New Pull Request