3
1
Back

I Know) elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // XKCD (alt tags we don't need to call out for) elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // Girls with Slingshots elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $article['content'] .= "" . $entry->textContent . "

"; } } return $article; } function get_img_tags($xpath, $query, $article) { function about() { function get_content($link) { /** * Use this if you are.

New Pull Request