mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-27 11:22:17 -05:00
[add] add RSS feed for archive
This commit is contained in:
parent
f0133fe5f4
commit
59cc585271
@ -858,7 +858,7 @@ class Poche
|
||||
|
||||
public function generateFeeds($token, $user_id, $type = 'home')
|
||||
{
|
||||
$allowed_types = array('home', 'fav');
|
||||
$allowed_types = array('home', 'fav', 'archive');
|
||||
$config = $this->store->getConfigUser($user_id);
|
||||
|
||||
if (!in_array($type, $allowed_types) ||
|
||||
|
@ -36,6 +36,7 @@
|
||||
<ul>
|
||||
<li><a href="?feed&type=home&user_id={{ user_id }}&token={{ token }}" target="_blank">{% trans "unread feed" %}</a></li>
|
||||
<li><a href="?feed&type=fav&user_id={{ user_id }}&token={{ token }}" target="_blank">{% trans "favorites feed" %}</a></li>
|
||||
<li><a href="?feed&type=archive&user_id={{ user_id }}&token={{ token }}" target="_blank">{% trans "unread feed" %}</a></li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user