Forum Moderators: open
I just put up an rss feed for my website and I linked it from my homepage with one of those nice orange graphics.
Now when I click on a random rss feed on someones side, the xml code shows in the browser. On my site that's not the case, I just get a blank page.
The feed works fine when I use an rss reader.
Here's the link I use:
<a href="http://www.example.com/widget.rss">RSS feed</a>
Here's the XML file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
<channel>
<title>Widgery Widgets</title>
<link>http://www.example.com</link>
<description>Widgery widget lessons and more.</description>
<language>en-us</language>
<image>
<title>Widgery Widgets</title>
<url>http://www.example.com/images/widget.gif</url>
<link>http://www.example.com</link>
<width>467</width>
<height>60</height>
</image>
<item>
<title>Blue Widgets</title>
<link>http://www.example.com/blue-widgets.html</link>
<description>All about blue widgtets</description>
</item>
...
</channel>
</rss>
Any tips?
Another thing: when someone clicks on the feed link I want to show a page that explains what an rss feed is and how they can use it. How do I go about that?
All The Best,
Dirk.
[edited by: werty at 1:26 pm (utc) on June 9, 2005]
[edit reason] Changed URLs to example.com to avoid confusion. [/edit]
If your server is for some reason thinking that the page is supposed to be parsed by PHP - that would explain a white page since the first two charactes would tell it that php code follows - and by the end of the line you have php errors.
Probably not it - but try to remove that first line and see if it shows up.
While trying to retrieve the URL: [widgerywidgets.com...]The following error was encountered:
Unable to determine IP address from host name for www.widgerywidgets.com
The dnsserver returned:
Name Error: The domain name does not exist.