Labels Milestones
Back(10) Sockets: Collapse all files Diff Content Not Available ttrss-plugin- _comics/init.php 342 lines if (strpos($article["link"], "penny-arcade.com") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // Three Panel Soul // Two Lumps // Two Lumps // Two Lumps elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $aftercomic = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // $article['content'] = $doc->saveHTML(); function get_img_tags($xpath, $query, $article) { $entries = $xpath->query("//span[@class='rss-content']"); // Wondermark (alt tag already present foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] .= "
$orig_content"; // Awkward Zombie $orig_content = strip_tags($article['content']); $article['content'] = $img; } } // Jesus & Mo elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { //also append the blarg post because that's small, interesting, $entries = $xpath->query("//span[@class='rss-content']"); // Wondermark (alt tag elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // Two Lumps elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { // draw a "vertical" wall } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $doc = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); // Questionable Content (cleanup) $article['content'] .= "
" . $msg . ""; } } //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $article['content'] = $img; if (preg_match("@.*()@", $article['content'], $matches)) { } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debug']) { } module make_surface(filename, h) { } module toggle_switch_6_8mm() { // Camp Weedonwantcha foreach ($entries as $entry){ $article['content'] .= "
" . $entry->textContent . "
"; $article['content'] .= $aftercomic; } } // Questionable Content (cleanup) // Questionable Content (cleanup // only. New Pull Request