generating RSS feed
-
Hey guys, I have a ASP.NET page that generates RSS feed by pulling info from the db. All is fine except when I try to validate it agains rss validators, it complains about
being unknown element. My RSS structure is correct, I have all of the required elements, and it complains only about html inside node of an item. But I have seen other feeds contain html inside, and they validate with no problems. My sample feed looks like: I got cought by surprise when I realized that .NET 1.1 or earlier doesn`t have a native support for secure socket programming. Why did I need them? For secure authentication using MS Passport servers.
bla bla bla ... If I place
with no /, it doesn't like it as this is not well formed XML. Has anyone had any issues like this? Any experience or your own RSS generators? Any suggestions would be appreciated. Thanks, laimis -
Hey guys, I have a ASP.NET page that generates RSS feed by pulling info from the db. All is fine except when I try to validate it agains rss validators, it complains about
being unknown element. My RSS structure is correct, I have all of the required elements, and it complains only about html inside node of an item. But I have seen other feeds contain html inside, and they validate with no problems. My sample feed looks like: I got cought by surprise when I realized that .NET 1.1 or earlier doesn`t have a native support for secure socket programming. Why did I need them? For secure authentication using MS Passport servers.
bla bla bla ... If I place
with no /, it doesn't like it as this is not well formed XML. Has anyone had any issues like this? Any experience or your own RSS generators? Any suggestions would be appreciated. Thanks, laimisHi laimis. I'm no expert at this, but I wonder if you would want to use
<
and>
symbols, or maybe a<[CDATA[[ ...]]>
section to support this. Maybe something like this?<description>
I got cought by surprise when I realized that .NET 1.1 or earlier doesn`t have
a native support for secure socket programming. Why did I need them? For secure
authentication using MS Passport servers.
<br />
bla bla bla ...
</description>or maybe
<description><![CDATA[
I got cought by surprise when I realized that .NET 1.1 or earlier doesn`t have
a native support for secure socket programming. Why did I need them? For secure
authentication using MS Passport servers.
<br />
bla bla bla ...
]]></description>I don't know if this will work for you - just an idea.
-
Hi laimis. I'm no expert at this, but I wonder if you would want to use
<
and>
symbols, or maybe a<[CDATA[[ ...]]>
section to support this. Maybe something like this?<description>
I got cought by surprise when I realized that .NET 1.1 or earlier doesn`t have
a native support for secure socket programming. Why did I need them? For secure
authentication using MS Passport servers.
<br />
bla bla bla ...
</description>or maybe
<description><![CDATA[
I got cought by surprise when I realized that .NET 1.1 or earlier doesn`t have
a native support for secure socket programming. Why did I need them? For secure
authentication using MS Passport servers.
<br />
bla bla bla ...
]]></description>I don't know if this will work for you - just an idea.
Yeah, that's what i thought also, but that is not it. I am generating an xml type content in my feed, as are every other RSS feed that I saw on the net. And they seem to have html elements inside the description node. I am thinking that I might be missing some version number or something like that. Still banging my head strong ... thanks for suggestions. laimis