CommentLuv gets more muscle


CommentLuv Muscle

I’ve started the update journey on CommentLuv and it can now parse almost any URL I throw at it!

I’ve also updated the findfeed function so it can parse a users page for a feed link in the <head> section of their page and that’s working much better now.

I am considering adding a new bit that will try and manually find a last post from parsing the source of the users page and looking for something like <div class=”post” or <div class=”entry to grab the last title and link, I’m not sure if it’s worth it though because for long loading pages, it could add too many extra seconds on the function which isn’t the best thing to do unless it happens a lot.

I have visited a few blogs that are using CommentLuv and copied all the URL’s of the users that didn’t have their last blog shown and tried it on the new version running here and it got every single one except for the rare occasion of someone having an extra bit on the end of their feedburner url :-(

like feedburner redirects that go to a url like

for some reason, the internal fetch_rss function of WordPress can’t parse a feed from feedburner that has an extra bit on the end of the username. I have tried using the Magpie functions instead of WP and that will do it but WP isn’t playing ball with these type of feedburner feed urls. A standard one will work just dandily, I’m waiting for someone to enlighten me on the WP forums.

I might take a break from it for a while and make a QR barcode widget!

If your last post didn’t show before on here then give it a go now and see if it can! (sorry Miss Mira, it still wont parse yours!)

You can download the latest version here: CommentLuv WordPress Plugin


0 Comments zu “CommentLuv gets more muscle”

  1. Lalla Mira
    12.10.07 4:40 pm

    I wants CL to work for me! :( I gets mad!

    Although I am such a newbie, I’ll go check my feeds again, let’s hope I get it fixed without the ugly bit at the end.


  2. Plug In Update: Comment Luv Plug In Gets More Muscle!
    12.10.07 4:43 pm

    [...] Andy Bailey dropped by to let me know that he had updated the plug in. You can read about it on his post titled CommentLuv Gets More Muscle. [...]


  3. Andy Bailey
    12.10.07 5:49 pm

    oh poor Miss Mira!
    the old commentluv used to be able to parse your feed but that was when it used things like file and fopen which aren’t supported on the majority of blogs.

    I’m waiting for an answer about why the internal fetch_rss function is having problems with funny feedburner url’s . I think for the next version upgrade there will be an options page where the user can specify how hard CL has to look for the feed, even going so far as parsing the authors page itself if it can’t do the feed…

    for next week perhaps? :-)


  4. Bobby Revell
    12.10.07 5:52 pm

    Thanks for the heads up! I’ll be sure to change my post’s link to download the new version:)

    Bobby Revell’s last blog post..Ethical Theories of Social Networking


  5. AntiBarbie
    12.10.07 8:48 pm

    Thanks for all the hard work Andy!

    AntiBarbie’s last blog post..QotW – What are your favorite songs?


    12.10.07 10:18 pm

    Excellent job Andy. Thanks for all your efforts. I am happy with the plug in and think most of my commenters appreciate it too.

    CHESSNOID’s last blog post..Big Banks results, housing foreclosures, + stock market update 10-11-07


  7. Andy Bailey
    13.10.07 11:14 am

    bobby, antiB and Chessnoid: thanks so much for giving commentluv a try, I’m really pleased it is doing its job well for you, I’ve clicked through to some really interesting posts from your readers comments.


  8. Opal Tribble/Vegan M
    13.10.07 2:39 pm

    Thanks for the plug in. Those that were having a problem with it before the udpate are now “up & running”. Thanks again!

    Opal Tribble/Vegan M’s last blog post..Photo Hunt: Smelly


  9. pelf
    13.10.07 4:14 pm

    Do we need to update our current versions?

    pelf’s last blog post..Photo Hunt: Smelly


  10. Andy Bailey
    13.10.07 4:20 pm

    the latest version is much better at finding peoples feeds now, sorry about all the updates! this should be the last one for a while until I get my head around adding an options page to the wp dashboard..

    it’s worth updating to this latest one (0.96) because it can handle things a lot more smoothly.


  11. Sharon
    13.10.07 9:15 pm

    I just downloaded the latest and it is working like a charm…. Of Course Lalla Mira, has not been by yet, so I’ll have to check to see if she is parsing also.

    Thanks Andy!

    Sharon’s last blog post..What?s Making us Fatter?


  12. Lalla Mira
    14.10.07 12:53 am

    @Andy: Anytime you get to solve my mystery, come and save me! :D


  13. Diana13
    14.10.07 8:18 am

    I use also commentluv, I saw that you visit my blog (thanks). I saw also that some last entry didn’t show. I thought that there is anything to do with that timeout, so I’ve increased it. But still… So I download now the latest version of commentluv, will see if problem was solved :)

    Diana13′s last blog post..Ad revenue sharing forums


  14. Andy Bailey
    14.10.07 9:31 am

    sharon+mira: it is a strange thing why it isn’t collecting lalla-mira’s feed, I am pretty sure it’s something to do with the extra bits on the url.

    this new version can have the feed manually entered onto the end of the message by enclosing it in [ feed] [ /feed] tags (no space after first bracket). I tried it with mira’s feedburner url and it still wouldn’t do it. I can’t imagine why!

    Diana: I will keep a close eye on your blog to see which people don’t get their last post shown and collect their urls to test them again with the new version, thanks for letting me know


  15. Sharon
    14.10.07 4:44 pm

    Something definitely very strange is happening with Lalla Mira’s feed. I also ran through through another plugin that WordPress automatically provides – RSS Feed Widget – and it is also having problems reading it.

    I also noticed she is using an older version of wordpress. Can that be it?

    Sharon’s last blog post..The Money Guy


  16. Andy Bailey
    14.10.07 4:58 pm

    it might just be your server caching the old lalla-mira feed. give it a day or two and I’m sure it’ll start picking it up as long as you have version 0.96 of CL running..


  17. Sharon
    15.10.07 5:23 am

    Andy, I do have version .96 running. I’ll check again to see if Lalla Mira is parsing.

    I am going to be using the plugin with my other sites also.

    Thanks again Andy!

    Sharon’s last blog post..The Money Guy


  18. Andy Bailey
    15.10.07 11:36 am

    Sharon: thanks for being pioneer tester for CL, you really helped improve it (and get others using it too!)


  19. Michael
    16.10.07 12:51 am

    Working well on our blogs so far, I think I noticed one reader whose last post didn’t show up.

    Michael’s last blog post..Funny video an ear on forearm and Gollum


  20. Sharon
    16.10.07 2:50 am

    A big yey!

    But, it was only a matter of time…..

    Sharon’s last blog post..The Money Guy


  21. Andy Bailey
    16.10.07 11:11 am

    @michael: thanks for giving it a try! I try and browse through peoples blogs that are using it and see if I can spot any that don’t get the last post shown and copy their url so I can test it on the next version. before the last update, I had a list of 20 to test and now after the update, I have only got 1 to test so it must be working much better.

    @sharon: :-) :-) :-)


  22. Sue
    16.10.07 7:49 pm

    Andy, I submitted it to Weblog Tools Collections, and they picked it up for 16 October. Hopefully that will get you more exposure over the WP plugin database, since they appear in the WP dashboard. :D

    Sue’s last blog post..The Little Pink Lighthouse


  23. Andy Bailey
    16.10.07 10:24 pm

    ahhh so thats why there were plenty of hits coming in today!?
    thanks a lot Sue!


  24. Diana13
    19.10.07 5:02 pm

    Hi Andy. Please take a look to this commenter. Her last entry didn’t show up.

    Diana13′s last blog post..Ad revenue sharing forums


  25. Diana13
    19.10.07 5:03 pm

    And my last post isn’t Ad revenue …, it’s The five meme.

    Diana13′s last blog post..Ad revenue sharing forums


  26. Andy Bailey
    19.10.07 5:12 pm

    hi Diana,
    velveteen probably didn’t get her feed shown because she is using typepad on her own domain, the script looks for the feed in these locations if the url doesn’t have typepad or blogspot in it..
    it will then search the header for the terms “rss” and “alternate” on the same line and try to parse the feed from that. on her header that line links to a feed called
    which is probably why it is not showing her last post.

    if she changes that url to her feedburner feed then hopefully CL will be able to pick that up.

    for your other comment, if you have commented not long after you have made the post, your feed doesn’t always get updated straight away or the CL script is viewing a cached version of your feed.

    thanks for your feedback, it’ll help towards the next version!


  27. Diana13
    19.10.07 5:54 pm

    Thanks for your answer. I do comment today in other blogs that display my last entry right. Just here isn’t right :)

    Diana13′s last blog post..Ad revenue sharing forums


  28. Andy Bailey
    19.10.07 5:57 pm

    it might just be the cache for the rss then, I’ve already got that line of code ready for the next version so it reduces the time it keeps the feed cache for.

    oh, if velveteen really is desperate to get her feed to show then she can put her full feed url in between [ feed] and [ /feed] (no space after open bracket) and it will use that instead of looking for one on her page…


  29. Diana13
    19.10.07 6:16 pm

    Well, she didn’t say anything to me, I’ve just noticed that her last entry didn’t show and I rush to tell you :)

    Diana13′s last blog post..Ad revenue sharing forums


  30. Andy Bailey
    19.10.07 8:37 pm

    thanks for being so diligent!
    actually, better typepad feed finding is high on the priority list for commentluv. I think I have something that can take all the pain out of the whole parsing thing. it’s in another language though so I have to pick at it for a bit more!


  31. The FeedReader vs. the Sexy Blogroll : the SmockLady
    24.10.07 4:41 pm

    [...] activated and starts following. This is in order to cut down on human comment spam. I also use the CommentLuv plugin from Andy Bailey (I still think his title is the best: [...]


  32. bluefrogx
    07.11.07 7:39 am

    Love this plugin :) It really helps build up commentors. If you *do* need any help with this plugin, do let me know and I’ll see what I can come up with.

    bluefrogx’s last blog post..Electric Meter Hack! How To Cut Your Electricity Bill In Half!


  33. Andy Bailey
    07.11.07 11:58 am

    thanks bluefrog! I see it is working fine at your place.


  34. Suburban Oblivion
    03.12.07 8:26 pm

    Just want to test it.

    Suburban Oblivion’s last blog No Longer Allows Links to Non-Blogger Sites in Comments


  35. Andy Bailey
    03.12.07 10:12 pm

    works fine for you (as you can see! lol)


  36. Dennis Edell
    23.12.07 11:21 pm

    I am using – Version: 0.997 (updated on 18 December 2007) – and have had 1 person try it so far to no avail. I input her link into your pink box test, and it DOES work.

    Any ideas?

    Dennis Edell’s last blog post..A Quick List Maintenance Tip


  37. Andy Bailey
    23.12.07 11:41 pm

    hi Dennis, I tried a test comment and it seemed to have picked up mine ok. I suspect it was just down to a timeout issue. Sometimes your server can’t download the feed from my server(which it tries to do because it looks like your hosting doesn’t allow curl commands).

    It shouldn’t happen very often, I made a domain and separate hosting for the remote script that kicks in where people don’t have curl enabled so it should be able to handle the load.

    give it a few more tries with people and see how it goes, if you get more problems, just let me know…

    thanks for the feedback :-)


  38. Dennis Edell
    24.12.07 1:15 am

    Yours worked fine, yes. Since the updates to the plugin (not needing the curl thing), shouldn’t hers work also?

    Sorry, real confused here.

    Dennis Edell’s last blog post..A Quick List Maintenance Tip


  39. Andy Bailey
    24.12.07 9:08 am

    Dennis: which URL is not getting it’s feed parsed? a couple of comments on the post I tried have urls which lead to pages without a feed, is it one of them?


  40. Dennis Edell
    24.12.07 4:41 pm

    Sorry, I should have posted it. It’s Jen’s comment here…

    Dennis Edell’s last blog post..A Quick List Maintenance Tip


  41. Andy Bailey
    24.12.07 6:35 pm

    I’ll try another comment with her site as the url and switch on debug by putting [debugon] this comment will show what was tried to find her last post (noluv) (remove slash) (wp_norm)

    Andy Bailey’s last blog post..It?s Wii Time Serenity Sunday


  42. Andy Bailey
    24.12.07 6:37 pm

    looks like it worked, try it again on your blog and see if it picks it up.

    Andy Bailey’s last blog post..It?s Wii Time Serenity Sunday


  43. Dennis Edell
    24.12.07 6:55 pm

    You mean, have her leave another comment?

    Dennis Edell’s last blog post..A Quick List Maintenance Tip


  44. Andy Bailey
    24.12.07 9:04 pm

    yep, or leave one yourself using her url and see if it picks it up this time


  45. Dennis Edell
    25.12.07 2:49 am

    She did it again and it worked. Hopefully just a glitch that won’t happen often.

    Dennis Edell’s last blog post..A Quick List Maintenance Tip


  46. Stock Trading Software
    23.01.08 2:51 pm

    I would “LUV” if you started a d-list like directory of all the sites that use you’re plugin!

    Stock Trading Software’s last blog post..Worden Telechart Gold vs. Worden Telechart Platinum


  47. Andy Bailey
    23.01.08 3:02 pm

    That’s a great idea and something I have been working on ‘behind the scenes’
    I have noticed pings coming in to my site when someone activates the plugin so I wrote some php to keep a list of all of them, unfortunately, it records every site that activates the plugin even if they deactivate it straight away. you can see on the sidebar of the home page that it shows the last few sites that have activated the plugin. most of them still have it installed when I visit them.

    the whole list since I added the extra php is here. I will (eventually) get around to writing a script that removes duplicates and also checks to see if the site has it still installed. currently, I’m too busy to do anything other than my commercial projects at the moment so I will get right on it as soon as humanly possible!

    thanks for the suggestion, glad to know I was on the right track!


  48. roger
    31.01.08 2:00 pm

    luv commentluv but see alot of sites getting spammed because of it any plans for spam prevention?


  49. Andy Bailey
    31.01.08 6:11 pm

    roger: thanks for your comment, I think that there are plenty of antispam plugins for wordpress that do the job just nicely so I don’t think it’s necessary to re-invent the wheel when it comes to antispam. I get a lot of comments on this blog and very rarely do any get past spamkarma2.

    I would be interested in knowing which sites are experiencing spam because of the use of commentluv. Could you give me some examples?.

    Mainly, spam that happens here in comments are for sites that don’t have a feed and it makes it much easier for me to see if there is no last blog post showing for them and thus easier to deal with. I thought at first your comment was spam because of the lack of last blog post!


  50. Dennis Edell
    31.01.08 8:20 pm

    I’m still getting a BUNCH of comments with no last blog post. I’d say it works on maybe, 1 outa every 3-4 comments.

    Dennis Edell’s last blog post..Adsense: Upcoming Referrals Changes


  51. Andy Bailey
    31.01.08 9:46 pm

    Hi Dennis,
    thanks for the feedback. I had a quick look at some of your recent posts and I can see that not all comment authors have a feed at their site url.
    I thought that it might be something to do with your sites speed, I used internet supervision to check on your blog loading times and the few times that I checked showed that the majority of times your site is loading after more than 5 or 6 seconds.[here]

    if your or your commenters’ site takes longer than 5 seconds to load then the feed may also take a long time load, longer than 5 seconds will mean the rss feed parser will stumble and give up which might be one explanation.

    I checked further and read these posts:

    On the hidden nuggest post: (I have seen that post before on a previous visit!) there is only one commenter that has a feed at their address.

    on the adsense referrals page: again, only one valid url has a feed

    earn money on your 404: same again, only 1 valid url has a feed.

    sorry I couldn’t go deeper into my investigation but I am quite busy this month! it seems that the amount of comments that don’t get a last blog post shown is around 1 in 3 or 4 which would explain why you are not seeing CL working on 1 out of 3 or 4.

    I hope it is something as simple as this!
    sorry I couldn’t be of further help..


  52. roger
    02.02.08 10:49 pm

    sorry if you look for ‘internet problems egypt’ then you’ll understand why i didn’t reply sooner, I cant believe some idiot can drop an anchor and cut off Egypt from the rest of the world!!!! and i really cant beleive that the internet companies don’t have sufficient back up plan’s….

    I tried to search again for where i originally got that impression but cant find it! I remember one site that I went to from problogger that was covered in triple x spam and had commentluv installed but after that spamming she had installed something to stop it so actually i should really retract my comment that commentluv was responsible…

    at the end of the day whether we have commentuv installed or not people will always spam if they find a way through if we don’t have the right anti-spam tools in place!!

    Talking of spam have you signed up for my free WPRemix giveaway yet? :) :)

    roger’s last blog post..Maybe you didn?t get the Newsletter!


  53. Nicholas
    01.03.08 12:06 pm

    I have started using CommentLuv for slightly more than 2 weeks and I have to say I think it’s one of the more innovation plugins around. No problems whatsoever till date. Even did a post on that plugin on my personal blog: WordPress Plugins – CommentLuv – Spread the Love. I wish more bloggers used it though.

    Nicholas’s last blog post..Facebook Profit Secrets – Why All The Gurus Are Turning to Facebook


  54. Andy Bailey
    01.03.08 6:11 pm

    Nicholas » Thanks for letting me know! I am still wanting to develop this further, just as soon as I get some time!


  55. ourmonmouth
    09.04.08 8:29 pm

    This is really a fantastic plugin and have incorporated it in my site with Top Commentators to encourage comments. I did notice that my comments on others sites did not appear and have been searching for a solution. I wonder if it is the blog or the commenter. So with all due respect and honesty this is somewhat of an experiment. Thanks for a great contribution.


  56. JBO
    27.05.08 10:53 am

    Starting seeing this plugin more and more now and must say, very impressed with it. Giving your readers something back is great encouragement.

    Keep up the great work.

    JBOs last blog post..Money Off Coupon – Matrox Multi Monitor Converter


  57. Jane
    02.06.08 2:14 am

    I’ve been using CommentLuv for a couple of months, and only just noticed today that it has a nofollow tag in all the links.
    Is there a version that has a dofollow tag?

    Thanks for a fabtastic plugin,
    Jane :)

    Jane @ Kidzaramas last blog post..Do you sign your name “Use a different account”?


  58. Buy Disc Golf Stuff
    13.06.08 8:36 pm

    I really like this plugin too. It seems to encourage comments on my blogs … sometimes good sometimes bad. But it doesn’t take much work to delete the bad ones so that’s good.


  59. ron~
    10.07.08 4:26 am

    from several blogs that I visited, I got their commentluv display my links instead of my post title

    edit: seems like it happens in here too. I use feedburner for my blog btw.

    ron~s last blog post..


  60. john
    02.09.08 11:44 pm

    just testing to see what it picks up


  61. Andy Bailey
    03.09.08 12:17 am

    john: it didn’t display a last post for you because you only have 1 entry in your feed, this is to counter-act spam from newly created 1 page blogs that have an advert in the feed.


  62. Lance
    15.09.08 6:43 pm

    Hey Andy, when I leave on a comment on a site with CL, it doesn’t find my last post. Here’s my error:
    XML error: Invalid document end at line 1, column 1

    What am I doing wrong!?


  63. Andy Bailey
    15.09.08 6:55 pm

    lance: if I browse to your feed location I get an error from feedburner which is probably why you’re getting an error.

    best thing for you to do is try looking at your feed pointed to by your feed icon in the firefox address bar as this is the feed the plugin tries to parse

    in future, please use the support forum for error reporting or questions


  64. stock market trading
    05.10.08 4:17 pm

    Great idea! Looks like it is working well so far. CommentLuv is only for WordPress currently correct?

    stock market trading´s last blog post..Stock University


  65. Andy Bailey
    05.10.08 5:54 pm

    there is a version being worked on for the latest version of Drupal by Pete White from and I have a test version working for haloscan blogger blogs that I’ll be releasing soon.

    what platform do you run on?


  66. day trading
    03.11.08 12:48 am

    Andy, great job with the comment luv, very good for us new bloggers. I was using blogger but I’m now thinking about switching to word press because I’ve heard nothing but good things about it. I made my blogspot blog dofollow.

    day trading´s last blog post..Stock University


  67. John R
    26.11.08 3:49 am

    Here’s a Rapidweaver site with the blog as a link off the home page. Seems to work OK, but I had to point it to the blog page, not the home page of the site.

    John R´s last blog post..Alpacas Compost | Nun Better Compost


  68. London Dentist
    28.11.08 12:17 pm

    To benefit from commentluv do you need a blog or feed or can you just have a website, i was told commentluv builds links to your site is that right or is it simply to point to other blogs?