nsIFeedEntry 编辑
toolkit/components/feeds/public/nsIFeedEntry.idl
Scriptable 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
Attribute | Type | Description |
content |
| The full text of the entry's content. This comes from the atom:content and/or content:encoded fields. |
enclosures |
| An array of all the enclosures included in the entry. These are used by podcasts, photocasts, and so forth. |
mediaContent |
| An array of all the enclosures or other media that might be displayed inline in the entry. |
parent |
| A reference to the entry's parent, which is either a feed (nsIFeed or another entry. |
published | AString | A 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. |
summary |
| A 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论