]> git.wh0rd.org Git - tt-rss.git/commitdiff
af_comics_cad: do not process news posts
authorAndrew Dolgov <noreply@fakecake.org>
Wed, 2 Apr 2014 05:17:02 +0000 (05:17 +0000)
committerAndrew Dolgov <noreply@fakecake.org>
Wed, 2 Apr 2014 05:17:02 +0000 (05:17 +0000)
plugins/af_comics/filters/af_comics_cad.php

index 6184977d12bcdb55d1cbe443b185b0d521314362..fcc9078197360b3bc0efe5f14d98b279d0fe742f 100644 (file)
@@ -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"]));