Dumb little update to the Amazon book control...now it knows where you live! (English)

Dumb little update to the Amazon book control...now it knows where you live!

Saturday, 03 July 2004

//

1 minute read

I've been using Scott W.s little Amazon book control on this site for a while now - and it's pretty damn good, haven't made any cash from it as yet...but...well, it always bugged me that it was .com only as written - so if you were in the UK, by default it directed you to Amazon.com. The version of this control on my site of course directs you to Amazon.co.uk - not much use if you're not in the UK. What I have now done is incorporate the "Extreme Optimized IP to Country Lookup" stuff on Codeproject into this control so the little control now detects a few (umm, 6 at the moment) countries and directs you to the correct (hopefully!) site for your country - try it out, let me know if it works for you (slight issue of my being in the UK only :-)). I'm trying to hack together an independet control using this, I'll put this up for download from this article as soon as I can (currently lives in a single 'ExtraControls' namespace with my View tracking module,a web service and a whole lot of other gubbins...)

logo

© 2025 Scott Galloway — Unlicense — All content and source code on this site is free to use, copy, modify, and sell.