diff options
author | Nicolas Lœuillet <nicolas.loeuillet@gmail.com> | 2014-03-01 13:09:37 +0100 |
---|---|---|
committer | Nicolas Lœuillet <nicolas.loeuillet@gmail.com> | 2014-03-01 13:09:37 +0100 |
commit | 223268c2fa34c497d91338e2553bc74bb1b26859 (patch) | |
tree | 0508a24008a4c04cdcc033dcf8f4772df93c6567 /inc/poche/Poche.class.php | |
parent | 4c14936353253ab521d6b64d0b9eafcb5e490cec (diff) | |
download | wallabag-223268c2fa34c497d91338e2553bc74bb1b26859.tar.gz wallabag-223268c2fa34c497d91338e2553bc74bb1b26859.tar.zst wallabag-223268c2fa34c497d91338e2553bc74bb1b26859.zip |
[fix] RSS Feeds don't validate / W3C #384
Diffstat (limited to 'inc/poche/Poche.class.php')
-rwxr-xr-x | inc/poche/Poche.class.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 49651c52..0c4143e1 100755 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -1147,8 +1147,9 @@ class Poche | |||
1147 | $feed = new FeedWriter(RSS2); | 1147 | $feed = new FeedWriter(RSS2); |
1148 | $feed->setTitle('wallabag — ' . $type . ' feed'); | 1148 | $feed->setTitle('wallabag — ' . $type . ' feed'); |
1149 | $feed->setLink(Tools::getPocheUrl()); | 1149 | $feed->setLink(Tools::getPocheUrl()); |
1150 | $feed->setChannelElement('updated', date(DATE_RSS , time())); | 1150 | $feed->setChannelElement('pubDate', date(DATE_RSS , time())); |
1151 | $feed->setChannelElement('author', 'wallabag'); | 1151 | $feed->setChannelElement('generator', 'wallabag'); |
1152 | $feed->setDescription('wallabag ' . $type . ' elements'); | ||
1152 | 1153 | ||
1153 | if ($type == 'tag') { | 1154 | if ($type == 'tag') { |
1154 | $entries = $this->store->retrieveEntriesByTag($tag_id, $user_id); | 1155 | $entries = $this->store->retrieveEntriesByTag($tag_id, $user_id); |