WordPress.org

Ready to get started?Download WordPress

Forums

Problem with RSS (7 posts)

  1. patrickw
    Member
    Posted 9 years ago #

    I am not sure what is going on with the RSS feed but something is wrong.

    When I view my RSS through an RSS reader I get this:

    ----------------------
    Wow. I just had to post this. It is on slashdot too so you might have already seen it: "When Doug Heckman was installing a PC Pitstop program, he actually read the EULA. In it, he found a clause stating that he could get financial compensation if he e-mailed PC Pitstop. The result: [...]
    ----------------------

    But on my site it look slike this

    ----------------------
    Wow. I just had to post this.

    It is on slashdot too so you might have already seen it:

    "When Doug Heckman was installing a PC Pitstop program, he actually read the EULA. In it, he found a clause stating that he could get financial compensation if he e-mailed PC Pitstop. The result: etc...etc..

    --------------------------
    Why wordpress ignoring the breaks and such?

  2. patrickw
    Member
    Posted 9 years ago #


  3. Yes, the RSS feed comes through as plain text, not HTML. To get the RSS feed to come through as HTML, open wp-rss2.php in a text editor and change:
    <?php the_excerpt_rss() ?>

    to

    <?php the_content_rss() ?>

    You can do that to wp-rss.php, wp-rdf.php, and wp-atom.php as well. For more info, see this:
    http://codex.wordpress.org/Template_Tags/the_content_rss

    For a list of "approved" text editors, see this:
    http://codex.wordpress.org/Glossary#Text_editor

  4. Kafkaesqui

    Posted 9 years ago #

    Or set your feed to full text (Options > Reading).

  5. But that would be just full text, no formatting or HTML links, wouldn't it?

  6. Kafkaesqui

    Posted 9 years ago #

    The RSS2 file in 1.5 (at least in my copy) is using the_content() for displaying post content in full text mode.

  7. Wow, another useful new feature which snuck in under the radar.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.