diff options
Diffstat (limited to 'classes/opml.php')
-rw-r--r-- | classes/opml.php | 10 |
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; + } + + } ?> |