WordPress: how can I get the rss feed of just one post?

I want to get the rss channel for one message, which means that I just want the whole article to be in rss format, explicating comments. Is there a way to do this in Wordpress?

thank

+5
source share
2 answers

Adding /feed/rss/a URL at the end gives a snippet of the message, for example:

http://mediasafari.com/news/marketing-careers-announces-two-new-courses/feed/rss/ 

If you change the excerpt to show the full article, this should work:

<?php

function rssFullText($content) {
    global $post;
    $content = $post->post_content;
    return $content;
}

add_filter('the_excerpt_rss', 'rssFullText');

?>
+3
source

Rate it to be old, but if someone else doesn't stumble upon it, add? nocomments = 1 in your URL:

http://mediasafari.com/news/marketing-careers-announces-two-new-courses/feed/rss/?withoutcomments=1
+7
source

All Articles