Checking UPC/EAN/ISBN accuracy in Doghouse

A place for Doghouse related posts.

Checking UPC/EAN/ISBN accuracy in Doghouse

Postby FineWine » Fri Dec 09, 2011 10:22 pm

You state in the Moderator guide that:

UPC/EAN/ISBN - these are very important for searches using a scanner or webcam so make sure entries have the appropriate digits.

The only way I have found to check if this number is accurate is to check it out in Amazon.com. I was cutting and pasting the UPC/EAN/ISBN number into Amazons All Departments search box, but this became a bit laborious so I came up with this little bit of code to do it for me and placed it in the Info View template I am using as a moderator:

Code: Select all
<!--IFupc<div class="field"><div class="title">[translate:upc]:</div><div class="text"><a href="http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=[key:upc]">[key:upc]</a></div></div>ENDupc-->


Just wondering if this is the best way to do this?
User avatar
FineWine
Addicted to Bruji
Addicted to Bruji
 
Posts: 322
Joined: Wed May 28, 2008 2:41 am
Location: Tauranga, New Zealand

Re: Checking UPC/EAN/ISBN accuracy in Doghouse

Postby Nora » Mon Dec 12, 2011 1:13 pm

That's a pretty cool addition to a details view, thanks for sharing. I usually just google the UPC/ISBN to check that it's the right title but I've added your bit of code to my details view now to make it easier, thanks! (Also easy to modify to open Google instead of Amazon.)
User avatar
Nora
Site Admin
 
Posts: 2133
Joined: Sun Jul 04, 2004 5:03 am

Re: Checking UPC/EAN/ISBN accuracy in Doghouse

Postby FineWine » Mon Dec 19, 2011 3:08 am

I have actually refined it a bit more now so that it only searches within Movies & TV:

Code: Select all
<!--IFupc<div class="field"><div class="title">[translate:upc]:</div><div class="text"><a href="http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Dmovies-tv&field-keywords=[key:upc]&Go=Go">[key:upc]</a></div></div>ENDupc-->
User avatar
FineWine
Addicted to Bruji
Addicted to Bruji
 
Posts: 322
Joined: Wed May 28, 2008 2:41 am
Location: Tauranga, New Zealand


Return to Doghouse