nsIFeedResult
From MDC
The nsIFeedResult interface provides access to HTTP and parsing metadata for a feed or entry.
Contents |
nsIFeedResult is defined in toolkit/components/feeds/public/nsIFeedResult.idl. It is scriptable and
unfrozen (hasn't changed since Mozilla 1.8.1).
Inherits from: nsISupports
[edit] Method overview
void registerExtensionPrefix(in AString namespace, in AString prefix);
|
[edit] 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 |
[edit] Methods
[edit] 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 namespace, in AString prefix );
[edit] Parameters
- namespace
- The namespace for the extension.
- prefix
- The prefix used to access the extension.