3
1
Back

Stick $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } //Sites that provide images and just need alt tags textified. $article['content'] .= "
Alt: $alt_text
"; } } return $article; } Some comics supported elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Softer World (alt tags), Dinosaur Comics Cleanup $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); $new_element = $doc->createElement("img"); $new_element->setAttribute('src', $extraimage->getAttribute('src')); $bread->parentNode->replaceChild($new_element, $bread); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); } // Invisible Bread (make the bread visible Binary files a/3D Printing/AD&D 1e spell names in Filmoscope Quentin/Panels/COLOR SPRAY.png' abc39a50d6 Delete '3D Printing/Panels/image.png' 6523065365 Go to file main drumkit/Schematics/OttosIrresistableDance/KickDrum.kicad_sch 3660 lines main ENV/Envelope/Envelope.kicad_pcb 2 lines 56529bef3a Go to file 99b8f1493d More layout updates ttrss-plugin- _comics/init.php 356 lines class _comics extends Plugin { function hook_render_article($article) { return $this->mangle_article($article); } function rel2abs($rel, $base) { Various updates, additions $alt_element = $doc->createElement("i", $alt_text); } elseif (strpos($title_text, $alt_text) !== false){ } elseif (strpos($title_text, $alt_text) !== false){ // there's both alt and title texts, they're both different, use both. } elseif (strpos($title_text, $alt_text) !== False) { if ($rel[0] == '/') { $path = ''; foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Joy of.

New Pull Request