3
1
Back

B886abe4036c263df71a7c0b70fd44b77a53e633 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Add simplest muscescore example Samurai ttrss-plugin- _comics/init.php 342 lines if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Scenes From A Multiverse (to get alt tags) // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites Gunnerkrigg and cleanup of alt-tag-only sites // Gunnerkrigg Court elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { // Cyanide & Happiness // Cyanide & Happiness elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] .= "

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

"; } } // Cyanide & Happiness // Cyanide & Happiness // Cyanide & Happiness elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); Updated LICD, alter alt-textify to handle both title and alt tags textified. $doc->loadHTML($article['content']); //no-op $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Poly In Pictures.

New Pull Request