10 Useful RSS-Tricks and Hacks For WordPress

Advertisement

By Jean-Baptiste Jung

RSS is one of those technologies that are extremely simple yet extremely powerful. Currently, RSS is the de facto standard for blog syndication, and it is used widely in both personal and corporate settings; for example, in blogs. And because a large percentage of these blogs run on WordPress, we’ll cover in this post some (hopefully) relatively unknown but useful RSS-related tricks and hacks that will help you use RSS in a more effective way — and without unnecessary and chunky WordPress plug-ins.

Let’s take a look at 10 useful, yet rather unknown RSS-tricks for WordPress. Each section of the article presents a problem, suggests a solution and provides you with an explanation of the solution, so that you can not just solve some of your RSS-related problems but also understand what you are actually doing. Thus, you can make sure your WordPress theme remains under your control and is not bloated with some obscure source code.

1. Control When Your Posts are Available via RSS

Screenshot

The problem. Have you ever published an article and then immediately noticed an error? Sure, you can edit it, but there’s another problem: the article has already been published in your RSS feed. To avoid this kind of problem, use this recipe to create a delay between the publication of a post and its availability in your RSS feed.

The solution. To apply this hack, simply paste the following code into your theme’s function.php file. If your theme doesn’t have this file, just create it.

function publish_later_on_feed($where) {
	global $wpdb;

	if ( is_feed() ) {
		// timestamp in WP-format
		$now = gmdate('Y-m-d H:i:s');

		// value for wait; + device
		$wait = '5'; // integer

		// http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_timestampdiff
		$device = 'MINUTE'; //MINUTE, HOUR, DAY, WEEK, MONTH, YEAR

		// add SQL-sytax to default $where
		$where .= " AND TIMESTAMPDIFF($device, $wpdb->posts.post_date_gmt, '$now') > $wait ";
	}
	return $where;
}

add_filter('posts_where', 'publish_later_on_feed');

Code explanation. The above code will add a 5-minute delay to the time between when your post is published on your blog and when it appears in your RSS feed. To change the length of the delay, change the value of the $wait variable on line 9.

Sources

2. Redirecting WordPress Feeds to FeedBurner Feeds

Screenshot

The problem. Beginner bloggers usually start to use FeedBurner only after they have seen it used on many other blogs and realize how useful and cool this tool is. They sign up and start to use it, but their early readers are already subscribed to their default WordPress feed.

Another problem: do you often change your theme? If so, you must be bored having to edit each call to bloginfo(’rss2_url’) and replace it with your FeedBurner feed’s URL.

The solution. The solution to both problems described above is simple: use server redirections.

  1. Create a backup of your .htaccess file, located in the root of your Web server.
  2. Edit the .htaccess file and add the following code. Don’t forget to modify the feed’s URL with your own feed’s URL.
    # temp redirect wordpress content feeds to feedburner
    <IfModule mod_rewrite.c>
     RewriteEngine on
     RewriteCond %{HTTP_USER_AGENT} !FeedBurner    [NC]
     RewriteCond %{HTTP_USER_AGENT} !FeedValidator [NC]
     RewriteRule ^feed/?([_0-9a-z-]+)?/?$ http://feeds.feedburner.com/wprecipes [R=302,NC,L]
    </IfModule>
  3. Save the file. You’re done!

Code explanation. Each time someone clicks on a link to http://www.yourblog.com/feed, he or she will be redirected to http://feeds.feedburner.com/yourblog. This way, you will have never lost an RSS subscriber, and even if you change your theme twice a day, you’ll never have to manually edit your RSS feed links again.

Sources

3. Insert Ads (or Anything Else) in Your RSS Feed

Screenshot

The problem. Monetizing RSS feeds is currently becoming a common practice, and many blog owners do it to maximize their income. FeedBurner can insert AdSense ads into your feed items, but you need at least 500 subscribers to qualify, and you can’t use any ads other than the AdSense ads provided by FeedBurner.

The solution. It is possible, though, to insert other kinds of ads into your RSS feed. You can, for example, use a link to a free WordPress theme only for your RSS subscribers.

Follow these simple steps to perform this hack:

  1. Edit the functions.php file of your theme. If your theme doesn’t have a functions.php file, simply create one.
  2. Paste the following code into your functions.php file:
    <?php
    function insertAds($content) {
        $content = $content.'<hr /><a href="http://www.wprecipes.com">Have you visited WpRecipes today?</a><hr />';
        return $content;
    }
    add_filter('the_excerpt_rss', 'insertAds');
    add_filter('the_content_rss', 'insertAds');
    ?>
  3. Save the file. You’re now displaying your ads in your RSS feed!

Code explanation. I have seen many similar hacks on the Web, but all of them require you to edit WordPress core files to achieve the same result. Of course, editing WordPress core files is a very bad idea because then you would have to re-edit the files each time you upgrade your blog. Instead, this hack uses the add_filter() WordPress function to insert content into your RSS feed without editing any core files.

Sources

4. Format Your Images for Feed Readers

Screenshot

The problem. You took a lot of time to write and format your post and add beautiful screenshots. It looks so good on your blog. Sadly, when the post is displayed in Google Reader or any other RSS reader, it doesn’t look so great.

The solution. This is due to the fact that most feed readers display images inline with text:
inline image
To avoid this problem, add a CSS class to display the image as a block. WordPress provides the built-in class “center“:

<img src="http://media.smashingmagazine.com/images/wordpress-rss-hacks/myimage.jpg" alt="This is my image" class="center"/>

Sources

5. Provide Your Readers with a Feed for Each Post

Screenshot
The problem. When a post has lots and lots of comments, it can be hard for readers to follow the conversation. Most WordPress users don’t know this, but our favorite blogging engine has a built-in function for providing an RSS feed for the comments in each post.

The solution. Well, this recipe isn’t really a hack or anything: to provide an RSS feed for the comments in a particular post, just call the comment_rss_link() function:

<?php comments_rss_link('&raquo; Comments RSS Feed'); ?>

Sources

6. Exclude Categories from Your RSS Feed

The problem. Do you use one of your blog categories to let readers know about your website’s news, or does your blog feature a category that has nothing to do with the rest of your content? If so, it is generally not a good idea to include it in your RSS feed.

The solution. Here’s how to get rid of one of the categories in your RSS feed:

  1. First, get the numeric ID of the category you want to exclude. If you don’t know how to get the ID of a particular category, you can learn how here.
  2. Once you have the ID of the category you want to exclude from your RSS feed, edit the functions.php file in your theme. Create the file if it doesn’t exist.
  3. Paste the following code in it:
    function myFilter($query) {
        if ($query->is_feed) {
            $query->set('cat','-5'); //Don't forget to change the category ID =^o^=
        }
    return $query;
    }
    
    add_filter('pre_get_posts','myFilter');
  4. Save the file, and you’re done!

Code explanation. This hack works exactly the same way as the previous one: create a custom function to exclude the category that you don’t want to appear in your RSS feed, and then use the super-useful add_filter() function to apply it to the pre_get_posts() WordPress core function.

Sources

7. Display Any RSS Feed on Your WordPress Blog

Screenshot

The problem. Do you have more than one blog, or do you manage a forum? If so, you may want to be able to display any RSS feed on your WordPress blog.

The solution. Many plug-ins can do the job, but they’re not necessary at all. WordPress has a built-in RSS reader that is used, for example, to display news on your dashboard. All you have to do is use it in your theme.

  1. Paste the following code anywhere in your theme (personally, I’d put it in the sidebar, the footer or, even better, the page template):
    <?php include_once(ABSPATH.WPINC.'/rss.php');
    wp_rss('http://feeds.feedburner.com/wprecipes', 3); ?>
  2. Save it and you’re done. It’s as easy as that!

Code explanation. The first thing we have done is include the rss.php file from WordPress core. This file allows us to use the wp_rss() function, which takes two parameters: the first is the RSS feed’s URL, and the second is the number of RSS entries to be displayed.

Sources

8. Use Category-Specific RSS Feeds

Screenshot

The problem. Many blogs talk about a lot of different topics: design, programming, blogging tips, etc. Have you ever come across a blog in which you have enjoyed only one category of posts? If so, you should definitely consider offering one feed per category to your own readers.

The solution. Let’s say you’d like to be able to subscribe only to TheGridSystem’s tools section. The category URL is:

http://www.thegridsystem.org/categories/tools/

To get an RSS feed for this category, you simply have to add /feed to the end of the URL:

http://www.thegridsystem.org/categories/tools/feed

Pretty easy, isn’t it? But pretty useful, too, in my opinion.

9. List RSS Feeds by Category

Screenshot

The problem. If you like the previous hack, you will probably also want to be able to display the names of all your category feeds in a list to your readers.

The solution.

  1. Edit any of your theme files, where you want to list your categories and their accompanying feeds.
  2. Paste the following code:
    <?php wp_list_categories('feed_image=http://www.myblog.com/image.gif&feed=XML Feed&optioncount=1&children=0'); ?>
  3. Save the file. You categories will now be displayed, along with their RSS feeds!

Code explanation. This hack uses only the good old wp_list_categories() function, with two parameters. The first is feed_image, which allows us to specify the URL to be displayed as a feed image. The second parameter is feed, which is used to specify the feed format.

10. Get Rid of RSS Feeds the Clean Way

Screenshot

The problem. Let’s say you’re using WordPress as a CMS to manage your online portfolio or your company’s website. In such cases, the RSS feed isn’t that useful, and some people would probably want to remove it.

The solution. I have seen many “hacks” on the Web where people say you just have to remove the include on the wp-settings.php core file. I don’t think you should ever edit a core file. Instead, the following hack will do the job. Simply paste this code in the functions.php file of your theme:

function fb_disable_feed() {
	wp_die( __('No feed available,please visit our <a href="'. get_bloginfo('url') .'">homepage</a>!') );
}

add_action('do_feed', 'fb_disable_feed', 1);
add_action('do_feed_rdf', 'fb_disable_feed', 1);
add_action('do_feed_rss', 'fb_disable_feed', 1);
add_action('do_feed_rss2', 'fb_disable_feed', 1);
add_action('do_feed_atom', 'fb_disable_feed', 1);

Sources

(al)

This guest post was written by Jean-Baptiste Jung, a 28-year-old blogger from Belgium, who blogs about Web Development on Cats Who Code, about WordPress at WpRecipes and about blogging on Cats Who Blog . You can stay in touch with Jean by following him on Twitter.

  1. 1

    Devon

    December 2nd, 2008 10:54 am

    wow…really helpful, thanks!

    0
  2. 2

    Soh

    December 2nd, 2008 11:03 am

    Great resources, thank you~

    0
  3. 3

    Manohar

    December 2nd, 2008 11:05 am

    thanks for “sm”

    0
  4. 4

    Kane

    December 2nd, 2008 11:09 am

    Fantastic post! Thanks very much for this.

    0
  5. 5

    Laura Stafford

    December 2nd, 2008 11:15 am

    This site always seems to have an excess of amazing resources. I’m a big fan. Thanks for the useful tips – great post :)

    0
  6. 6

    Roshan Bhattarai

    December 2nd, 2008 11:17 am

    great tutorial………really helpful for people like me who uses wordpress for blogging…

    0
  7. 7

    Ben

    December 2nd, 2008 11:25 am

    Very informative post,
    btw can you say is it possible for us to fuse two different WordPress RSS into one with Feedburner ?
    I mean, let there be two WordPress feeds, like 1) example.com/feed and 2) example.com/second/feed or second.example.com/feed is it possible to fuse 1 and 2 to a single RSS url easily ?
    Simply I want to update readers with just one RSS url, with contents from two WordPress installations side-by-side

    0
  8. 8

    François

    December 2nd, 2008 11:30 am

    Very useful article, thanks!

    0
  9. 9

    Gelay

    December 2nd, 2008 11:41 am

    Thank you, thank you.

    0
  10. 10

    Clifton Griffin

    December 2nd, 2008 11:46 am

    @Ben,
    Try yahoo pipes. http://pipes.yahoo.com/pipes/

    I had to switch to this after feedblendr went under. It’s pretty straightforward once you start playing with it. Shouldn’t take you long.

    Clif

    0
  11. 11

    Dan

    December 2nd, 2008 11:48 am

    Hi, for Hack #1, line 20, is that a typo in your code? (assuming pulish should be publish?)

    add_filter('posts_where', 'pulish_later_on_feed');

    Great article regardless, thanks!

    0
  12. 12

    Jean-Baptiste Jung

    December 2nd, 2008 11:54 am

    @Dan: You’re right, sorry for that.

    @All: Thanks for your comments!

    0
  13. 13

    Srecko Bradic

    December 2nd, 2008 12:02 pm

    Direct hit!!! This is excactly what many of us have to learn :) Thank you for this very informative post or better say lesson.

    Cheers

    0
  14. 14

    LGR

    December 2nd, 2008 12:05 pm

    Some great hacks and used some of them myself. The problem with hacks though is they can break easily when WordPress is upgraded. If you can find plugins that will do these kinds of things then you will be less likely to break your blog when you upgrade.

    0
  15. 15

    Paul

    December 2nd, 2008 12:38 pm

    Great post!

    Thank you very much.

    0
  16. 16

    Curt Simon Harlinghausen /// Wunderknabe

    December 2nd, 2008 12:57 pm

    Very helpfull.

    0
  17. 17

    Rich

    December 2nd, 2008 12:58 pm

    Be careful with the first one. If you have scheduled posts, they’ll all be revealed!! Not good when I have six months of scheduled posts.

    0
  18. 18

    Tyler

    December 2nd, 2008 12:59 pm

    Thanks! This is really useful stuff. I love this site. :D

    0
  19. 19

    Atomised: the web design co-operative

    December 2nd, 2008 1:22 pm

    Great post. I love RSS and all kinds of feeds. Our company often use a CMS called Symphony (www.symphony21.com) which is natively XML-based and (especially in version 2) can grab and use any XML/RSS based feed SO easily and of course all the data is stored in XML so can create feeds for anything. It is useful to read what is possible with WordPress a CMS I haven’t used for a year or two but am keen to get into again.

    0
  20. 20

    Bill Mulholland :CINQ

    December 2nd, 2008 1:38 pm

    Priceless, saved me hours of work !

    Keep up the excellent work !

    0
  21. 21

    Permana Jayanta

    December 2nd, 2008 2:11 pm

    Exactly what I’m looking for. What about displaying a text that only appear in feed , not blog post?

    0
  22. 22

    Edward de Leau

    December 2nd, 2008 3:08 pm

    Nice collection. It made me remember again a thing I would want: to have feedburner feeds for my main feed (1), 9000 postings (9001), and all tag pages (11001). So in fact have feedburner come up with 11001 different feeds instead of only linking 1 primary feed to feedburner. Would be handy.

    0
  23. 23

    Juno

    December 2nd, 2008 3:16 pm

    I’ve tried #6, but it doesn’t work. :-(

    Moreover, no hack and no plugin I’ve tried allow me to keep comments for a post from a specific category from showing up in RSS. It’s so annoying.

    I have several categories set aside only for logged-in readers. But if the information of those posts and the comments to those posts show up in the feeds, that defeats the whole purpose.

    The only solution I’ve discovered so far is to disable the comments RSS completely. :-/

    0
  24. 24

    Winnie

    December 2nd, 2008 3:30 pm

    #4 is wrong, rss readers doesn’t support classes from a stylesheet. The solution in the original source you referred is not about adding an additional class but it is about putting your images in a standalone paragraph apart from your text.

    0
  25. 25

    Camilo Oliveira

    December 2nd, 2008 5:50 pm

    Very useful information.
    Thanks for this post.

    0
  26. 26

    Joe G.

    December 2nd, 2008 7:10 pm

    freakin sweet…this is why I love this website…wish you guys went to a physical magazine too.

    0
  27. 27

    www.Klikr.net

    December 2nd, 2008 9:35 pm

    Great reference for tweaking RSS!

    As for #7, could I just enter this code:

    into “widgets” and display it on the sidebar. I tried but it shows nothing.

    0
  28. 28

    Ryan

    December 2nd, 2008 10:11 pm

    This is a great post, thanks so much.

    0
  29. 29

    kristarella

    December 2nd, 2008 10:21 pm

    Good stuff.

    I agree with Winnie about #4 though. All you need to do is hit enter a second time after the image; it will have its own paragraph and look better in WordPress and the feed reader.

    0
  30. 30

    Lenin Nair

    December 2nd, 2008 10:49 pm

    Have any idea about how to postpone RSS syndication for Blogger platform? The hack shown works only for the self hosted ones.

    0
  31. 31

    Yogi George

    December 2nd, 2008 11:28 pm

    great thanks a lot man, keep rocking ;)

    0
  32. 32

    Kenny | funky house podcast

    December 2nd, 2008 11:48 pm

    This stuff is gold.

    I host a podcast, and wanted to add images but was worried about formatting in the many rss feeders. Thanks for this!!

    0
  33. 33

    Chris

    December 2nd, 2008 11:51 pm

    The missing piece in the WordPress puzzle! I’ve been looking for this for months! Thank you Smashing Magazine. I feel I’ve got a good clear picture of WordPress now.

    0
  34. 34

    Ari Herzog

    December 3rd, 2008 1:22 am

    Echoing LGR (#14 above), I currently do much of the above with plugins.

    If a plugin is not available, hack away. But if you need to upgrade, or if something goes haywire and you forgot to backup, there goes your work while plugins keep things at bay.

    0
  35. 35

    Spence

    December 3rd, 2008 1:38 am

    Number 7 is bloody inspired!

    0
  36. 36

    Frank

    December 3rd, 2008 2:52 am

    Thanks for link my ideas on WPEngineer.com

    0
  37. 37

    gonkyhead

    December 3rd, 2008 3:24 am

    Point 9 about having multiple categories as feeds is great – unless you’re using feedburner for the main website feed.

    How can you have feedburner keep track of multiple feeds, but conglomerate all the feed stats by main web url? So that for each feed subscriber (from different categories) are counted as a subscriber to a feed from my website?

    0
  38. 38

    erichansa

    December 3rd, 2008 3:42 am

    Some cool tips. Thanks.

    0
  39. 39

    jackman

    December 3rd, 2008 3:49 am

    Goooood 4 our info…@##$%^$

    0
  40. 40

    Thomas Scholz

    December 3rd, 2008 4:44 am

    Helpful article, thanks! Just one note: Never use » or « as arrows. These characters are quotation marks.

    0
  41. 41

    Julien Coquet

    December 3rd, 2008 5:30 am

    I’m surprised no one mentioned tagging the links from the feed to the post itself, using tracking parameters.The example below goes for Google Analytics but it can obviously be adapted to other web analytics mechanisms.Look in your wp-includes/feed-rss.php and replace code for the <link> tag:

    <link><?php the_permalink_rss() ?>?utm_source=blog&utm_medium=rss&utm_content=<?php rawurlencode(the_title_rss()) ?></link>

    Hope that helped!Julien Coquet
    Analytics Country Manager – OX2/LBi
    Visit our blog at http://webanalytics.ox2.eu

    0
  42. 42

    D-pan

    December 3rd, 2008 5:47 am

    gOOD ….

    0
  43. 43

    Stormy Seas Photography

    December 3rd, 2008 8:48 am

    This is an excellent post

    0
  44. 44

    Stormy Seas Photography

    December 3rd, 2008 8:49 am

    This is an excellent post

    http://www.stormyseasphotography.com

    0
  45. 45

    clifgriffin

    December 3rd, 2008 10:03 am

    I posted this yesterday, but I think I did something wrong. I turned the 10th tip into a wordpress plugin. (no reason not to) http://clifgriffin.com/2008/12/02/disable-rss-plugin-for-wordpress/

    I may turn some of these other tips into plugins as well…the ones that most simply translate.

    0
  46. 46

    Laura

    December 3rd, 2008 12:07 pm

    That’s amazing, it’s like you read my mind this morning as I was ferventing googling ‘RSS exclude categories WordPress.’ Smashing Magazine is getting back on top form!

    0
  47. 47

    Jhay

    December 3rd, 2008 12:22 pm

    Great article! Thanks for sharing

    0
  48. 48

    Jonathon

    December 3rd, 2008 12:59 pm

    Great Article, very informative! I guess I would be considered a newbie blogger and don’t understand most of what you wrote, but it sounds cool if I could understand it like that! Here is the address to my blog (which I hate with a passion!)

    blog.jonathonhewitt.com

    Just looking for a pointer or two or a place to start learning this stuff. Thanks so much! You can email me at email@jonathonhewitt.com

    0
  49. 49

    Marcio Rocon

    December 3rd, 2008 4:22 pm

    Maravilha!
    Precisava de uma informação como esta para dar aquela melhorada em meus feeds.

    0
  50. 50

    Blog for Beginners

    December 3rd, 2008 7:18 pm

    Hey Jean

    As usual no brings to the table the best WordPress codes better than you – at least you are high in my list whom to turn to for any WordPress related tips and tricks. You rocks, buddy!

    Yan

    0
  51. 51

    redwall_hp

    December 3rd, 2008 9:01 pm

    Excellent post. The first code snippet is really cool.

    0
  52. 52

    kReEsTaL

    December 4th, 2008 9:14 am

    Excellent article, thank you! :)

    0
  53. 53

    Jean-Baptiste Jung

    December 4th, 2008 9:55 pm

    Thanks for your comments and support! Glad you to see this article was useful to you =^o^=

    0
  54. 54

    Dainis Graveris

    December 5th, 2008 5:18 pm

    very useful tips – didn’t even thought about these for example, how to control RSS posts.

    0
  55. 55

    Greg

    December 6th, 2008 5:04 am

    The hack to add adds to rss feeds seem to work when viewing the feed using firefox but when viewing the feed using IE the adds do not show.

    0
  56. 56

    justin

    December 6th, 2008 2:12 pm

    Fantastic post, one of the better ones I’ve seen here. Bookmarking this for sure. Thank you!

    0
  57. 57

    web

    December 7th, 2008 10:01 am

    I’m just here for moral support.

    0
  58. 58

    Chelsea

    December 9th, 2008 11:04 am

    The RSS feed reader in WP tip was a godsend. You rock.

    0
  59. 59

    UncleZeiv

    December 9th, 2008 1:51 pm

    Very interesting article. I have a related question that maybe can be addressed here: the widget displaying the comments to my blog show all the comments, even those posted to attachments. And that’s exactly the behaviour I would like to have from my “comments feed”, which unfortunately ignores my attachments comments completely.

    Any hints on how to solve this?

    0
  60. 60

    Heidi

    December 9th, 2008 3:04 pm

    Thanks for the knowledge!

    0
  61. 61

    deuts

    December 9th, 2008 6:09 pm

    what about if I want to include a feed from another blog within the feed of my primary blog?

    0
  62. 62

    Tshering

    December 9th, 2008 7:22 pm

    Nice tips! thanks!

    0
  63. 63

    Maxim

    December 9th, 2008 8:58 pm

    It would help if you also provided links to plugins that do these hacks – a cleaner way to make these chages work. Rather then messing around with PHP code, one could disable or enable the corresponding plugin.

    0
  64. 64

    Pierre Far

    December 10th, 2008 9:09 am

    This is a sneaky line of code:
    $content = $content.'Have you visited WpRecipes today?';
    If everyone follows the code as is, wprecipies.com will get a free advert from every single RSS feed that gets modified.

    A note to suggest changing this code is in order…

    Pierre

    0
  65. 65

    Paris Vega

    December 10th, 2008 9:17 am

    really helpful

    0
  66. 66

    Bruno

    December 10th, 2008 12:59 pm

    Thanks!

    0
  67. 67

    LeeGang

    December 10th, 2008 5:14 pm

    Rss will be perfect.

    0
  68. 68

    johno

    December 12th, 2008 3:36 am

    Some incredibly useful tips. some of which I’m off to implement. Thanks, SM.

    0
  69. 69

    johno

    December 12th, 2008 7:34 am

    Re the “List RSS Feeds by Category”: is it possible to have RSS feeds for tags too?

    0
  70. 70

    p@r@noid

    December 24th, 2008 12:40 am

    Very useful information.
    Thanks for this post.

    0
  71. 71

    Wonkie cartoons

    January 2nd, 2009 4:24 am

    Excellent tips.. thanks! A question on feeds by categories (your tip 8) – is it possible to migrate feed subscribers currently subscibing to all categories (through feedburner) to receive updates on only 1 category from this point on? (I will be adding new categories that are very region specific so don’t want to bore my existing subscribers with the content of the new categories I’ll be creating).. thanks

    0
  72. 72

    Josh

    January 11th, 2009 6:19 am

    First of all congratulation for such a great site. I learned a lot reading here today. I will make sure i visit this site more often so I can learn more.

    0
  73. 73

    subi

    January 18th, 2009 9:26 am

    How to control the rss feed content. I do not want to show any content on rss. I just want to show the title and the link back to the post. how to do that ?

    0
  74. 74

    pixeltunes

    January 22nd, 2009 6:46 am

    Great Articles, huu :-)

    But what kind of Code generator (this who shows the code-screenshots) is this? I’m looking for a tool like this?

    What is the name of it??

    Thanks a lot

    0
  75. 75

    fotozine

    February 1st, 2009 6:20 am

    Helpfull tips, very thanks.

    For second tip, I’m using FeedBurner FeedSmith plugin which looks to me more easy and safe.

    fotozine

    0
  76. 76

    saurabh shah

    February 4th, 2009 3:26 am

    Great Articles and very helpul too…. thnks for sharing…

    0
  77. 77

    pravin

    February 22nd, 2009 8:54 pm

    marvelous article

    0
  78. 78

    Hikari

    February 24th, 2009 9:18 pm

    GREAT tips!

    I was searching for a way to offer RSS feed for specific categories :D

    0
  79. 79

    Hikari

    February 24th, 2009 9:18 pm

    GREAT tips!

    I was searching for a way to offer RSS feeds for specific categories :D

    0
  80. 80

    Dennis Miedema

    March 7th, 2009 7:30 am

    Although the info seems on-point, I’m a total noob when it comes to WordPress (I do know how to edit lots of HTML and code though).

    So I have a question I would like to invite you (or others reading this) to answer: how can I submit my WordPress blog to several RSS Feed Sites? So sites that contain collections of feeds?

    Because none of them work with my WordPress blog and I do not know in WHICH file I can edit the code to get a category-specific RSS feed going. So in short: which file will I need to edit with /feed attached to the code, and how can I edit WordPress code (is that possible with Dreamweaver for example?)

    Any help is much appreciated.

    Kindest regards,

    Dennis

    0
  81. 81

    tony Mac

    March 30th, 2009 8:32 pm

    My WordPress doesn’t separate its categories out into folders , so the #8 tip of using the “/feed” to get a feed doesn’t work. Is there any workaround for this, or a setting I’ve missed? I’m going to use it as a news feed and random bits section on my site.

    0
  82. 82

    thejodi

    April 6th, 2009 7:21 pm

    thanks – exactly what I needed. a life and time saver

    0
  83. 83

    VERY HAPPY

    April 18th, 2009 7:48 pm

    this is amazing.my head is exploding. i need a break….

    thanks

    0
  84. 84

    Lisa

    April 22nd, 2009 11:53 am

    Great! Thanks – I’ve been looking at ways of including other feeds on blogs and plugins that let you do it – didn’t know there was a core function that does it for you! Excellent!

    lx

    0
  85. 85

    NIKKS ROCKSTAR

    April 22nd, 2009 8:38 pm

    thanks for providing us this site i m enjyoing with this site

    0
  86. 86

    Yasin

    May 5th, 2009 12:13 am

    Shweeeeeeeeeeeeeeeet … nice one guys, thanks :)

    0
  87. 87

    Peter Williams

    May 11th, 2009 2:51 pm

    wow

    0
  88. 88

    DemoGeek

    June 3rd, 2009 7:09 am

    Just yesterday, I revamped my home page layout to shed some more light on the “News” section which might get updated more frequently. Last night I was looking for a way to avoid those frequent news updates to get to RSS and bullet# 6 “Exclude categories from your RSS feed” sums it up clearly.

    Thank you.

    0
  89. 89

    David Peat

    June 14th, 2009 6:17 am

    Thank you for the great post really helpful.

    0
  90. 90

    jagbo

    June 17th, 2009 6:04 pm

    Looking for RSS feed that sends blog updates to email address

    0
  91. 91

    IMN

    June 29th, 2009 12:13 pm

    Great tips…

    Do you know how to show the content of inbound RSS Feeds on a page?

    Thanks,

    0
  92. 92

    V.C

    July 1st, 2009 2:25 am

    I don’t know why my feed automatically redirects to feedburner with no reason :(

    0
    • 93

      Maryna

      January 22nd, 2010 9:20 pm

      Maybe because you replaced the code in .htaccess instead of adding it?

      0
  93. 94

    Slav

    July 26th, 2009 12:34 am

    thanks for the article – compact and comprehensive!

    0
  94. 95

    sidd

    July 29th, 2009 11:36 pm

    nice and useful

    0
  95. 96

    TimothyAaron

    August 19th, 2009 7:56 am

    #10 is interesting. Looks exactly like my “Feed Disabler” plugin, which I posted 3 months before this post was written.

    Feed Disabler

    0
  96. 97

    akhalil

    January 22nd, 2010 3:23 pm

    Great post, I really need them.

    0
  97. 98

    tim

    January 26th, 2010 6:38 am

    great post

    0
  98. 99

    Lubaka

    February 2nd, 2010 9:02 am

    I have installed the rss disable mod but i still see the error on dashboard:

    A feed could not be found at…

    Rss is boring and i don`t need it anyway, so how do i remove the stupid error …

    mail me at sonoftruth@abv.bg pls

    0
  99. 100

    abhi

    February 11th, 2010 10:46 pm

    Thanks Bro.

    it’s really helpfull.

    Thanks

    0
  100. 101

    Alex

    February 14th, 2010 2:40 am

    Hi there, great tips!

    Could i beg of you a solution to inlcude my pages in the RSS feed as opposed to post. I do not make use of posts on my blog because i can’t find a way to order them propperly the way i want them. The RSS feed created, however does not display any pages at all :( Hope you can help. Kind regards.

    0
  101. 102

    Sharif Dyson

    February 24th, 2010 9:15 pm

    Real cool tutorial except I am having problems with adding the ads into my wordpress rss feeds. Help! I am @ olsayings.com

    0
  102. 103

    Katie

    March 1st, 2010 11:03 pm

    What if you have a create a newsletter where you are supposed to have first article from Category 1 and 4 articles from category 2. Is it possible via hack. I am using Mailchimp and Yahoo pipes but none can sort as we are not publishing category name in rss. How to publish category name in RSS ?

    0
  103. 104

    Chase

    April 20th, 2010 10:20 am

    Here is a great plugin for anything related to RSS on WordPress: http://www.wizardrss.com

    0
  104. 105

    Elandre

    April 23rd, 2010 8:12 pm

    Great tips! I do have one question if someone out there can maybe help me.

    How do I stop people from syndicating my blog? Without having to remove RSS completely.

    0
  105. 106

    phil

    May 5th, 2010 11:47 pm

    Hi

    Does anyone know how to tell WordPress to publish the RSS feed (I moved from Blogger) to the RSS.xml file instead of it’s own made up /feed/ directory which isn’t actually a XML file

    thanks for your help guys

    0
  106. 107

    NetVenture

    May 27th, 2010 7:21 am

    Very useful post for me. In fact we are in to WordPress customization.

    0
  107. 108

    Nestor Pabon

    June 4th, 2010 10:38 am

    Hi Jean;

    Man, I’ve found your article quite helpful, so much so, that I told all my readers about it in my blog NestorPabon.com.

    One other useful tip is to put your article’s keyword and anchor text in the opening paragraph. That way once your article gets syndicated you will get linkjuice to your sites’ post.

    I also like to use Yet Another Related Posts Plugin because it allows me to also syndicate related posts thus giving me more backlinks.

    Again, thank you for the great article.

    0
  108. 109

    John Miles

    June 25th, 2010 12:24 am

    Great snippets of code and always useful to come across this sort of thing. I’m looking for a similar feed setup that will allow me to place 4 or 5 different feeds on a page from different organisations and have then each display in a scroller. anyone have any ideas how to do this?
    You gotta love WordPress.

    0
  109. 110

    Zerovic

    June 25th, 2010 2:56 pm

    thank you sir! brilliant post!

    0
  110. 111

    pabile

    July 3rd, 2010 11:59 pm

    thank you!

    0
  111. 112

    Sigi Disig

    July 25th, 2010 5:14 pm

    thank you, from me too!

    0
  112. 113

    Stockport Web Design

    August 3rd, 2010 6:56 am

    Regarding number 8 above…

    I don’t get images in the feed when I apply this category feed, but I do in the main one.

    Any ideas?

    0
    • 114

      Stockport Web Design

      August 4th, 2010 2:29 am

      never mind – sorted it.

      just need to figure out now how to use full size images in the feed… =/

      0
  113. 115

    newthinktank

    August 7th, 2010 2:57 pm

    Here is some code you can use to pull feed listings from anywhere. The positive benefit is that this short code can be styled and moved around in your WordPress post.

    You use the same short code rss feed=”http://rss.news.yahoo.com/rss/entertainment” num=”5″]

    But instead place the following code in functions.php

    //This code is needed to use the wp_rss() function.
    include_once(ABSPATH.WPINC.’/rss.php’);
    function readRss($atts) {
    ob_start();
    extract(shortcode_atts(array(
    “feed” => ‘http://’,
    “num” => ’1′,
    ), $atts));
    wp_rss($feed, $num);
    $output_string=ob_get_contents();
    ob_end_clean();
    return $output_string;
    }
    add_shortcode(‘rss’, ‘readRss’);

    Hope that helps

    0
  114. 116

    Singing Lessons

    August 12th, 2010 9:43 am

    I love this info. It’s great and very well layed out. I will use soem of the tips on my Learn to Sing site. Thanks again

    For more tips on Learning to Sing and Singing Lessons download vocalwarmup.co.uk’s FREE eBook “90 Days To Be A Better Singer” and join our Newsletter.

    0
  115. 117

    tim

    August 18th, 2010 1:37 am

    thanks, very helpfull!

    0
  116. 118

    Kiran

    September 8th, 2010 12:34 pm

    Great list…

    Quick question- Can we show the RSS feed with the title of the post in the aggregator (like google reader or feed burner) but disable the link to the actual post. So, we basically want to show the results of the feed as a list of items with out any links to the actual posts.

    ~Kiran

    0
  117. 119

    gonzalo

    September 9th, 2010 3:03 pm

    Very nice , but,…

    i have many blogs ,.. 4 o 5 wordpress and i want to translate all these blogs to post on the main blog ,…

    how can i take the rss and create daily post from this rss ?

    0
  118. 120

    Marco

    September 27th, 2010 11:39 pm

    wow. very usefull! I will use your tricks for my web site. Thanks a lot for the help!!

    0
  119. 121

    fullziphoody

    September 28th, 2010 4:22 pm

    i like the picture at number 4 in the tutorial :)) the doggies, awww so cute :) sorry for the offtopic.

    0
  120. 122

    Adikara Putra

    October 17th, 2010 9:23 pm

    Thank you for the useful tips…

    0
  121. 123

    Vanniyan Tamil

    October 29th, 2010 6:53 pm

    thank you for great info.
    This is really very useful for wordpress user.

    0
  122. 124

    Buzzknow

    November 17th, 2010 10:11 am
    0
  123. 125

    Patrick

    November 18th, 2010 9:46 am

    Per “5. Provide Your Readers with a Feed for Each Post”

    Is there a way to crate an RSS feed for individual posts, rather than just the comments?

    Our posts are updated often and we want to enable our users to subscribe to specific posts alone.

    0
  124. 126

    redlex

    November 24th, 2010 12:16 am

    rmalinks wAfter following this tutorial, I couldn’t get a couple of things to work. The permalinks will not work with the register_post_type() and arrays outlined in a function; I simply removed this and peorked fine

    0
  125. 127

    Pali Madra

    December 11th, 2010 4:35 am

    One of those posts that is very helpful and every WordPress user should have in their bookmarks.

    0
  126. 128

    Reklam Ajansı

    December 23rd, 2010 7:53 pm

    Very useful information.
    Thanks for this post.

    Reklam Ajansı

    0
  127. 129

    Waqas Ali

    January 18th, 2011 6:48 am

    Thanks a lot for sharing this information!
    Keep it up

    0
  128. 130

    zeitweise

    January 22nd, 2011 1:14 am

    Hi,

    thank you very much for the insight!

    I have been searching to finde a way to hide the author’s name from the feed. Does anybody know where I would need to insert what kind of function. Or is there a standard template where I could simply delete that field?

    0
  129. 131

    Anz

    January 30th, 2011 11:27 pm

    How can I create a RSS which has all the pages in my blog.. am not looking to include pages into normal blog post RSS but a seperate feed which shows only pages.. Thanks

    0
  130. 132

    Mali

    February 10th, 2011 9:50 pm

    RSS is a better tool for business owners and these tips will be really helpful for them.These tips will also be useful for people who are introducing the new websites as news websites make good use of RSS feeds to draw in customers.
    mlmleadsystempro

    0
  131. 133

    prashant

    February 28th, 2011 9:01 am

    great article i like it. It will help a lot to many peoples who are interested in wordpress rss.

    0
  132. 134

    Huzefa Muhammad

    March 7th, 2011 2:58 am

    great post. point number 7 that is displaying any rss feed on your blog, does it mean that you can add the content of any other blog on your site??? it this thing similar to the wp-robot????

    0
  133. 135

    Scott

    March 7th, 2011 10:01 pm

    Thanks for the post – I have looked a lot of places for some simple information about RSS. This post was excellent.

    0
  134. 136

    Stef

    March 17th, 2011 5:37 pm

    Best list of hacks ever! Thank you

    0
  135. 137

    Paul Salmon

    April 19th, 2011 5:41 am

    This is a great post. I never new that you can manage the feeds in this way.

    0
  136. 138

    Mike Dillard

    May 13th, 2011 11:45 pm

    I really like the post and I am looking for some material on the RSS feed.This post is quite handy in enhancing my knowledge.
    Expecting some more good ones in near future…
    Mike Dillard

    0
  137. 139

    Bilal Siddiq

    May 29th, 2011 1:24 pm

    Great article, I was looking for separate RSS feeds for all categories on my blog and I am going to try the hack explained in this article. Hope that works :)

    0
  138. 140

    Mark

    August 28th, 2011 4:07 am

    Great. Thank you!

    0
  139. 141

    omarxp

    September 27th, 2011 12:09 am

    cool, very helpful for me.

    0

Leave a Comment

Yay! You've decided to leave a comment. That's fantastic! Please keep in mind that comments are moderated and rel="nofollow" is in use. So, please do not use a spammy keyword or a domain as your name, or it will be deleted. Let's have a personal and meaningful conversation instead. Thanks for dropping by!

↑ Back to top