3
1
Back

1313 This won't be easy; need both A1M (x3) and B10K (x1) sliders in the bottom of the Stick // } // Girls with Slingshots $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } //Sites that provide images and just need alt tags elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; // $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text function get_content($link) { /** * Use this if you want to dig into the linked page for content, e.g. Alt tags.

New Pull Request