Public Member Functions | Public Attributes

nsIFeedResult Interface Reference

The nsIFeedResult interface provides access to HTTP and parsing metadata for a feed or entry. More...

import "nsIFeedResult.idl";

Collaboration diagram for nsIFeedResult:

List of all members.

Public Member Functions

void registerExtensionPrefix (in AString aNamespace, in AString aPrefix)
 Registers a prefix used to access an extension in the feed/entry.

Public Attributes

attribute boolean bozo
 The Feed parser will set the bozo bit when a feed triggers a fatal error during XML parsing.
attribute nsIFeedContainer doc
 The parsed feed or entry.
attribute nsIURI uri
 The address from which the feed was fetched.
attribute AString version
 Feed Version: atom, rss2, rss09, rss091, rss091userland, rss092, rss1, atom03, atomEntry, rssItem.
attribute nsIURI stylesheet
 An XSLT stylesheet available to transform the source of the feed.
attribute nsIProperties headers
 HTTP response headers that accompanied the feed.

Detailed Description

The nsIFeedResult interface provides access to HTTP and parsing metadata for a feed or entry.


Member Function Documentation

void nsIFeedResult::registerExtensionPrefix ( in AString  aNamespace,
in AString  aPrefix 
)

Registers a prefix used to access an extension in the feed/entry.


Member Data Documentation

The Feed parser will set the bozo bit when a feed triggers a fatal error during XML parsing.

There may be entries and feed metadata that were parsed before the error. Thanks to Tim Bray for suggesting this terminology. <http://www.tbray.org/ongoing/When/200x/2004/01/11/PostelPilgrim>

The parsed feed or entry.

Will be null if a non-feed is processed.

HTTP response headers that accompanied the feed.

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 clients with specific feed capabilities.

The address from which the feed was fetched.

attribute AString nsIFeedResult::version

Feed Version: atom, rss2, rss09, rss091, rss091userland, rss092, rss1, atom03, atomEntry, rssItem.

Will be null if a non-feed is processed.


The documentation for this interface was generated from the following file: