Welcome to WebmasterWorld Guest from 54.196.175.173

Forum Moderators: bill & werty

Message Too Old, No Replies

RSS feed in browser

XML not showing

     

dirkji

7:23 am on May 13, 2005 (gmt 0)

10+ Year Member



Hi all,

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]

ZachFSW

8:15 am on May 16, 2005 (gmt 0)

10+ Year Member



Off chance that for some reason you have PHP set up to read more than PHP files?

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.

dirkji

9:03 am on May 27, 2005 (gmt 0)

10+ Year Member



I don't think that's the case Zach.

Anyone else?

weppos

12:56 pm on Jun 8, 2005 (gmt 0)

10+ Year Member



Please, could you provide a working URL for a check?
The one you wrote above returns

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.

dirkji

1:07 pm on Jun 8, 2005 (gmt 0)

10+ Year Member



Hello Weppos,

Thanks for trying, but the URL given is not a real one. The TOS of this board doesn't allow us to post links.

weppos

1:24 pm on Jun 8, 2005 (gmt 0)

10+ Year Member



Ops, sorry. ;o)
Did you try to validate it [feedvalidator.org...]
 

Featured Threads

Hot Threads This Week

Hot Threads This Month