homepage Welcome to WebmasterWorld Guest from 54.196.162.238
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
Forum Library, Charter, Moderators: bill & werty

RSS, ATOM, and Related Technologies Forum

    
Media Rss - Big Issues
rajivadhy




msg:4036199
 3:02 pm on Dec 3, 2009 (gmt 0)

Hi

Getting this error
Parse error: syntax error, unexpected '<' in /
www.#*$!.com/rss/video_classifieds.xml (#*$! is site in signature)

Also no description or thumbnails is coming only the title
PLEASE HELP
Before this all done properly

Code
$sql_result=$videos_obj->recent_videos("limit 0,20");

$idz ="0";
$base_url="http://www.#*$!.com/video/play.php?id=";
$download_url="http://www.#*$!.com/video/video_files/";
$image_download="http://www.#*$!.com/video/video_files/";
for($i=0;$i<count($sql_result['id']);$i++)
{
/*
1. & - &amp;
2. < - &lt;
3. > - &gt;
4. " - &quot;
5. ' - '
*/
$description=htmlentities($sql_result['desc'][$i]);
]
<item>\r
<title>$sql_result['title'][$i]</title>\r
<description>$description</description>\r
<link>$base_url.$sql_result['id'][$i]</link>\r
<media:thumbnail url=\"$image_download" />\r
<guid isPermaLink=\"true\">". $download_url.$sql_result['vid_filename'][$i]."</guid>\r
<media:group>\r
");
fputs ($filepointer, "
<media:content url=\"$download_url\" fileSize=\"1000\" type=\"$<media:rating>nonadult</media:rating>
</media:content>
");
}
fputs ($filepointer, "
</media:group>
</item>\r
");
}
fputs ($filepointer, "</channel>
</rss>
");

 

bill




msg:4036585
 12:44 am on Dec 4, 2009 (gmt 0)

Is this supposed to be an RSS file?

rajivadhy




msg:4036693
 3:41 am on Dec 4, 2009 (gmt 0)

Yes part of it media rss

bill




msg:4036771
 8:32 am on Dec 4, 2009 (gmt 0)

Where are you getting this error? Does the RSS file validate?

eeek




msg:4083251
 1:17 am on Feb 19, 2010 (gmt 0)

Looks like a php file to me. Albeit one that doesn't parse.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved