diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-05-18 17:17:36 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-07-23 21:19:21 +0200 |
commit | 7b2ba6ef820335df682fbe3dcfaceef3a62cf4a5 (patch) | |
tree | b9d4b744f514fb3d1b45a40f81323983ca31f7ad /plugins/pubsubhubbub/pubsubhubbub.php | |
parent | f4929b1188b4bc5e92b925ebc44f5ad40bb1a4ed (diff) | |
download | Shaarli-7b2ba6ef820335df682fbe3dcfaceef3a62cf4a5.tar.gz Shaarli-7b2ba6ef820335df682fbe3dcfaceef3a62cf4a5.tar.zst Shaarli-7b2ba6ef820335df682fbe3dcfaceef3a62cf4a5.zip |
RSS/ATOM feeds: process through Slim controller
Diffstat (limited to 'plugins/pubsubhubbub/pubsubhubbub.php')
-rw-r--r-- | plugins/pubsubhubbub/pubsubhubbub.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pubsubhubbub/pubsubhubbub.php b/plugins/pubsubhubbub/pubsubhubbub.php index 2878c050..41634dda 100644 --- a/plugins/pubsubhubbub/pubsubhubbub.php +++ b/plugins/pubsubhubbub/pubsubhubbub.php | |||
@@ -60,8 +60,8 @@ function hook_pubsubhubbub_render_feed($data, $conf) | |||
60 | function hook_pubsubhubbub_save_link($data, $conf) | 60 | function hook_pubsubhubbub_save_link($data, $conf) |
61 | { | 61 | { |
62 | $feeds = array( | 62 | $feeds = array( |
63 | index_url($_SERVER) .'?do=atom', | 63 | index_url($_SERVER) .'feed-atom', |
64 | index_url($_SERVER) .'?do=rss', | 64 | index_url($_SERVER) .'feed-rss', |
65 | ); | 65 | ); |
66 | 66 | ||
67 | $httpPost = function_exists('curl_version') ? false : 'nocurl_http_post'; | 67 | $httpPost = function_exists('curl_version') ? false : 'nocurl_http_post'; |