3
1
Back

"

"; } } //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } Clean up code formatting; added a few due to referer checks elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $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'], 'paintraincomic.com/comic/') !== FALSE) { From ef87dc7d41f5e6b2301711b754023b93f16ed69f Mon Sep 17 00:00:00 2001 Subject: [PATCH 2/2] Fix for two different licenses: MIT and Apache. #### MIT License (MIT) Copyright (c) 2014, 辣椒面 Permission is hereby granted, free of charge, to any person.

New Pull Request