Page 1 of 1

Special Xml formating

Posted: Sun Jun 13, 2010 2:39 pm
by eightgr
Hi!

I actually have this feed generated with Serendipity, http://www.itsartmag.com/news/feeds/cat ... -Video.rss and would like to format it in order to have this XML structure :

<video>
<title> - name of the clip to display in the plugin
<thumb> - link to the thumbnail
<url> - link to guide the viewer to when the clip is clicked

What's the easiest way to do from serendipity using the actual rss.php and template files?

Thanks for your help.

Re: Special Xml formating

Posted: Sun Jun 13, 2010 11:19 pm
by eightgr
Reading my post again, I think I wasn't so clear. The idea is not to change the actual rss formating but to use the actual rss generator to create a new template only for this category and have this structure. Is it possible?

Re: Special Xml formating

Posted: Mon Jun 14, 2010 12:04 am
by onli
As far as I understand the rss.php at the moment, you could create the wanted feed_xmlvid.tpl in your template-folder, then start the rss.php with the fitting &version=xmlvid (and add the category-argument) and such a xml would be delivered.

Re: Special Xml formating

Posted: Mon Jun 14, 2010 8:56 am
by eightgr
right, I don't want to modify the actual way the rss works, but just use a new template and be able to use it with the rss.php file, especially to deliver this category.