idlethreat

stupid is durable

StoryVote Has Been Released!

without comments

I've been a huge fan of Fark for years now and have been a totalfarker for a while as well. Good stories, funny photoshop contests, it's just a great place to visit.

Probably the bit I enjoy the most is the story headlines. They have a yearly headline vote for the best, but there's still so many headlines throughout the year that probably get missed in the interim its silly.

I coded StoryVote over the past couple of days. It's a headline voting mechanism with the following features:

* Checks Fark.com for new stories and puts them into the database once it validates there's not a dupe hiding in there somewhere
* Keeps track of IP addresses and items voted on. If you vote too many times for a story, or vote a whole bunch, it will ask you to go get another hobby

It was the first time I've ever used Magpie RSS and it was really enjoyable. It was great to not have to re-invent the wheel by writing my own RSS parser.

Let me know what you think. I plan on releasing the source once I re-write the MySQL stuff to stop any chance of sql injections.

Cheers,

tom

Written by admin

March 23rd, 2008 at 6:59 pm

Posted in Code