From 223268c2fa34c497d91338e2553bc74bb1b26859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sat, 1 Mar 2014 13:09:37 +0100 Subject: [fix] RSS Feeds don't validate / W3C #384 --- inc/poche/Poche.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'inc/poche') 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 $feed = new FeedWriter(RSS2); $feed->setTitle('wallabag — ' . $type . ' feed'); $feed->setLink(Tools::getPocheUrl()); - $feed->setChannelElement('updated', date(DATE_RSS , time())); - $feed->setChannelElement('author', 'wallabag'); + $feed->setChannelElement('pubDate', date(DATE_RSS , time())); + $feed->setChannelElement('generator', 'wallabag'); + $feed->setDescription('wallabag ' . $type . ' elements'); if ($type == 'tag') { $entries = $this->store->retrieveEntriesByTag($tag_id, $user_id); -- cgit v1.2.3