nsIFeedResult

by 4 contributors:

This interface provides access to HTTP and parsing metadata for a feed or entry.
1.0
28
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 nsIFeedContainer The parsed feed or entry. null if a non-feed was processed.
headers nsIProperties The HTTP response headers that accompanied the feed.
stylesheet nsIURI 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 nsIURI 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

Document Tags and Contributors

Contributors to this page: Sheppy, mkato, trevorh, Planche
Last updated by: Sheppy,