Generate RSS with attributes
Hi,
I need create an RSS with some attribute inside the tags, like this:
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>Example media RSS playlist for the JW Player</title>
<link>http://www.longtailvideo.com</link>
<item>
<title>Big Buck Bunny - FLV Video</title>
<link>http://www.bigbuckbunny.org/</link>
<description>Big Buck Bunny is a short animated film by the Blender
Institute, part of the Blender Foundation. Like the foundation's
previous film Elephants Dream, the film is made using free and open
source software.</description>
<media:credit role="author">the Peach Open Movie Project</
media:credit>
<media:content url="http://www.longtailvideo.com/jw/upload/
bunny.flv" duration="20" />
</item>
<item>
<title>Big Buck Bunny - MP3 Audio with thumb</title>
<link>http://www.bigbuckbunny.org/</link>
<description>Big Buck Bunny is a short animated film by the Blender
Institute, part of the Blender Foundation. Like the foundation's
previous film Elephants Dream, the film is made using free and open
source software.</description>
<media:credit role="author">the Peach Open Movie Project</
media:credit>
<media:content url="/video/preview.jpg" duration="33"/>
</item>
</channel>
</rss>
How can I solve my problem??
Thank you
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home