Special Xml formating

Discussion corner for Developers of Serendipity.
Post Reply
eightgr
Regular
Posts: 66
Joined: Thu Oct 27, 2005 5:52 pm

Special Xml formating

Post 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.
eightgr
Regular
Posts: 66
Joined: Thu Oct 27, 2005 5:52 pm

Re: Special Xml formating

Post 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?
onli
Regular
Posts: 2829
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Special Xml formating

Post 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.
eightgr
Regular
Posts: 66
Joined: Thu Oct 27, 2005 5:52 pm

Re: Special Xml formating

Post 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.
Post Reply