|
how to GENERATE an XML file
Hi
The Rss flux is created by the files backend.html which includes the inc-rss-item.html, to be found in the dist folder. If you want to make changes to the content of the rss feed, then save the inc-rss-item.html in your squelletes folder and change it.
To poduce the rss flux : use http://yoursite/spip.php?page=backend
this gives the news of all the site. You can use keywords, id rubrique, id-auteur, lang to filter the content.
ie : http://www.corporatejustice.org/spi...
will give the rss feed of section 1
http://www.corporatejustice.org/spi...
will produce all the articles with the keyword that has the id 21 attached to it
and http://www.corporatejustice.org/spi...
will produce the latest articles in English.
by default it produces always the last ten articles. If you want to change that. Take the backend.html to your squellettes folder and change {0,10} replacing the 10 with the amount you want.
Hope this helps
Rainer
|