I had some free time today so for sports I was looking at the source of the Lenovo support page, the one that lets you give it the product number and in return it gives you full description of the particular machine this product number refers to, including full factory specs.
As it turns out, there just a short javascript code that removes all non-alphanumeric chars from the given product number whin you hit submit, makes it uppercase and reloads the page using the following URL:
Code: Select all
http://www.lenovo.com/support/site.wss/quickPath.do?quickPathEntry=xxxxxxxI then started to look for use for this information. One could be to automatically turn "xxxx-xxx" strings (or "nnnnxxx" strings where "n" are digits and "x" are letters) posted on this forum into links to the above URL. If someone was asking a question, he would just have to include the product number. Others would then be able to easily check the full specs so the probability of relevant answers would be higher. A lot of people also include their product numbers in the signature. They would also automatically turn into links.
I'm not a phpBB expert so I don't know if it would be done by adding some module or one would have to hack the core. Knowing the right place to add it, it should be pretty easy using regular expressions.
What do you people think?







