]> git.wh0rd.org Git - tt-rss.git/commitdiff
af_unburn: add /~r/ redirector
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 20 Jan 2013 16:22:04 +0000 (20:22 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 20 Jan 2013 16:22:04 +0000 (20:22 +0400)
plugins/af_unburn/init.php

index 676cea74ac25ec1c47e3b68d2b0ae0b6170a85fb..e57389872cc689010b7ec04b911195b30ece5631 100644 (file)
@@ -24,6 +24,7 @@ class Af_Unburn extends Plugin {
                        return $article;
 
                if ((strpos($article["link"], "feedproxy.google.com") !== FALSE ||
+                               strpos($article["link"], "/~r/") !== FALSE ||
                                strpos($article["link"], "feedsportal.com") !== FALSE)  &&
                        strpos($article["guid"], "unburn,$owner_uid:") === FALSE) {