Schonhose

Home | PP Addons| Gallery | Photoblog

Downloads are up again and some notes about the book

December 21, 2008
camera.png

John Godley over at UrbanGiraffe.com has released the updated DrainHole plugin, which is compatible with WordPress 2.7. This means the downloads are up again! Happy leeching everyone! :P

At the end of November I blogged about my idea of taking 40 of the highest rated images and turning it into a book. In the post I have described a method for selecting the highest rated images but there were some flaws in my reasoning.

So I took another approach, which is much easier. Let’s assume everyone who has visited my photoblog has voted, but (and this is it) people who didn’t vote actually voted zero stars. In other words, they didn’t found the picture worth at least 1 star. When we assume this, the selection of the images becomes easier because now we only have to select the pictures with the highest total. But to narrow the selection a bit down I have included another rule: an image must have at least 5 votes to participate. Perhaps you’re wondering why I enforce this rule? The reason is quite simple. This way I know at least 5 people found the image good enough to give a rating between 1 – 5 stars.

Furthermore, whenever there is a situation in which two or more images have the same total rating the image with the least votes will be given the highest ranking.

For those of you wondering what the SQL looks like (you do need to have the AjaxRatings addon installed and I assume the prefix of the tables is “pixelpost_“) I have it included below. As can be seen I also let the statement I used earlier (weighted ratings) in the SQL for comparison:

SELECT
`pixelpost_ajaxRatings`.`img_id`, `pixelpost_ajaxRatings`.`total_value`,
`pixelpost_ajaxRatings`.`total_votes`,`pixelpost_pixelpost`.`headline`,
`pixelpost_pixelpost`.`body`, `pixelpost_pixelpost`.`image`,
((`total_rate`/5)*`total_votes`) as weighedRating
FROM `pixelpost_ajaxRatings`,`pixelpost_pixelpost`
WHERE `pixelpost_pixelpost`.`id` = `pixelpost_ajaxRatings`.`img_id`
ORDER BY `pixelpost_ajaxRatings`.`total_value` DESC, `pixelpost_ajaxRatings`.`total_votes` ASC
LIMIT 0,41

So, how does this look compared to my earlier approach? Well, the top 30 of my images stayed the same, some images shifted a bit but there were no real surprises. At the bottom of the list there were some small changes which has surprised me a bit. For instance: on number 37 (at the time of this post) was the Mosaic image I created containing the 200 images I had on my blog at that time. I’m not sure if I have a high resolution of the image lying around somewhere. In case I don’t I have chosen to omit this file.

Anyway, have a peek at the current output of the script.

Comments
3 Comments »
Categories
Photography, Website
Tags
addon, photoblog, PHP, Pixelpost, update, Wordpress

Turning my photoblog into a book

November 30, 2008
camera.png

At January 1st, 2009 I want to compile a list of images which have high ratings on my photoblog. The top 40 most rated images will be compiled into a real-life book.

However, compiling such a list proved to be a nice challenge based upon the information stored in the database. Currently all images have three types of statistics: Number of votes, Total rating and Averaged rating. In this case I couldn’t just sort on the Averaged rating, since images with only one vote but with a five star rating will float to the top. So basically I had to do something with the number of votes for each image.

Since the maximum rating for my blog is 5 stars I decided to divide each average rating by this maximum rating. The result is then multiplied by the number of votes. This will give a weighted rating based upon both the average rating and the number of votes.

Sorting on this results gives me a list of the top rated images which will be in a book after January 1st, 2009. Please vote for your favorite images over at my photoblog and see if your image makes it into the book.

Curious which images are currently in the book? Take a look at this crude and unstyled output of the top40 script.

Comments
5 Comments »
Categories
Miscellaneous
Tags
photoblog, vote

2008 Photoblog Awards

November 28, 2008
camera.png

If you like my photoblog (located at http://foto.schonhose.nl) then please vote for me over at Cool Photoblogs.

For your convenience I have included an image below, click this to vote. :D

2008 Photoblog Awards

If you want to see my profile and give me some cool points: click here for my profile.

Comments
No Comments »
Categories
Miscellaneous
Tags
photoblog, vote

Next Entries »

Navigation

  • Miscellaneous
  • Photography
  • Programming
  • Website

Countdown:

    No dates present

Tagcloud

3g addon allergic rhinitis backup basketball battery replacement Bob Marley budweiser bug Defensio design ebay exposition googlemaps HDR King layout update Lightroom Miscellaneous music paypal personal photoblog Photography Photoshop PHP Pixelpost pollens preview quote rant Touch UNC update videoclip vote Website Wordpress youtube

Flickr: latest uploads

Broeltorens, KortrijkNarcissus50 point dart140!StadskanaalEuroStaete building by nightThe end of summerFishermen memorial at KatwijkBranch in the sandFir cones
 

Paypal Donations

Why donate? Any donation will be considered a motivation to continue providing support and writing more plugins.

Please remember: it is not the amount but the thought that counts!
Amount: $

Twitter:

No public Twitter messages.

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox