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.

nsIFeedResultService

IID:950a829e-c20e-4dc3-b447-f8b753ae54da
Inherits From:nsISupports

nsIFeedResultService provides a globally-accessible object for retrieving the results of feed processing.

This interface is implemented by the following components:


Properties

PRBool forcePreviewPage

When set to true, forces the preview page to be displayed, regardless of the user's preferences.


Methods

void addFeedResult ( nsIFeedResult feedResult ) void addToClientReader ( AUTF8String uri , AString title , AString subtitle , PRUint32 feedType ) nsIFeedResult getFeedResult ( nsIURI uri ) void removeFeedResult ( nsIURI uri )

void addFeedResult ( nsIFeedResult feedResult )

Registers a Feed Result object with a globally accessible service so that it can be accessed by a singleton method outside the usual flow of control in document loading.

Arguments:
feedResult: An object implementing nsIFeedResult representing the feed.

void addToClientReader ( AUTF8String uri , AString title , AString subtitle , PRUint32 feedType )

Adds a URI to the user's specified external feed handler, or live bookmarks.

Arguments:
uri: The uri of the feed to add.
title: The title of the feed to add.
subtitle: The subtitle of the feed to add.
feedType: The nsIFeed type of the feed. See nsIFeed.idl

nsIFeedResult getFeedResult ( nsIURI uri )

Gets a Feed Handler object registered using addFeedResult.

Arguments:
uri: The URI of the feed a handler is being requested for

void removeFeedResult ( nsIURI uri )

Unregisters a Feed Handler object registered using addFeedResult.

Arguments:
uri: The feed URI the handler was registered under. This must be the same *instance* the feed was registered under.

Reference documentation is generated from Mozilla's source.