Version: 1.91(updated on 25 April 2008)
Comments are a wonderful thing to receive on your blog, adding the dofollow plugin is one way to reward but why not place a link to their last post under their comment, with CommentLuv, you can do that automatically! This is an excellent way to promote comments from your readers.
example:

Test it for your blog here, enter your blog URL in the box and click the grey box. After a few seconds (as long as you have a feed) it should display the title to your last post in the pink box.
Last post will be displayed here after a few seconds
The CommentLuv Wordpress Plugin will visit the feed of the comment author and attempt to scrape the last post they made and display it under their comment, this way you can encourage people to join in the discussion of your posts and give something back straight away.
The plugin looks for a feed in the default location of your blog, for Wordpress users this will be /feed/ or /?feed=rss, blogspot users get /feeds/posts/default, web-log blogs are now included thanks to Edward De Leau. If it can't find a feed there then it will search your <head> part of your website for an alternate link (<link rel="alternate") and use that instead.
The plugin retrieves your last post at the time of the comment being posted and appends the extra text just before the comment gets saved to the database, this way it doesn't put any extra load on the database or server other than the effort required add another 60 or so characters to the comment content.
Note:The plugin starts to add peoples last post AFTER it has been installed. Comments that were made before the plugin was installed will not show the authors last post. You can test it yourself by logging out of Wordpress and adding a comment to one of your posts but, use a different URL for the website of the author (you can use http://www.fiddyp.co.uk if you like!)
Instructions:
- Download
- unzip
- upload php file to plugins directory
- Activate
what? you was expecting something complex?
In some cases, it may not show a link to the commenters last post because it couldn't find a feed in the default location and your hosting doesn't support parsing with Curl (a php command). If you notice one of your readers comments not having their last blog post shown, come here and put their blog URL in the testing box above. If it works here but not at your blog, it's probably because your hosting doesn't allow Curl.

Click to download CommentLuv
*** For maximum exposure and benefit when commenting on CommentLuv enabled posts, read this excellent post about turning off Feedburner redirects
Once you've downloaded and installed your CommentLuv plugin, tell every visitor you pass on the luv with this badge

You can use this code:
HTML:
-
<a href='http://www.fiddyp.co.uk/commentluv-wordpress-plugin/'><img src="http://www.fiddyp.co.uk/internal/images/commentluvhere.gif" alt="commentluv here" /></a>
The plugin contains a command to increase the timeout for parsing your feed to 5 seconds, if you are finding that it isn't parsing some peoples feeds on your blog it is probably because the timeout value of 5 seconds isn't long enough. You can add the following line to your config.php file to extend the timeout period.
PHP:
-
define('MAGPIE_FETCH_TIME_OUT',
7);
You can change the value of 7 to whatever you want. It will allow that amount of time for each url it tries to find the feed. (be aware that each try will take that amount of time and there can be up to 5 tries to find the feed)
As of version 0.98, the comment author can specify their feed by putting their feed url in between [feed] and [/feed] at the end of their comment.
Also, a comment author can make the plugin display debug information by including [debugon] anywhere in their comment and the plugin will display a breadcrumb of all the things it tries to parse the feed at the author URL.
I've tried to put in as many comments as possible so you can follow how the plugin works, if you make any changes please let me know and if they're better than the original, I can put them in and credit you with the changes. If you're a Pro PHP coder, please be aware that I haven't had any PHP training, just the usual "take apart other peoples code and learn from it" education so be gentle with your (constructive) criticism!
Popularity: 3% [?]