зеркало из https://github.com/mozilla/pjs.git
Bug 418287 - nsIFeedEntry.published does not recognize <pubDate>, r=sayrer, a=mtschrep
This commit is contained in:
Родитель
a776c7a807
Коммит
726a17e9df
|
@ -464,7 +464,7 @@ Entry.prototype = {
|
||||||
"atom03:summary", "atom:summary"],
|
"atom03:summary", "atom:summary"],
|
||||||
content: ["content:encoded","atom03:content","atom:content"],
|
content: ["content:encoded","atom03:content","atom:content"],
|
||||||
rights: ["atom03:rights","atom:rights"],
|
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",
|
updated: ["pubDate", "atom03:modified", "dc:date", "dcterms:modified",
|
||||||
"atom:updated"]
|
"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>
|
Загрузка…
Ссылка в новой задаче