Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

RSS and <description> tag

Looking at the KB article, it suggests using the "teaser" for the RSS <description> tag for each <item>. The problem with this is if you put any links in here (as might be common for a link to the full article). The links that go into the RSS tag should, I think, be full links, not relative.

How are people dealing with this? Are they ignoring it? Are you using one of the "extra" fields as your "RSS teaser" as opposed to using the regular teaser with its relative links?

Brad Wilson
Thursday, February 21, 2002

The "full path" problem seems to be cropping up in a number of different ways.

I think the solution may be what DreamWeaver uses, another field in the Locations setup that all URLs in the site are relative to when published on that Location.

Maury Markowitz
Friday, February 22, 2002

I think at this point, I'm just going to go ahead and use one of the "extra" fields for my RSS description. Really all I need to do is remove the link to the article itself from the teaser (as the RSS <link> elements provides the necessary link), and then just be careful when I occasionally cross-link from the teaser of one article to the body of another.

Thanks...

Brad Wilson
Friday, February 22, 2002

I just ran into the same thing on my site (on which I recently added an RSS feed). In fact, the RSS feed from Joel's site has the same problem as well.

Links from the RSS description element to other sites work fine, but links to other locations within the base site don't work.

I tried to prefix such links with my base URL like this:
href="http://www.mysite.com/fog0000000059.html"

That resulted in URLs which I'm pretty sure are not valid. For example:
href="http://www.mysite.com/../news/Story.html"

Brian Cantoni
Monday, April 29, 2002

*  Recent Topics

*  Fog Creek Home