W jaki sposób stworzyć skrypy, który będzie tworzył dynamicznie kanał RSS, który zczytuje dane z bazy i tworzy kolejne 'itemy', tak, aby było ich max 10 w jednym pliku. Czy to możliwe? Chciałbym, aby plik wyglądał następująco:
<?xml version="1.0" encoding="iso-8859-2" ?>
<rss version="2.0">
<channel>
<lastBuildDate></lastBuildDate> // dane już wypełnione
<generator></generator>
<title></title>
<link></link>
<description><![CDATA[]]></description>
<language></language>
<copyright></copyright>
<managingEditor></managingEditor>
<webMaster></webMaster>
<ttl></ttl>
<pubDate></pubDate>
<item> // Nowy 'item'
<title></title>
<link></link>
<pubDate></pubDate>
<description>><![CDATA[]]></description>
<category></category>
<author></author>
</item>
</channel>
</rss>