]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/af_comics/filters/af_comics_comicpress.php
plugins: remove obsolete plugin_data/stored stuff
[tt-rss.git] / plugins / af_comics / filters / af_comics_comicpress.php
index e60b2dfe58f14a39ce81531bdabe8944d1fd6b6e..ec4b7ac57470f8cda6a8a174aa92b90d35d81882 100644 (file)
@@ -2,7 +2,8 @@
 class Af_Comics_ComicPress extends Af_ComicFilter {
 
        function supported() {
-               return array("Buni", "Buttersafe", "Whomp!", "Happy Jar", "CSection");
+               return array("Buni", "Buttersafe", "Whomp!", "Happy Jar", "CSection",
+                       "Extra Fabulous Comics");
        }
 
        function process(&$article) {
@@ -11,11 +12,10 @@ class Af_Comics_ComicPress extends Af_ComicFilter {
                if (strpos($article["guid"], "bunicomic.com") !== FALSE ||
                                strpos($article["guid"], "buttersafe.com") !== FALSE ||
                                strpos($article["guid"], "whompcomic.com") !== FALSE ||
+                               strpos($article["guid"], "extrafabulouscomics.com") !== FALSE ||
                                strpos($article["guid"], "happyjar.com") !== FALSE ||
                                strpos($article["guid"], "csectioncomics.com") !== FALSE) {
 
-                        if (strpos($article["plugin_data"], "af_comics,$owner_uid:") === FALSE) {
-
                                // lol at people who block clients by user agent
                                // oh noes my ad revenue Q_Q
 
@@ -34,12 +34,8 @@ class Af_Comics_ComicPress extends Af_ComicFilter {
 
                                        if ($basenode) {
                                                $article["content"] = $doc->saveXML($basenode);
-                                               $article["plugin_data"] = "af_comics,$owner_uid:" . $article["plugin_data"];
                                        }
                                }
-                       } else if (isset($article["stored"]["content"])) {
-                               $article["content"] = $article["stored"]["content"];
-                       }
 
                         return true;
                }