CommentLuv gets more muscle

Posted by Andy Bailey at 12 October, 2007, 2:39 pm
1,496 views

CommentLuv MuscleI’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
http://feeds.feedburner.com/lalla-mira/wvDM

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

Popularity: 3% [?]

Category : Code

Related Posts

  • New CommentLuv Directory Register Today
  • comment-luv-plugin
  • CommentLuvvers - Interesting sites that use the CommentLuv Plugin
  • My MYSQL cherry has been popped! rok on CommentLuv options site
  • Commentluv is having problems!!
  • CommentLuvvers - Interesting sites that use CommentLuv
  • Rainy day - perfect weather for code tinkerers
  • Trackbacks & Pingbacks


    Comments

    Lalla Mira (58 comments.) October 12, 2007

    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.

    Andy Bailey October 12, 2007

    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? :-)

    Bobby Revell (34 comments.) October 12, 2007

    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

    AntiBarbie (40 comments.) October 12, 2007

    Thanks for all the hard work Andy!

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

    CHESSNOID (13 comments.) October 12, 2007

    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

    Andy Bailey October 13, 2007

    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.

    Opal Tribble/Vegan M (35 comments.) October 13, 2007

    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

    pelf (26 comments.) October 13, 2007

    Do we need to update our current versions?

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

    Andy Bailey October 13, 2007

    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.

    Sharon (87 comments.) October 13, 2007

    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?

    Lalla Mira (58 comments.) October 14, 2007

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

    Diana13 (10 comments.) October 14, 2007

    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

    Andy Bailey October 14, 2007

    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

    Sharon (87 comments.) October 14, 2007

    Something definitely very strange is happening with Lalla Mira’s feed. I also ran through http://www.lalla-mira.com/feed 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

    Andy Bailey October 14, 2007

    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..

    Sharon (87 comments.) October 15, 2007

    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

    Andy Bailey October 15, 2007

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

    Michael (1 comments.) October 16, 2007

    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

    Sharon (87 comments.) October 16, 2007

    A big yey!

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

    Sharon’s last blog post..The Money Guy

    Andy Bailey October 16, 2007

    @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: :-) :-) :-)

    Sue (1 comments.) October 16, 2007

    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

    Andy Bailey October 16, 2007

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

    Diana13 (10 comments.) October 19, 2007

    Hi Andy. Please take a look to this commenter. Her last entry didn’t show up.
    http://www.134u.com/little-seo-guide/

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

    Diana13 (10 comments.) October 19, 2007

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

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

    Andy Bailey October 19, 2007

    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..
    /feed/
    ?feed=rss
    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
    http://www.velveteenmind.com/velveteenmind/index.rdf
    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!

    Diana13 (10 comments.) October 19, 2007

    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

    Andy Bailey October 19, 2007

    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…

    Diana13 (10 comments.) October 19, 2007

    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

    Andy Bailey October 19, 2007

    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!

    bluefrogx (1 comments.) November 7, 2007

    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!

    Andy Bailey November 7, 2007

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

    Suburban Oblivion (1 comments.) December 3, 2007

    Just want to test it.

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

    Andy Bailey December 3, 2007

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

    Dennis Edell (21 comments.) December 23, 2007

    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

    Andy Bailey December 23, 2007

    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 :-)

    Dennis Edell (21 comments.) December 24, 2007

    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

    Andy Bailey December 24, 2007

    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?

    Dennis Edell (21 comments.) December 24, 2007

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

    http://www.directsaleswebmarketing.com/2007/12/13/debunking-myths-lies/#comments

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

    Andy Bailey December 24, 2007

    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

    Andy Bailey December 24, 2007

    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

    Dennis Edell (21 comments.) December 24, 2007

    You mean, have her leave another comment?

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

    Andy Bailey December 24, 2007

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

    Dennis Edell (21 comments.) December 25, 2007

    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

    Stock Trading Software (1 comments.) January 23, 2008

    Andy,
    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

    Andy Bailey January 23, 2008

    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!

    roger (7 comments.) January 31, 2008

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

    Andy Bailey January 31, 2008

    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!

    Dennis Edell (21 comments.) January 31, 2008

    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

    Andy Bailey January 31, 2008

    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..

    roger (7 comments.) February 2, 2008

    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!

    Nicholas (1 comments.) March 1, 2008

    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

    Andy Bailey March 1, 2008

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

    ourmonmouth (1 comments.) April 9, 2008

    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.

    JBO (1 comments.) May 27, 2008

    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

    Jane @ Kidzarama (1 comments.) June 2, 2008

    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”?

    Buy Disc Golf Stuff (1 comments.) June 13, 2008

    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.

    ron~ (1 comments.) July 10, 2008

    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..http://www.otadesho.com/files/sc4/t01trans.jpg

    Leave a comment

    7 online now
    the most online was 176
    elottery magnetic Sponsoring
    Sponsors
    available ad space available ad space available ad space available ad space available ad space available ad space