nsIFeedEntry 编辑

toolkit/components/feeds/public/nsIFeedEntry.idlScriptable This interface describes a single entry in an RSS or Atom news feed, providing attributes allowing access to the entry's data. 1.0 66 Introduced Gecko 1.8 Inherits from: nsIFeedContainer Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)

Attributes

AttributeTypeDescription
contentnsIFeedTextConstructThe full text of the entry's content. This comes from the atom:content and/or content:encoded fields.
enclosuresnsIArrayAn array of all the enclosures included in the entry. These are used by podcasts, photocasts, and so forth.
mediaContentnsIArrayAn array of all the enclosures or other media that might be displayed inline in the entry.
parentnsIFeedContainerA reference to the entry's parent, which is either a feed (nsIFeed or another entry.
publishedAStringA string indicating the date on which the entry was published, in RFC822 format. This date is parsable by both JavaScript (via Date.parse()) and mail code. Note, that the related updated attribute is available from the nsIFeedContainer interface.
summarynsIFeedTextConstructA summary of the feed entry's content. This is generated automatically using the entry's description, subtitle, summary, content, and appropriate extensions.

See also

Interwiki lin

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:80 次

字数:3526

最后编辑:7 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文