Forum Moderators: open
I have tried creating a rss.php file for my sit e. I just used the exact model which I found at one site. Ofcourse I used this model also. I got the following error on both cases. Please help me figure our what is wrong. I have been trying for 2 days now. Do I need to ask my web hosting company to add any MIME type?.
Error I got is
Parse error: parse error, unexpected T_STRING in example.com/rss.php on line 1
<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
<channel>
<title>All Widgets Reviewed</title>
<description>If it's a widget, we review it. Learn what widgets are hot and what's not!</description>
<link>http://example.com</link>
<item>
<title>Nokia 3650 Combines Phone And Photos</title>
<description>I've been playing with the new Widget 3650. Finally, someone has got the combination of a cell phone with digital camera capabilities right!</description>
<link>http://example.com/nokia3650.html</link>
</item>
</channel>
</rss>
Thanks in advance
[edited by: werty at 4:21 am (utc) on Sep. 29, 2005]
[edit reason] Removed URLS - Please see TOS #13 [/edit]