• howdy.

    I have a special RSS feed that’s not showing any <p> or
    in my post content. It’s supposed to be a full text feed. Here’s the “description” portion of the feed:

    <description><?php echo '<![CDATA['.$post->post_content.'<br /><br /><a href="'.get_permalink($post->ID).'">'.get_the_title($post->ID).'</a>'.']]>'; ?></description>

    The actual feed is here:
    https://www.triplepundit.com/rss-full/

    As you can see, most posts don’t have any paragraph breaks in them.

    Second question – as you can also see, some of the posts actually DO have SOME proper paragraph breaks in them. This is totaly weird to me as I can’t find any difference between them – there is no hard coded HTML in the posts or anything like that.

    Thanks!!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nickaster

    (@nickaster)

    Also – out of curiosity… how do I get Author Name into the RSS feed? Seems to be missing!

    Thread Starter nickaster

    (@nickaster)

    Okay – fixed the author thing, but anyone know why line breaks wouldn’t be properly getting into the feed?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘RSS/PHP HELP’ is closed to new replies.