SubItems Allowed ?

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

SubItems Allowed ?

Post by anjanesh »

Hi
Im trying to make a RSS feed. But it needs sub items - is that allowed ?

Code: Select all

<item>
<title></title>

 <item>
 <title></title>
 <description></description>
 </item>

 <item>
 <title></title>
 <description></description>
 </item>

 <item>
 <title></title>
 <description></description>
 </item>

<description></description>
</item>
Will RSS Reader interpret this ?
Thanks
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

the DTD would appear to say no.
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

Im looking at ver 0.91 specs (http://my.netscape.com/publish/formats/ ... .html#item) and it seems its not allowed.
Where can I see v2.0 ? Im not able to find this in netscape.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

Thanks.
BTW, is it not possible to have subitems using some : operator ?
Like RDF or something ? Not sure but whats this : thats used often ?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

namespace hooks.
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

HTML tags in <description> not being parsed in RSS Readers ?
I tried

Code: Select all

<description>
<b>Sentence 1</b><br/>
Sentence 2<br/>
Sentence 3<br/>
</description>
FeedReader is showing in one single line and Sentence 1 is not bold.
Any other alternative ?
Post Reply