Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. generating RSS feed

generating RSS feed

Scheduled Pinned Locked Moved ASP.NET
csharpc++htmlasp-netdatabase
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Laimis
    wrote on last edited by
    #1

    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

    M 1 Reply Last reply
    0
    • L 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, laimis

      M Offline
      M Offline
      Mike Ellison
      wrote on last edited by
      #2

      Hi laimis. I'm no expert at this, but I wonder if you would want to use &lt; and &gt; 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.

      L 1 Reply Last reply
      0
      • M Mike Ellison

        Hi laimis. I'm no expert at this, but I wonder if you would want to use &lt; and &gt; 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.

        L Offline
        L Offline
        Laimis
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups