homepage Welcome to WebmasterWorld Guest from 50.19.199.154
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

    
Clicking on headlines generates "cannot be found" message
Stories link through "read on" link, but not through headlines
CAGuy2004




msg:1542713
 7:48 pm on May 14, 2004 (gmt 0)

I've recently set up my first rss feed, and was happy to see that everything worked great...except getting the browser to link the story when clicking on the headline.

When I click on the "read on" link in the space below the site image, the story comes through fine. But when the headline is double-clicked, it just generates a "cannot be found" page.

I've tried it in RSS 2.0 and .91 with the following syntax:

<item>
<title>Story Title</title>
<link>
[sitename.org...]
</link>
</item>

The link in the <channel> section points to:
<link>http://www.sitename.org/stories/</link>.

I'm ready to announce the site, and this is the one thing holding it back. Any help for this newbie will be greatly appreciated.

 

sidyadav




msg:1542714
 10:44 pm on May 14, 2004 (gmt 0)

Try using the following RSS template:

<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<channel>

<title>source_title</title>
<link>source_link</link>
<description>source_description</description>
<language>en-us</language>

<image>
<title>source_image_title</title>
<url>image_url</url>
<link>image_link_to_source</link>
<width>width</width>
<height>height</height>
</image>

<item>
<title>article_title</title>
<link>article_link</link>
<description>article_description</description>
<dc:date>article date (format: 2004-05-14T22:49:00-05:00)</dc:date>
</item>

</channel>
</rss>


Works fine for me, so I'm guessing it should do the same for you.

Sid

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