summaryrefslogtreecommitdiff
path: root/classes/opml.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/opml.php')
-rw-r--r--classes/opml.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/classes/opml.php b/classes/opml.php
index 10967c171..b91e395d1 100644
--- a/classes/opml.php
+++ b/classes/opml.php
@@ -479,5 +479,15 @@ class Opml extends Handler_Protected {
print "$msg<br/>";
}
+ static function opml_publish_url($link){
+
+ $url_path = get_self_url_prefix();
+ $url_path .= "/opml.php?op=publish&key=" .
+ get_feed_access_key($link, 'OPML:Publish', false, $_SESSION["uid"]);
+
+ return $url_path;
+ }
+
+
}
?>