3
1
Back

$xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; // $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); // And get blog $entries = $xpath->query("//div[@id='signoff-wrapper']"); // Pain Train (to get alt tags textified. Elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { if ($doc === NULL) { foreach ($article['debug'] as $msg) { $article['content'] .= $aftercomic; } } // Three Panel Soul elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // Dead Philosophers elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='timeline-description']", $article); } // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $title_text); Latest commits for branch fewer_panel_wires Move LED resistors next to transistors to save on panel wires renamed repository from precadsrprecadsr to synth_mages/precadsr 2a5bb74bbd Stuff all teh scad files in ttrss-plugin- _comics/init.php.

New Pull Request