Skip to content
Jorge Reyes edited this page Jun 3, 2015 · 2 revisions

When you create a feed, you specify the feed content with a combination of a query object and a properties structure. The plug-in generates the feed XML and returns the results. By providing a method this result can either be in the form of a Boolean return or an onscreen dump of the generated XML code. In addition you can save the XML as a file and have it hosted on the web server. It is best practice to create, save and then point users to this generated, hosted file and only run the feedGenerator plug-in when the XML file needs updating with new content.

As mentioned the feed content is supplied using a combination of a query object and a properties structure. All the feed's Metadata, which is information describing the feed will be provided using the structure. While the feed's items such as news articles or podcast episodes, (continuously updated data) will be supplied using a query object. Whether this query object is sourced from a live database or manually created by you, this does not matter.

Clone this wiki locally