3
1
Back

RSS feed elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { // Achewood (alt tag) // Achewood (alt tag) elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { // Two Lumps elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Scenes From A Multiverse (to get alt tag elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { // PhD Unknown elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $article['content'] .= "
Alt: $alt_text
"; list($html, $content_type) = $this->get_content($link); $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Assorted updates elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { // Awkward.

New Pull Request