nsIFeedResult 编辑
toolkit/components/feeds/nsIFeedResult.idl
Scriptable This interface provides access to HTTP and parsing metadata for a feed or entry. 1.0 66 Introduced Gecko 1.8 Inherits from: nsISupports
Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)Method overview
void registerExtensionPrefix(in AString aNamespace, in AString aPrefix); |
Attributes
Attribute | Type | Description |
bozo | boolean | The feed processor sets the bozo bit when a feed triggers a fatal error during XML parsing. There may still be feed metadata and entries that were parsed before the error occurred. |
doc |
| The parsed feed or entry. null if a non-feed was processed. |
headers |
| The HTTP response headers that accompanied the feed. |
stylesheet |
| An XSLT stylesheet available to transform the source of the feed. Some feeds include this information in a processing instruction. It's generally intended for use by clients designed to work with specific feeds. |
uri |
| The address from which the feed was fetched. |
version | AString | The version of the feed; null if a non-feed is processed. This value will be one of the following: atom, rss2, rss09, rss091, rss091userland, rss092, rss1, atom03, atomEntry, rssItem |
Methods
registerExtensionPrefix()
Registers a prefix for a namespace used to access an extension in the feed or entry.
Warning: This method is not implemented at this time.
void registerExtensionPrefix( in AString aNamespace, in AString aPrefix );
Parameters
aNamespace
- The namespace for the extension.
aPrefix
- The prefix used to access the extension.
See also
Interwiki link
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论