summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-31 01:55:33 +0100
committerAndrew Dolgov <[email protected]>2007-08-31 01:55:33 +0100
commit755a43eefaea639d27cdf30dd3cf765f2a74a15c (patch)
tree6f9049ed59f76fda0b98eb40a27b8ca2aea47adf /functions.php
parent5fe7767c0ea24d98abc8866cdc9a1f268c083d75 (diff)
add patch to integrate better with firefox (closes #148)
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index d37f4bdf4..d8faef6aa 100644
--- a/functions.php
+++ b/functions.php
@@ -4739,4 +4739,10 @@
(SELECT COUNT(int_id) FROM ttrss_user_entries WHERE ref_id = id) = 0");
}
+ function add_feed_url() {
+ $url_path = 'http://' . $_SERVER["HTTP_HOST"] . parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
+ $url_path .= "?op=pref-feeds&quiet=1&subop=add&feed_url=%s";
+ return $url_path;
+ }
+
?>