From: Andrew Dolgov Date: Wed, 2 Apr 2014 05:17:02 +0000 (+0000) Subject: af_comics_cad: do not process news posts X-Git-Tag: 1.13~52 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=98c7f6299ac8b4b323646239dba4175e57ac18b3;p=tt-rss.git af_comics_cad: do not process news posts --- diff --git a/plugins/af_comics/filters/af_comics_cad.php b/plugins/af_comics/filters/af_comics_cad.php index 6184977d..fcc90781 100644 --- a/plugins/af_comics/filters/af_comics_cad.php +++ b/plugins/af_comics/filters/af_comics_cad.php @@ -9,7 +9,7 @@ class Af_Comics_Cad extends Af_ComicFilter { $owner_uid = $article["owner_uid"]; if (strpos($article["link"], "cad-comic.com/cad/") !== FALSE) { - if (strpos($article["plugin_data"], "af_comics,$owner_uid:") === FALSE) { + if (strpos($article["title"], "News:") === FALSE && strpos($article["plugin_data"], "af_comics,$owner_uid:") === FALSE) { $doc = new DOMDocument(); @$doc->loadHTML(fetch_file_contents($article["link"]));