Bug 418287 - nsIFeedEntry.published does not recognize <pubDate>, r=sayrer, a=mtschrep

This commit is contained in:
Callek%gmail.com 2008-02-20 08:06:12 +00:00
Родитель a776c7a807
Коммит 726a17e9df
2 изменённых файлов: 15 добавлений и 1 удалений

Просмотреть файл

@ -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"]
},

Просмотреть файл

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
Description: entry pubDate works
Expect: feed.items.queryElementAt(0, Components.interfaces.nsIFeedEntry).published == 'Sat, 02 Sep 2003 00:00:01 GMT'
-->
<rss version="2.0" xmlns:dcterms="http://purl.org/dc/terms/">
<channel>
<item>
<pubDate>Sat, 02 Sep 2003 00:00:01 GMT</pubDate>
</item>
</channel>
</rss>