Exploring The Internet

Exploring the web – Growing my online experience




Monetize Your Blog With a RSS Plugin?

January 18th, 2009 · No Comments · Blogging Tools, How to, WordPress Plugins, WordPress Tips



I recently found a very useful RSS plugin that will allow you to monetize your blog with it. It will permit you to place RSS feeds below each of your articles. With it you can now promote eBay’s products, ClickBank products, and any other affiliate products that allow you to generate RSS feeds with. I am so excited that I want to share this great plugin with you.

This simple RSS plugin is called FirstRSS. Download it from its owner’s website. Did I mention that it is Free? After that unzip that file and upload it to your blog’s directory like this: /public_html/wp-content/plugins/. (assuming that you are using self-hosted WordPress blog too).

One drawback that I found out so far is you can only be allowed to show its default feeds which is 10. I don’t know about you but I think 10 feeds for an article is too many. I want to show less than 5 feeds or at most 5 feeds. Here is the solution for that:

  • Log in to your WordPress admin erea.
  • Click on Plugins/FirstRSS/Edit.
  • Before you attempt to make any changes, make sure you save a copy of it.
  • Find the following codes in firstRSS.php:

    foreach($rss->items as $item) {
    $title = $item[title];
    $link = htmlentities($item[link]);
    $desc = $item[description];
    if ($title != '') $disp .= "\t<b><a href='$link'>$title</a></b>\n<br />";
    if ($desc != '') $disp .= "\t$desc\n<br />";
    }

  • And replace them with the codes below:

    $i=0;
    foreach($rss->items as $item) {
    if($i < 5) {
    $title = $item[title];
    $link = htmlentities($item[link]);
    $desc = $item[description];
    if ($title != '') $disp .= "\t<b><a href='$link'>$title</a></b>\n<br />";
    if ($desc != '') $disp .= "\t$desc\n<br />";
    }
    $i++;
    }

This will allow you to control how many RSS feeds you’ve preferred. I like to display [rsspara:URL] instead of [rsslist:URL] below my post because [rsspara:URL] will allow me to show not only links but images and descriptions of the products as well. Make sure you get a RSS url from any affiliate site you’ve participated and replace the URL with the feed’s url that you’ve got. If you’ve done it right, you will see an example just like the one below.

Another drawback is that it shows what category and keywords with a logo in its feeds. I don’t like that. I am still searching an answer for it. I’ll keep you posted once I find the solution.

Update: The solution for the above question is shown below. You need to find the following three $disp code lines and comment them out. Make sure you save the file:

$disp .= "\t<a href='$link'><img src='$url' alt='$title' /></a><br />\n";
$disp .= "\t<big><a href='$link'>$title</a></big><br />\n";
$disp .= "\n\t<br />\n";

Now go ahead and test it out. Does it work? Mine is working. See the example below.

Google Blogger For Small Businesses In 30 Minutes: How to create a basic website

$21.49
End Date: Friday Sep-22-2017 4:38:01 PDT
Buy It Now for only: $21.49
Buy It Now | Add to watch list

WordPress For Dummies For Dummies Computers
$3.80
End Date: Tuesday Sep-26-2017 9:04:21 PDT
Buy It Now for only: $3.80
Buy It Now | Add to watch list

Updated as of 2/19/10: For some reason the website of firstRSS plugin is no longer available.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • NewsVine
  • Reddit
  • StumbleUpon
  • Google Bookmarks
  • Yahoo! Buzz
  • Twitter
  • Technorati
  • Live
  • LinkedIn
  • MySpace

Tags: ····

No Comments so far ↓

There are no comments yet...Be the first to voice your opinion by filling out the form below.

Leave a Comment

Your e-mail address will not be published. Required fields are marked *

Comment moderation is in use. Please do not submit your comment twice.

*






Custom Search