WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIFeed

IID:3b8aae33-80e2-4efa-99c8-a6c5b99f76ea
Inherits From:nsIFeedContainer

An nsIFeed represents a single Atom or RSS feed.

This interface is implemented by the following components:


Constants

PRUint32 TYPE_FEED = 0
PRUint32 TYPE_AUDIO = 1
PRUint32 TYPE_IMAGE = 2
PRUint32 TYPE_VIDEO = 4

Properties

nsIWritablePropertyBag2 cloud

No one really knows what cloud is for.

It supposedly enables some sort of interaction with an XML-RPC or SOAP service.

PRInt32 enclosureCount

The total number of enclosures found in the feed.

nsIFeedGenerator generator

Information about the software that produced the feed.

nsIWritablePropertyBag2 image

An image url and some metadata (as defined by RSS2).

nsIArray items

The items or entries in feed.

nsIArray skipDays

Days to skip fetching. This field was supposed to designate intervals for feed fetching. It's not generally implemented. For example, if this array contained "Monday", aggregators should not fetch the feed on Mondays.

nsIArray skipHours

Hours to skip fetching. This field was supposed to designate intervals for feed fetching. It's not generally implemented. See for more information.

nsIFeedTextConstruct subtitle

Uses description, subtitle, and extensions to generate a summary.

nsIWritablePropertyBag2 textInput

No one really knows what textInput is for.

See for more details.

readonly PRUint32 type

The type of feed. For example, a podcast would be TYPE_AUDIO.

Reference documentation is generated from Mozilla's source.