Note that text shown in this style documents a feature which isn't in the current release but will be in the next release and
text shown thus indicates a feature which is
being removed in the next release.
If you find anything in this documentation which is wrong or unclear then please use the link at the bottom on the page to comment and we will update the page to correct it or make it clearer.
Creating an RSS2.0 feed is actually pretty simple so long as you have got your head around templates. You simply use a template whose output is XML rather than HTML. You will find a sample in ./def/sample_rss.xml which you should copy into your paper's directory and then edit.
As written this will generate an RSS feed for the paper's news (i.e. all news sections). You can tune it up to only a subset of sections is includes by change the "code" parameters on various fields. This is where a good understanding of templates becomes relevant!
Some fields aren't available as Opus merge fields so those you must insert at the appropriate points. These are indicated by HTML comments.
Having done all of this the URL of your RSS feed is then your site's home page (which must be a page generated by Opus, if it's not then use the news page) but generated using your RSS template. To do this you need to append
template=sample_rss.xml&rss=Y to the URL. So for the Milton Village site for example the RSS feed has a URL of:
http://www.miltonvillage.org.uk?template=sample_rss.xml&rss=Y
If possible you should map this to a more sensible URL using mod_rewrite ...