More tea please.

Part Number Permalinks

When I want to link someone to a part on the Farnell website, I get because the URLs are both horrible and also I have absolutely no guarantee from Farnell that the URL will exist for any given period of time. This is the sort of URL you get for a Farnell part:


There most important part of the above URL is the Farnell part number. The rest is superfluous.

So I created a small script that creates nicer URLs for Farnell’s parts:


Besides just being generally shorter and easier to parse, these URLs potentially have a longer lifetime. When Farnell change their website and all their URLs change, I can just change my script to match whilst keeping these links valid.

Feel free to use this redirection service. Just stick the Farnell part number on the end of the URL:


I had thoughts about adding RS, but haven’t yet got around to it.

Posted at 3:32 am on Saturday 17th January 2009

Site by Rob Gilton. © 2008 - 2019