Heath Posted June 7, 2008 Share Posted June 7, 2008 I am working on converting my rss feed to suit the truveo video sitemap needs but I am getting a error. For those who would like to help, or develop their own, the directions can be found here http://developer.truveo.com/DirectorDocumentation.php This is their sample rss document.... A sample Media RSS file is shown below. Required tags are in red. <?xml version="1.0" encoding="utf-8"?> <rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:av="http://www.searchvideo.com/schemas/av/1.0"> <channel> <title>Metacafe</title> <link>http://www.metacafe.com/rss/today_videos/mrss.xml</link> <description>Today's Videos, Movies and Funny Clips by Metacafe</description> <item> <author>mooncat56</author> <title>Making Of 300-The Movie</media:title> <link>http://www.metacafe.com/watch/504132/making_of_300_the_movie/</link> <description>Actors work and train as ONE in the fight scenes. Six weeks of training to learn the moves devised for this movie. </description> <guid isPermaLink="true">http://www.metacafe.com/watch/504132/making_of_300_the_movie/</guid> <pubDate>Tue, 17 Apr 2007 02:50:07 +0000</pubDate> <media:description>Actors work and train as ONE in the fight scenes. Six weeks of training to learn the moves devised for this movie.</media:description> <media:content url="http://www.metacafe.com/fplayer/504132/making_of_300_the_movie.swf" type="application/x-shockwave-flash" medium="video" height="345" width="400" duration="243" /> <media:player url="http://www.metacafe.com/watch/504132/making_of_300_the_movie/" /> <media:thumbnail url="http://images.metacafe.com/thumb/504132/3445872/4/rss_feed5/0/ making_of_300_the_movie.jpg" width="120" height="90" /> <media:title>Making Of 300-The Movie</media:title> <media:keywords>spartans,300,fight</media:keywords> <media:credit>mooncat56</media:credit> <media:rating scheme="urn:simple">nonadult</media:rating> <media:category>Entertainment</media:category> </item> </channel> </rss> Here is the line that is giving me a bit of a issue. <media:player url="http://www.metacafe.com/watch/504132/making_of_300_the_movie/" /> Here is how I have it in my php... <media:player url=\"http://www.metacafe.com/watch/504132/making_of_300_the_movie/"\ /> any thing I am doing wrong? Quote Link to comment https://forums.phpfreaks.com/topic/109073-converting-this-to-php-is-giving-me-parse-errors/ Share on other sites More sharing options...
.josh Posted June 7, 2008 Share Posted June 7, 2008 I'm guessing that last \ at the end there needs to be before your " not after but I don't really know what else is wrapped around that line since you don't have it posted. Quote Link to comment https://forums.phpfreaks.com/topic/109073-converting-this-to-php-is-giving-me-parse-errors/#findComment-559588 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.