CommentLuv gets more 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
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
Filed under: Code | Tagged: commentluv, PHP, plugin