Automatic tagging system

A lot of sites have implemented tagging systems nowadays. We tag our bookmarks on various social bookmarking sites such as del.icio.us, de.lirio.us, Furl, BlogMarks, Simpy and Wists. We also tag our photos and images on Flickr. We even tag the things we do on 43 Things and places around the world on 43 Places. It's obvious that tagging is pure fun.
Okay now it's time for us to tag our weblog posts. But how?
For some sites powered by MovableType or Wordpress, there's the existing categorical archiving system which can be used for tagging. I'm not very sure about the difference between categories and tags but I do notice some sites implement this. If I'm not mistaken, categories are hierarchical but tags are flat, right? When you organise your posts into categories, you might have to think if your future posts will use the same categories again. For tags, you are virtually free to specify any keywords that could add visible data relevant to the post.
Currently, I'm using Blogger as my content publishing system. It's pitiful that there are no categories or tags to play with, yet. It seems that the only way for me to tag is to use a Greasemonkey script which provides easy tagging for Blogger's posting interface. I'll just have to edit my previous blog posts and tag all of them one by one, breaking my fingers while navigating the mouse. That would be quite tiring though. To be frank, I'm a lazy guy. So lazy that I don't even know how many blog entries I've posted since the day I started blogging.
Due to my laziness, I have accidentally came up with an idea. Manual tagging is not a solution for me. So here I introduce the automatic tagging system. Just observe around and notice that it's already implemented on my blog. Generally, the concept is almost like how Jonathon Snook adds tagging for FontSmack. He uses PHP and MySQL to do the job. While I use only PHP. No MySQL or any database at all.
The system is very simple. Let's say if an article contains the keyword 'PHP', then it will be tagged 'php'. The tagging works relatively based on the presented content. If the 'PHP' keyword is not found, then it will not be tagged as such. I don't have to tag all posts by myself because the script will run through all my blog entries and tag them automatically. What I only need to do is to maintain a tags list to be used for the tagging system. The tags point to Technorati Tags and are displayed almost like Tantek's site.
Being a PHP beginner, I am way too embarrassed to show off the tagging codes to the public. Yet, it's still in beta testing. I think I will only release them based on special requests. While you're here, feel free to browse around and evaluate the efficiency of this implementation.
Cheers.
Labels: weblog
Previous Posts
About
cheeaun.com is the site of a Malaysian web developer and designer, Lim Chee Aun. He loves to babble about life, computers, design, internet and oranges. Read more...
Sponsors
cheeaun Notifo 2.0 looking pretty neat. Going to try it for next few days. # about 6 hours ago
Archives
- June 2004
- July 2004
- August 2004
- September 2004
- October 2004
- November 2004
- December 2004
- January 2005
- February 2005
- March 2005
- April 2005
- May 2005
- June 2005
- July 2005
- August 2005
- September 2005
- October 2005
- November 2005
- December 2005
- January 2006
- April 2006
- May 2006
- June 2006
- July 2006
- August 2006
- September 2006
- October 2006
- November 2006
- December 2006
- January 2007
- February 2007
- March 2007
- April 2007
- May 2007
- June 2007
- September 2007
- October 2007
- November 2007
- December 2007
- January 2008
- February 2008
- September 2008
People
- Aaron Spuler
- Alex Choong
- Ang Kew Leok
- Angeline Tan
- Arvid Axelsson
- Asa Dotzler
- Benjamin Leow
- Bernie Zimmermann
- B.K. Ong
- Chan Lilian
- Chan Ming Shern
- Cheah Chu Yeow
- Ching Yonghan
- Chris Neale
- Chris Pirillo
- Danny Foo
- Dave Shea
- David Tenser
- Elizabeth Chin
- Eric Meyer
- Heng Kee Seng
- Ian Hickson
- James Ooi
- Jeffrey Zeldman
- Jinny Wong
- Joe Clark
- Jon Hicks
- Kamal Fariz
- Kah Soon
- Ken Lynch
- Kenny Lee Jian Siong
- Kevin Gerich
- Khai Lee
- Khoo Kah Peng
- Kong Chung Hwa
- Kuhan Venugopal
- Kwan Will Sen
- Lars Kleinschmidt
- Liew Cheon Fong
- Lim Chze Hong
- Lucia Lai
- Lun
- Navin
- Neil Turner
- P.J.Kraaima
- Peter Tan
- Regin Larson
- Ryan Lim
- Saw Kee Wooi
- Scott Jarkoff
- Soo Chooi Leang
- Steven Garrity
- Tantek Çelik
- Teoh Hock Lye
- Tim Yang
Powered By
Believe it or not, this blog is powered by Blogger. Nothing else.