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.

@mozilla.org/feed-entry;1

This component implements the following interfaces:

Properties

nsISAXAttributes nsIFeedElementBase.attributes

The attributes found on the element. Most interfaces provide convenience accessors for their standard fields, so this useful only when looking for an extension.

nsIArray nsIFeedContainer.authors

A list of nsIFeedPersons that authored the feed.

nsIURI nsIFeedElementBase.baseURI

The baseURI for the Entry or Feed.

nsIArray nsIFeedContainer.categories

Returns the categories found in a feed or entry.

nsIFeedTextConstruct nsIFeedEntry.content

Uses atom:content and content:encoded to provide a 'full text' view of an entry.

nsIArray nsIFeedContainer.contributors

A list of nsIFeedPersons that contributed to the feed.

nsIArray nsIFeedEntry.enclosures

Enclosures are podcasts, photocasts, etc.

nsIWritablePropertyBag2 nsIFeedContainer.fields

The fields found in the document. Common Atom and RSS fields are normalized. This includes some namespaced extensions such as dc:subject and content:encoded. Consumers can avoid normalization by checking the feed type and accessing specific fields.

Common namespaces are accessed using prefixes, like get("dc:subject");. See nsIFeedResult::registerExtensionPrefix.

AString nsIFeedContainer.id

Many feeds contain an ID distinct from their URI, and entries have standard fields for this in all major formats.

nsIURI nsIFeedContainer.link

Returns the primary link for the feed or entry.

nsIArray nsIFeedContainer.links

Returns all links for a feed or entry.

nsIArray nsIFeedEntry.mediaContent

Enclosures, etc. that might be displayed inline.

AString nsIFeedEntry.published

The date the entry was published, in RFC822 form. Parsable by JS and mail code.

nsIFeedTextConstruct nsIFeedContainer.rights

The rights or license associated with a feed or entry.

nsIFeedTextConstruct nsIFeedEntry.summary

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

nsIFeedTextConstruct nsIFeedContainer.title

Sometimes there's no title, or the title contains markup, so take care in decoding the attribute.

AString nsIFeedContainer.updated

The date the feed was updated, in RFC822 form. Parsable by JS and mail code.

Methods

InterfaceMethod
nsIFeedContainer void normalize ( )

Reference documentation is generated from Mozilla's source.