ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

RSS feed not showing paragraph breaks

July 15, 2010 5:53pm

Subscribe [3]
  • #1 / Jul 15, 2010 5:53pm

    impdesigns

    115 posts

    Hello,

    I’m having some wonkiness with an RSS feed not showing line breaks or active links. Damn thing is, it validates. Crazy.

    I think there might be an answer in the old KB, but a link I found in the archived forums no longer works. My apologies if this issue is listed somewhere already.

    BizITPro Blog

  • #2 / Jul 15, 2010 8:25pm

    Brandon Jones

    5500 posts

    Try this:

    Here is an example of the line in the default RSS template that might contain weblog field entries with HTML.

    <description>{exp:xml_encode}{summary}{body}{/exp:xml_encode}</description>

    To modify this example, the {exp:xml_encode} tag should be replaced with the CDATA section as shown in the following example.

    <description><![CDATA[{summary}{body}]]></description>

    Your feeds should now show the HTML formatting.  Remember that not all aggregators work the same.  The feed might show up fine in one aggregator but not another.

  • #3 / Jul 15, 2010 9:36pm

    impdesigns

    115 posts

    ROCK.

    You are the man. Thanks for the quick info.

  • #4 / Jul 16, 2010 2:22am

    John Henry Donovan

    12339 posts

    Glad Brandon was able to help. Feel free to start a new thread if you have any more questions.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases