Archive for April, 2008

Just time to do a post for the regular contest that goes on whenever there is a rollover on the Euromillion Lottery draw, just comment with your guess of 2 different numbers between 1 and 9 and if yours come up on this Fridays draw, you win a pair of these awesome Vmoda headphones.

Extended for one week!

Due to the Euromillions rolling over again this week (and my complete ineptitude for coming up with a subject for my next post) this contest is open until the 9th of May and all previous guesses that didn’t match for the last draw on the 2nd can carry over for this Friday 9th.

Good luck… I’m on a full calender of appointments this month so I might not be posting much during May, I’m still working behind the scenes on commentluv whenever I get a few minutes and the remote script is handling the load (it’s processed over 10,000 last blog posts in the past 7 days!!)

Popularity: 4% [?]

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

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:
Commentluv in action

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.

Website URL

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:

    1. Download
    2. unzip
    3. upload php file to plugins directory
    4. 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
    commentluv here

    You can use this code:

    HTML:
    1. <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:
    1. 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% [?]

    [Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

    Sorry if you're having problems with commentluv plugin, I've been having real issues with my nameservers and dedicated server. I've moved the feed retrieving file to FiddyP.com now and I think that's the best place for it.

    Along the way of all these changes, I've learned not to get a dedicated server from streamline.net

    I noticed that my disk usage was over 50GB and I only host 4 sites on my server, I sent them an email asking where this extra space usage was coming from and do you know what the expected me to accept as an answer??? - "that's space taken up by the OS and plesk"

    don't make me bloody larrrrf. OS using up over 50GB? eejits

    turns out it was the log files, fancy that, log files taking up 50gb. doh

    Popularity: 4% [?]

    [Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

    Zhé, Image via WikipediaWe're now up to 1.7!! I got fed up of " characters and other punctuation characters getting turned into ? by magpie, also, no display of Chinese or Turkish characters (thanks http://blog.mukispace.com and http://blog.mavikalemler.net/ I used your sites url to test the output of foreign language characters in UTF-8

    I moved the determining of the feed location to my server now so the plugin code is a little shorter and neater. Now it should always pick up the feed location from the head of the target site, if it can't find one there, it searches through the page content for the most likely link to a feed so as long as a feed is linked in the page, it will be picked up and parsed by commentluv.

    The plugin itself should be more stable, as long as your blog hosting has the ability to CURL or access external files then it should work. If your hosting wont allow external access to files from within your scripts, be sure to ask them to whitelist the domain www.commentluv.com .

    I'm running it on this post from now on so please give it a test especially if you have had problems before or you have a foreign language character set on your site.

    Popularity: 4% [?]

    [Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

    I had reason to call the people at TomTom today to ask why they didn't have the facility for businesses to add their details to the TomTom POI database. I can navigate to a POI on route with my tomtom 910 and it has all macdonalds restaurants already included out of the box so it seemed reasonable to assume that there was a mechanism in place for people to submit their business details to TomTom so it would be included in everyone's TomTom software (when it gets updated).

    The guy at TomTom said it was a good idea and will pass it on to the marketing department. I know that there are 3rd party POI lists out there but you need to actually download and install them yourself but I think that it would a good (and maybe profitable) thing for TomTom to have a constantly updating business POI list for restaurants, hotels and bars etc that are included in all new products and updates.

    related: tomtom POI for speedcameras

    Popularity: 3% [?]

    [Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]