Friday, April 11, 2008

Canon Lens Birthday Code Decoder / JS 1.1.0

Canon Lens Birthday Code Decoder / JS is a collection of JavaScript embedable in your HTML, which can show the manufacturing factory, production date and age of some Canon lenses and SLR with a lens date code printed on the tail of the lens mount or SLR body's film chamber.

Just type in a valid 5 or 6 charactors code (eg. UK0129, U1140F or V1006) at the input box below and get the age of your Canon machine.


Code:



How to make it work on your web:
  1. Make a backup of your HTML before making any change.
  2. Copy the following code and paste it between the <BODY> and </BODY> tags of your HTML without modification.

  3. Save your work.
  4. Done.


Environment tested:
Browser / OS Test result
Firefox 2 / Mac OS X 10.5 PPC Work
Firefox 2 / Windows XP Work
Internet Explorer 6 / Windows XP Work
Safari 3 / Mac OS X 10.5 PPC Work


Version history:
Version Date Description
1.1.0 11 April 2008
  1. Add logic to decode 5 charactors code as documented at [How to determine the age of your Canon FD or EOS gear].
  2. Fix logic to identify invalid 6 charactors code with a numeric 2nd charactor (eg. U01056).
1.0.0 18 December 2007 Initial public release


Distribution:
You are free to make copy, modification and distribution of this script. But please make a back link to this page, so that the original source can be reached in case of needed.

This script is provided as is. I will not resposible for any result caused by using it.

Enjoy.

Friday, April 04, 2008

有[藍威佬],乜都洗得到.

Cattle Depot Artists Village, Hong Kong, 2008 Cattle Depot Artists Village, Hong Kong, 2008

Janitors washing the playground, after a graffiti creation activity at the Cattle Depot Artists Village.