diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-03 10:40:27 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-03 10:40:27 +0100 |
commit | 72c20a52978f31b84ffc817894f9f85f4a8506ee (patch) | |
tree | 78b133d6c397cf44d711f15a8f1785cd76c9d6ea /index.php | |
parent | 5846b0f1b32f7f9b99a3c20acfeeaee9781eebea (diff) | |
download | wallabag-72c20a52978f31b84ffc817894f9f85f4a8506ee.tar.gz wallabag-72c20a52978f31b84ffc817894f9f85f4a8506ee.tar.zst wallabag-72c20a52978f31b84ffc817894f9f85f4a8506ee.zip |
[add] atom feeds for unread / fav items
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -70,6 +70,13 @@ if (isset($_GET['login'])) { | |||
70 | $poche->updateTheme(); | 70 | $poche->updateTheme(); |
71 | } elseif (isset($_GET['updatelanguage'])) { | 71 | } elseif (isset($_GET['updatelanguage'])) { |
72 | $poche->updateLanguage(); | 72 | $poche->updateLanguage(); |
73 | } elseif (isset($_GET['feed'])) { | ||
74 | if ($_GET['action'] == 'generate') { | ||
75 | $poche->generateToken(); | ||
76 | } | ||
77 | else { | ||
78 | $poche->generateFeeds($_GET['token'], $_GET['user_id'], $_GET['type']); | ||
79 | } | ||
73 | } | 80 | } |
74 | 81 | ||
75 | elseif (isset($_GET['plainurl']) && !empty($_GET['plainurl'])) { | 82 | elseif (isset($_GET['plainurl']) && !empty($_GET['plainurl'])) { |