]> git.wh0rd.org Git - tt-rss.git/commitdiff
filter stupid feed: prefix from feed url
authorAndrew Dolgov <fox@madoka.spb.ru>
Sat, 16 Sep 2006 09:54:02 +0000 (10:54 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Sat, 16 Sep 2006 09:54:02 +0000 (10:54 +0100)
functions.php

index afe013d65d267cb7a1106c171ce14d4381a95bdc..b90cb3136c9064b42d1b2f36996d149005fee5ff 100644 (file)
        }
 
        function subscribe_to_feed($link, $feed_link, $cat_id = 0) {
-       
+
+               $feed_link = preg_replace("/^feed://", $feed_link);
+
                if ($cat_id == "0" || !$cat_id) {
                        $cat_qpart = "NULL";
                } else {