Welcome to WebmasterWorld Guest from 54.162.152.232

Forum Moderators: bill & werty

Message Too Old, No Replies

How t o add extended element to RSS 2.0

     
3:15 pm on Dec 14, 2004 (gmt 0)

Full Member

10+ Year Member

joined:Feb 24, 2004
posts:219
votes: 0


We have short and long descriptions. Is there a way to add an extended element for the long description?
3:24 pm on Dec 14, 2004 (gmt 0)

Full Member

10+ Year Member

joined:Feb 24, 2004
posts:219
votes: 0


I mean to add an extra element like 'description' for each item.
5:47 pm on Dec 14, 2004 (gmt 0)

Full Member

10+ Year Member

joined:June 12, 2003
posts:222
votes: 0


The only elements of the <item> are:

title: The title of the item.
link: The URL of the item.
description: The item synopsis.
author: Email address of the author of the item.
category: Includes the item in one or more categories.
comments: URL of a page for comments relating to the item.
enclosure: Describes a media object that is attached to the item.
guid: A string that uniquely identifies the item.
pubDate: Indicates when the item was published.
source: The RSS channel that the item came from.

The idea of the RSS feed is to show a description and then take the user to the content. I am not sure exactly how two descriptions would be useful but that doesn't mean that I know everything.

7:16 pm on Dec 14, 2004 (gmt 0)

Full Member

10+ Year Member

joined:Feb 24, 2004
posts:219
votes: 0


Found a solution:
<rss version="2.0" xmlns:ExtraField="http://www.mydomain.com/ExtraField#">
...
<item>
<title>..</title>
<pubDate>..</pubDate>
<description>..</description>
<ExtraField:LongDesc>....</ExtraField:LongDesc>
..
</item>

credit to Extending RSS 2.0 With Namespaces [disobey.com]

11:35 pm on Dec 14, 2004 (gmt 0)

Full Member

10+ Year Member

joined:June 12, 2003
posts:222
votes: 0


Will be interesting to see how this works. Any chance of stickying me the URL when you have it set up?
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members