Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Plugins Page: 1 2 3 4 5  Previous   Next
[Obsolete] Tool: ASIN to EAN/UPC Converter
Author Message
DVD Profiler Unlimited RegistrantStar ContributorLewis_Prothero
Strength Through Unity
Registered: May 19, 2007
Reputation: Superior Rating
Germany Posts: 6,730
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Thanks!
Added it to my favorites.
It all seems so stupid, it makes me want to give up!
But why should I give up, when it all seems so stupid?


Registrant since 05/22/2003
DVD Profiler Unlimited RegistrantZipcom
Registered: March 23, 2007
Germany Posts: 72
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
I use a docked html window within DVDpro. This uses the link from kahless. Try it, if you want. Copy the code to an new html window and save it to "ANSI to EAN - Online" or something similar.

ANSI to EAN - Online

Quote:
<HTML>
<HEAD>
<style type="text/css">
<!--
* { color: white; font-family: verdana; font-size: 10pt; }
html, body { background-color: rgb(0, 0, 83); }
body { background-repeat: repeat-x; background-image:url($DPIMAGES.bgimage.jpg); }
h1 { text-align: center; }
a { font-size: 12pt; }
-->
</style>
<SCRIPT TYPE="text/javascript">
<!--
<DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False">

// -------- Configuration block - Start --------
var converterURL="http://erwinmayer.com/labs/asin2ean/index.php";

var asLink = false; // Amazon Seite laden? var asLink = false;. Link zu Amazon zeigen? var asLink = true;.
// -------- Configuration block - End --------


function amazon() {
  if (asLink == true) {

    var lnk = '<a href="' + converterURL + '">ASIN to EAN converter</a>';  document.getElementsByTagName('h1')[0].innerHTML = lnk;
  }
  else {
    window.location.href = converterURL;
  }
}
//-->

</SCRIPT>
</HEAD>
<BODY onload="amazon();" scroll="auto">
<br>
<h1></h1><br>
</BODY>
</HTML>



And here an other html window. This is a search and price trend function for amazon.de. 
Amazon Search

Quote:
<HTML>
<HEAD>
<style type="text/css">
<!--
* { color: white; font-family: verdana; font-size: 10pt; }
html, body { background-color: rgb(0, 0, 83); }
body { background-repeat: repeat-x; background-image:url($DPIMAGES.bgimage.jpg); }
h1 { text-align: center; }
a { font-size: 12pt; }
-->
</style>
<SCRIPT TYPE="text/javascript">
<!--
<DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False">

// -------- Configuration block - Start --------
var amazonURL="http://www.amazon.de/s/ref=nb_ss_d?__mk_de_DE=%C5M%C5Z%D5%D1&url=search-alias%3Ddvd&field-keywords=";
var cinefactsURL="http://www.cinefacts.de/shop/diagramm/index.php?nummer=B002VUN310&ean=";
var converterURL="http://erwinmayer.com/labs/asin2ean/index.php";

var asLink = true; // Amazon Seite laden? var asLink = false;. Link zu Amazon zeigen? var asLink = true;.
// -------- Configuration block - End --------

// Open amazon page or add a link for the profile
var zahl = DP_UPC.length -2;
var amazonCode = DP_UPC.slice(0, zahl);
amazonLinkEAN = amazonURL + amazonCode;
var titel = DP_Title.replace(/\ /g,"+");
amazonLinkTitel = amazonURL + titel;
cinefactsLinkEAN = cinefactsURL + amazonCode;

function amazon() {
  if (asLink == true) {
    var lnk = '<a href="' + amazonURL + '" target="_blank;">Amazon.de - DVD & Blu-ray - Suche</a>';  document.getElementsByTagName('h1')[0].innerHTML = lnk;
    var lnk = '<a href="' + amazonLinkEAN + '" target="_blank;">Amazon.de - EAN - Suche</a>';  document.getElementsByTagName('h1')[1].innerHTML = lnk;
    var lnk = '<a href="' + amazonLinkTitel + '" target="_blank;">Amazon.de - TITEL - Suche</a>';  document.getElementsByTagName('h1')[2].innerHTML = lnk;
    var lnk = '<a href="' + cinefactsLinkEAN + '" target="_blank;">Cinefacts.de - Preisdiagramme</a>';  document.getElementsByTagName('h1')[3].innerHTML = lnk;
  //  var lnk = '<a href="' + converterURL + '" target="_blank;">ASIN to EAN converter</a>';  document.getElementsByTagName('h1')[4].innerHTML = lnk;
  }
  else {
    window.location.href = amazonURL;
    window.location.href = amazonLinkEAN;
    window.location.href = amazonLinkTitel;
    window.location.href = cinefactsLinkEAN;
  // window.location.href = converterURL;
  }
}
//-->

</SCRIPT>
</HEAD>
<BODY onload="amazon();" scroll="auto">

<h1></h1><br>
<h1></h1><br>
<h1></h1><br>
<h1></h1>
<h1></h1>
</BODY>
</HTML>


I am not a html professional . So i copied most of the code together from different sources within the internet. i dont remember the sources any more. Maybe that parts are from DJ Doena. I hope thats no problem. 
DVD Profiler Desktop and Mobile RegistrantStar ContributorBad Father
Registered: July 23, 2001
Registered: March 13, 2007
Posts: 4,596
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
The Converter stopped working when checking Asins on Amazon.com about 2 weeks or so ago. I get this critical error message when hitting the Convert button.

My WebGenDVD online Collection
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,694
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
I got that error, too, but re-installing fixed it.
My freeware tools for DVD Profiler users.
Gunnar
DVD Profiler Desktop and Mobile RegistrantStar ContributorBad Father
Registered: July 23, 2001
Registered: March 13, 2007
Posts: 4,596
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting GSyren:
Quote:
I got that error, too, but re-installing fixed it.


I don't understand what you mean by re-installing. It's just an executable file and a .dll, there's nothing to "install" as far as I'm aware. I deleted the folder and my desktop shortcut. Unzipped the files again and after running the executable file, same error occurs.
My WebGenDVD online Collection
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,694
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
I downloaded the latest version and it was a setup file (inside a zip file).
So I ran the setup file and things worked again.
My freeware tools for DVD Profiler users.
Gunnar
DVD Profiler Desktop and Mobile RegistrantStar ContributorBad Father
Registered: July 23, 2001
Registered: March 13, 2007
Posts: 4,596
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Ahhh...I probably don't have the latest and greatest then . I'll redownload the latest .zip and let you know. Thanks for the heads-up .
My WebGenDVD online Collection
DVD Profiler Desktop and Mobile RegistrantStar ContributorBad Father
Registered: July 23, 2001
Registered: March 13, 2007
Posts: 4,596
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting GSyren:
Quote:
I downloaded the latest version and it was a setup file (inside a zip file).
So I ran the setup file and things worked again.


Re-installed and works like a charm now .

Thanks  
My WebGenDVD online Collection
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,694
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
You're welcome! Great utility, isn't it... 
My freeware tools for DVD Profiler users.
Gunnar
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,747
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting Bad Father:
Quote:
The Converter stopped working when checking Asins on Amazon.com about 2 weeks or so ago. I get this critical error message when hitting the Convert button.



Yeah I ran into the same error and totally forgot to announce the new version. 

By the way: There is a new version!

(but not newer than the one you downloaded)

I built in a version check, so you'll be notified about the next update.
Karsten
DVD Collectors Online

DVD Profiler Desktop and Mobile RegistrantStar ContributorBad Father
Registered: July 23, 2001
Registered: March 13, 2007
Posts: 4,596
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting DJ Doena:
Quote:
Quoting Bad Father:
Quote:
The Converter stopped working when checking Asins on Amazon.com about 2 weeks or so ago. I get this critical error message when hitting the Convert button.



Yeah I ran into the same error and totally forgot to announce the new version. 

By the way: There is a new version!

(but not newer than the one you downloaded)

I built in a version check, so you'll be notified about the next update.


Thanks so much Karsten. I love the Converter . Since I can't afford to make new DVD/Blu-ray purchases right now, this tool makes adding titles to my wish list a snap .
My WebGenDVD online Collection
DVD Profiler Unlimited RegistrantStar Contributorsurfeur51
Since July 3, 2003
Registered: March 29, 2007
Reputation: Great Rating
France Posts: 4,479
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
I have now a problem to run this plugin. When I try to convert ASIN to EAN, I get a critical error 

Images from movies
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,747
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
It's a temporary error that can happen from time to time.

I just tried it and it works just fine now:



Karsten
DVD Collectors Online

DVD Profiler Unlimited RegistrantCorma
Registered: July 29, 2007
Germany Posts: 183
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Another great tool, tyvm!

Is is possible to add a create random EAN/UPC function without too much effort?

The reason is that I use DVDP to add my games to my collection, too. And with a growing number of DLCs and Download only Versions, there are no valid barcodes I could use anyway. Right now it takes more time to find a valid code than to create the rest of the custom profile.

I know that I could force DVDP to accept anything but for some reason unvalid numbers seem to make the collection unstable and I often have to run the repair tool
 Last edited: by Corma
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,747
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Why don't you use manual profiles?

I use DVD Profiler for my comics and books as well and for the monthly comic issues and eBooks without a ISBN I simply use the "Add by Title" -> Uncheck "Download from Invelos" option.

http://doena-soft.de/phpcomicprofiler/index.php?lastmedia=M624




http://doena-soft.de/phpbookprofiler/index.php?lastmedia=M82

Karsten
DVD Collectors Online

 Last edited: by DJ Doena
DVD Profiler Unlimited RegistrantCorma
Registered: July 29, 2007
Germany Posts: 183
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
I havent't used that feature in a long time. Sooner or later I always had to repair my DB after adding a "Manual DVD #" profile. The covers of the manual profiles appeared on other profiles and the manual ones weren't ' 'clickable' anymore.
 Last edited: by Corma
    Invelos Forums->DVD Profiler: Plugins Page: 1 2 3 4 5  Previous   Next