< pubDate>和有什么区别?和< lastBuildDate>在RSS中? [英] What is the difference between <pubDate> and <lastBuildDate> in RSS?

查看:66
本文介绍了< pubDate>和有什么区别?和< lastBuildDate>在RSS中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在每个RSS.xml文件中,我都有pubDate和lastBuildDate匹配的感觉.

I have the feeling, in every RSS.xml file, both the pubDate and the lastBuildDate match.

我确信这并不总是正确的...

I am sure that this one, is not always true...

那么首先,以上两者之间有什么区别?

So firstly, what is the difference between those two above?

第二,RSS阅读器是否基于pubDate或lastBuildDate按Date对内容进行排序?

Secondly, the RSS readers, sort the content by Date, based on the pubDate or the lastBuildDate?

推荐答案

pubDate:

频道或项目的原始发布日期. (可选)

The original publication date for the channel or item. (optional)

lastBuildDate:

最近一次修改了频道的内容. (可选)

The most recent time the content of the channel was modified. (optional)

以下是RSS 2.0规范中可选项目的一些文档.

Here are some docs for the optional items in the RSS 2.0 spec.

这篇关于< pubDate>和有什么区别?和< lastBuildDate>在RSS中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆