homepage Welcome to WebmasterWorld Guest from 54.234.225.23
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
Forum Library, Charter, Moderators: bill & werty

RSS, ATOM, and Related Technologies Forum

    
RSS feed in browser
XML not showing
dirkji




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

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




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

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




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

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

Anyone else?

weppos




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

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




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

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




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

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

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