3
1
Back

$xpath; } function mangle_article($article) { if (!$title_text || $title_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { if (anchor_hole=="right" || anchor_hole=="both") { if ($title_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { if (two_holes_type == "center") { } module audio_jack_3_5mm() { } /* dirty absolute URL is ready! */ Assorted updates elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] = $img; } Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text under images (extra useful for non-browser users $entries = $xpath->query("//div[@class='entry']"); // VG Cats $vgcats_url = $vgcats_url_node->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//div//img[contains(@src, 'images') and contains(@src, 'comics')]", $article); // $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); Added The Trenches; yet more code style tweaking elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } Added BCN, Something Positive Added BCN, Something Positive 2015-02-23 19:36:05 -08:00 main.

New Pull Request