Blog Entry

RSS Subscriber 0.1 Beta

Back in May, I wrote a post announcing the addition of my Subscriptions page and my new WordPress plug-in, but the post received no response and no further discussion. Well, partially it was my fault, since I did not devote too much effort to spread out the news in the WordPress community. Since then, the plug-in was pretty much buried, I had very little intention to release it. It was purely for my personal use. However, about 4 days ago, a story appeared on Digg which caught my attention, Easy, Elegant News Feeds with lastRSS. The story received over 20 comments and over 500 digs, so it looked to me that there is a lot of interest for something of this sort. Therefore, I decided it is time to release this plug-in that I wrote nearly 5 months ago.

Before I go on to explain this plug-in, please remember that the plug-in is in version 0.1 beta, which means in plain English it is not very well written, not polished and most likely contains bugs. One thing that I am certain of is that it has been running on my own blog for 5 months without any major issue. Now, let’s move on to RSS Subscriber 0.1 Beta.

The idea of this plug-in is simple: using PHP RSS reader, lastRSS, to retrieve other blogs’ recent entry information. Currently, the plug-in only retrieves the title and the date. Initially, I intended to write an option page for this plug-in, where users can set various settings of this plug-in, but I got lazy and I guess someone else can write it, or just put up with the current configuration method.

Installation

When you unzip the downloaded file, you will see two files in the folder RSS_Subscriber: lastRSS.php and RSS_Subscriber.php. Please do not modify anything in lastRSS.php; personal configuration is done in RSS_Subscriber.php. Next, create a link category on your blog, for me I created a link category named Subscriptions. Now, you can add links of blogs that you want RSS_Subscriber to read from. When you add links, be sure to add the RSS URI of the blog in the Advanced section. Without this URI, RSS_Subscriber won’t work.

RSS URI Field

Now, open RSS_Subscriber.php with any text editor and find the function RSS_Subscriber, change the $link_cat to the id of your newly added link category. Of course, you can also modify the time and the item number.

Code Segment

After these modification and setup, you can upload the entire RSS_Subscriber folder in your WordPress plugin folder. After you uploaded the folder, create a sub-folder inside RSS_Subscriber folder, name it cache and set the permission of this folder to 777. lastRSS uses this folder to store cache files. Now, you can activate the plug-in.

Usage

I think this part is totally up to you. I use this plug-in in a static page. Wherever you decide to use it, just add the following code: rss_subscriber().

Download

You are still here!? Wow, so you really want to try this plug-in. Well, I am flattered. You can download RSS Subscriber 0.1 Beta and try it on your blog. Let me know how it goes by leaving me with your comment, enjoy!

Readers' Comments

Make a noise, be the first one to leave a comment!

Leave a Comment

Be respectful and courteous to each other, be relevant with your comment. Offensive comments will be removed!

Allowed XHTML Tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>