From 726a17e9dfd9ef651ce45e7882e6c027d37be04a Mon Sep 17 00:00:00 2001 From: "Callek%gmail.com" Date: Wed, 20 Feb 2008 08:06:12 +0000 Subject: [PATCH] Bug 418287 - nsIFeedEntry.published does not recognize , r=sayrer, a=mtschrep --- toolkit/components/feeds/src/FeedProcessor.js | 2 +- .../feeds/test/xml/rss2/item_pubDate.xml | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 toolkit/components/feeds/test/xml/rss2/item_pubDate.xml diff --git a/toolkit/components/feeds/src/FeedProcessor.js b/toolkit/components/feeds/src/FeedProcessor.js index 90b1e3dd5e7..8df8eec3712 100644 --- a/toolkit/components/feeds/src/FeedProcessor.js +++ b/toolkit/components/feeds/src/FeedProcessor.js @@ -464,7 +464,7 @@ Entry.prototype = { "atom03:summary", "atom:summary"], content: ["content:encoded","atom03:content","atom:content"], rights: ["atom03:rights","atom:rights"], - published: ["atom03:issued", "dcterms:issued", "atom:published"], + published: ["pubDate", "atom03:issued", "dcterms:issued", "atom:published"], updated: ["pubDate", "atom03:modified", "dc:date", "dcterms:modified", "atom:updated"] }, diff --git a/toolkit/components/feeds/test/xml/rss2/item_pubDate.xml b/toolkit/components/feeds/test/xml/rss2/item_pubDate.xml new file mode 100644 index 00000000000..7189ebb4ff2 --- /dev/null +++ b/toolkit/components/feeds/test/xml/rss2/item_pubDate.xml @@ -0,0 +1,14 @@ + + + + + +Sat, 02 Sep 2003 00:00:01 GMT + + + \ No newline at end of file