RSS feed
The news feed must be available as an HTTP URL that can be fetched over the Internet. The URL can point to any type of page, as long as it is retreivable via HTTP. You may make your news content available using a static or dynamic (PHP, ASP, Perl, etc etc) page. The URL must always remain the same.
Some example (fictitious) URLs:
-
http://www.ssc.govt.nz/news/news.xml
-
http://www.doc.govt.nz/doc-news.rss
The content within your feed must always contain the news items for the last 7 days (at a minimum). In this way, news items will never be lost, even if there is a service disruption. If there was no news content for this period of time, the aggregator will expect to find an "empty" feed. This does not mean a file of zero bytes, but rather a feed with no <items> in it.
On fetching a feed, the aggregator will save new items and ignore items that were previously published, unless they were updated. If an item has been updated, it will be updated in the aggregator, taking the updated version as the authorative version.
An item will be considered updated if any of the following elements has been changed:
-
<title>
-
<link>
-
<description>
-
<nzgls:date.valid>
-
<nzgls:type.agency>
-
<nzgls:type.document>
[ Previous | Next ]

