XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).
Moderator: General Moderators
-
anjanesh
- DevNet Resident
- Posts: 1679
- Joined: Sat Dec 06, 2003 9:52 pm
- Location: Mumbai, India
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
-
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.
-
feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Post
by feyd »
-
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 ?
-
feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Post
by feyd »
namespace hooks.
-
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 ?