diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-03 01:42:21 -0800 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-03 01:42:21 -0800 |
commit | b8bb2b4ab647747806492b439698ccd834ac18da (patch) | |
tree | 78b133d6c397cf44d711f15a8f1785cd76c9d6ea /index.php | |
parent | 678f2cb6eef428e4a5aa522985d30704df3acc78 (diff) | |
parent | 72c20a52978f31b84ffc817894f9f85f4a8506ee (diff) | |
download | wallabag-b8bb2b4ab647747806492b439698ccd834ac18da.tar.gz wallabag-b8bb2b4ab647747806492b439698ccd834ac18da.tar.zst wallabag-b8bb2b4ab647747806492b439698ccd834ac18da.zip |
Merge pull request #350 from inthepoche/rss
add atom feeds for unread / favs
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'])) { |