3
1
Back

Function mangle_article($article) { if (strpos($article["content"], "bonus panel!") !== FALSE) { elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { // Poly In Pictures elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); } // Poly In Pictures elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog //also get blog entry $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } /* OotS uses some kind of referer check which prevents fetch_file_contents() from retrieving the image. // Order of the Software. THE SOFTWARE OR THE USE ISC License.

New Pull Request