3
1
Back

Size ttrss-plugin- _comics 53c46eece1 Go to file Latest commits for file Envelope/Envelope.kicad_pcb From bba8f602d8c1e3130e12541595ca5b24c3323454 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Added The Trenches; yet more code style tweaking 2015-03-27 02:51:25 -07:00 Subject: [PATCH] achewood, gwss fix, fix for when invisiblebread has no bread Pain Train (to get alt tag) elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $alt_text); } elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; } } Dead Philosophers elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images.

New Pull Request