Newline in RSS feed?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bruce W..1

    Newline in RSS feed?

    My webservice for RSS doesn't look pretty, in IE each line runs in to
    the next, no line returns.

    How can newlines be put in the feed without screwing-up the XML? I
    tried <br /> but this got included in the displayed feed.

    My XML is being generated dynamically using C#.

    Thanks for your help.
  • Randy Charles Morin

    #2
    Re: Newline in RSS feed?

    It sounds like your building the XML using a string builder construct.
    You best to use the System.Xml namespace to build XML docs. They add
    all the <? header information that allows IE et al to recognize it as
    XML.
    Hope this helps,

    Randy


    "Bruce W..1" <bruce@noDirect Email.com> wrote in message news:<3FD5282B. 6363458@noDirec tEmail.com>...[color=blue]
    > My webservice for RSS doesn't look pretty, in IE each line runs in to
    > the next, no line returns.
    >
    > How can newlines be put in the feed without screwing-up the XML? I
    > tried <br /> but this got included in the displayed feed.
    >
    > My XML is being generated dynamically using C#.
    >
    > Thanks for your help.[/color]

    Comment

    • Oleg Tkachenko

      #3
      Re: Newline in RSS feed?

      Bruce W..1 wrote:

      [color=blue]
      > How can newlines be put in the feed without screwing-up the XML? I
      > tried <br /> but this got included in the displayed feed.[/color]

      Try

      --
      Oleg Tkachenko
      XML Insider


      Comment

      Working...