homepage Welcome to WebmasterWorld Guest from 54.167.138.53
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
Forum Library, Charter, Moderators: bill & werty

RSS, ATOM, and Related Technologies Forum

    
How t o add extended element to RSS 2.0
flashfan




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

We have short and long descriptions. Is there a way to add an extended element for the long description?

 

flashfan




msg:1541831
 3:24 pm on Dec 14, 2004 (gmt 0)

I mean to add an extra element like 'description' for each item.

eurotrash




msg:1541832
 5:47 pm on Dec 14, 2004 (gmt 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.

flashfan




msg:1541833
 7:16 pm on Dec 14, 2004 (gmt 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]

eurotrash




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

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

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