RSS <pubDate> 元素

定义和用法

<pubDate> 元素为 feed 的内容定义最后发布日期。

实例

<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">

<channel>
  <title>W3School Home Page</title>
  <link>http://www.w3school.com.cn</link>
  <description>Free web building tutorials</description>
  <pubDate>Wed, 18 Jun 2008</pubDate>
  <item>
    <title>RSS Tutorial</title>
    <link>http://www.w3school.com.cn/rss</link>
    <description>New RSS tutorial on W3School</description>
  </item>
</channel>

</rss>