nsIFeedResult 编辑

toolkit/components/feeds/nsIFeedResult.idlScriptable 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

AttributeTypeDescription
bozobooleanThe 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.
docnsIFeedContainerThe parsed feed or entry. null if a non-feed was processed.
headersnsIPropertiesThe HTTP response headers that accompanied the feed.
stylesheetnsIURIAn 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.
urinsIURIThe address from which the feed was fetched.
versionAStringThe 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 技术交流群。

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

发布评论

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

词条统计

浏览:91 次

字数:4393

最后编辑:7年前

编辑次数:0 次

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