Returns the time to live (TTL) of the feed. Returns the publication date for feed content. The IFeed interface exposes the properties that are present on the RSS channel element. Additional namespace extensions define properties that are used by the Windows RSS Platform to manage lists. Although some channel elements (such as cloud, rating, skipDays, and skipHours) are not available as properties on the IFeed interface, they are still in the XML source for the feed. Most of the XML elements of an RSS 2.0 feed are available as read-only properties on the associated objects. Returns true if a feed subscription exists.Ĭreates feed in folder and subscribes to it. Returns specific feed, if subscribed, by URL. Returns specific feed, by feed list path. The following table lists the methods and properties that are used to manage the feeds. To subscribe to a feed, assign it to a folder. The IFeed interface exposes the required and optional elements of an RSS feed. Returns an aggregated total of unread items in all feeds.ĭeletes folder, including its subfolders and feeds. Returns an aggregated total of items in all feeds. Returns the feed list path of the folder. Returns the top-level system feed folder. The following table lists the methods and properties that are used to traverse and manipulate the Common Feed List hierarchy. (Refer to the example in Subfolders for a demonstration of a recursive folder search that returns an aggregated total count of feeds.) From there, each IFeedFolder object contains its own collection of subfolders and feeds. The root folder of the Common Feed List is accessed through the FeedsManager.RootFolder property, which returns an object of type IFeedFolder. (See Valid Feed and Folder Names for more information.) Because feed folders are mapped to disk directories, folder names are limited to those characters that the file system allows. The IFeedFolder interface contains properties and methods for accessing feeds contained within the folder as well as properties and methods for accessing subfolders. The Common Feed List resembles a hierarchical file system with folders and feeds. To avoid unnecessary repetition, the names of the COM Automation interfaces are used throughout this topic. Late-bound IDispatch interface-COM Automation interface that is ideal for scripting and managed code (Microsoft Visual Basic.These objects are in the IXFeedsManager hierarchy. Early-bound (vtable) interface-the interface that is better for C/C++ developers.The Windows RSS Platform supports both styles of Component Object Model (COM) interfaces: The Windows RSS Platform object model hierarchy is as follows: To create the object for use with C/C++, call CoCreateInstance with CLSID_FeedsManager (defined in the msfeeds.h header file). To create the object for scripting, use the ProgID Microsoft.FeedsManager. The top-level object in the Windows RSS Platform is the FeedsManager object. The consumption of feed data varies by application the Windows RSS Platform makes a variety of scenarios possible by providing easy access to the feed data. The RSS Explorer of Windows Vista, for example, provides an excellent text reading experience for news and blog feeds, and Microsoft Windows Media Player enables users to listen to audio feeds. Using the Windows RSS Platform, applications can then expose the feed data to the user. The Feed Download Engine downloads feeds and merges the new items with the existing data in the feed store. This enables the discovery of feeds within Internet Explorer, and then for those discovered feeds to appear in other applications. For example, in Microsoft Office Outlook® 2007, the user's subscription list can import feeds from the Common Feed List. When the user subscribes to a feed, it is added to the Common Feed List, which is available for clients to use in addition to or instead of their own list. The RSS specification includes conventions that dictate how often feeds should be checked for updates.Īs part of the RSS support in Windows Internet Explorer 7, users can discover and subscribe to RSS feeds within the browser. In most cases, the RSS feed is retrieved directly from a Web server via HTTP. Really Simple Syndication (RSS) is an XML document format used by Web sites to publish frequently updated content, such as news headlines and blog posts. This topic contains the following sections. The properties and methods are categorized to provide a technical overview of the platform and its functionality. This topic introduces the Windows RSS Platform, an API that developers can use to manipulate the Common Feed List, the set of feeds to which the user is subscribed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |