3
1
Back

DIP-14"/> get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $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']"); foreach ($entries as $entry) { $article['content'] .= "" . $msg . ""; } } // Poly In Pictures elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $article['content'] .= "

Bonus comic:
" . $aftercomic . ""; if (ADD_IDS) { * Two switch selectable capacitors for slower and faster time scales (restoring a feature of the Stick // elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); list($html, $content_type) = $this->get_content($link); //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Scenes From A Multiverse.

New Pull Request