International ebay search

There are several localized eBay sites. Some are connected to ebay.com, some are not.
I'm looking for a free script that will allow simultaneous search on all sites.
Preferably also with the option to specify ads which currently has zero bids.

eBay sites:       
Asia Pacific:            Europe:            North America:
Australia                    Austria                    Canada
Hong Kong            Belgium            United States
India                            France            
Malaysia                    Germany            
New Zealand            Ireland            
Philippines            Italy            
Singapore            Netherlands            
South Korea            Poland            
                              Spain            
                              Sweden            
                              Switzerland            
                              United Kingdom      
larsanAsked:
Who is Participating?
 
leakim971PluritechnicianCommented:
your javascript updated : http://jsfiddle.net/4A6Pk/
function search() {
    searchTerm = document.searchbox.term.value;
    var searchVal = '';
    if(searchTerm != '')
    {
        searchTerm = searchTerm.replace(/\s/ig, '+');
        searchEngine = document.searchbox.engine[document.searchbox.engine.selectedIndex].value;
        switch (searchEngine) {
            case 'us': searchVal = 'http:\/\/www.ebay.com\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
            case 'uk': searchVal = 'http:\/\/www.ebay.co.uk\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
            case 'fr': searchVal = 'http:\/\/www.ebay.fr\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
            case 'ca': searchVal = 'http:\/\/www.ebay.ca\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
            case 'es': searchVal = 'http:\/\/www.ebay.es\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
            case 'ar': searchVal = 'http:\/\/listado.mercadolibre.com.ar/' + searchTerm; break;
            case 'de': searchVal = 'http:\/\/www.ebay.de\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
            case 'be': searchVal = 'http:\/\/www.benl.ebay.be\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
            case 'in': searchVal = 'http:\/\/www.ebay.in\/sch\/i.html?_from=R40&_trksid=m570&_nkw=' + searchTerm; break;
            case 'au': searchVal = 'http:\/\/www.ebay.com.au/\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
            case 'hk': searchVal = 'http:\/\/www.ebay.com.hk/\/sch\/i.html?_from=R40&_trksid=m570&_nkw=' + searchTerm; break;
            case 'my': searchVal = 'http:\/\/www.ebay.com.my/\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
            case 'nz': searchVal = 'http:\/\/www.ebay.com\/sch\/i.html?LH_LocatedIn=1&_nkw=' + searchTerm; break;
            case 'ch': searchVal = 'http:\/\/www.ebay.ch\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
            case 'pl': searchVal = 'http:\/\/www.ebay.pl\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
            case 'it': searchVal = 'http:\/\/www.ebay.it\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
            case 'ie': searchVal = 'http:\/\/www.ebay.ie\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
            case 'at': searchVal = 'http:\/\/www.ebay.at\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
            case 'ph': searchVal = 'http:\/\/www.ebay.ca\/sch\/i.html?_from=R40&_trksid=m570&_nkw=' + searchTerm; break;
            case 'sg': searchVal = 'http:\/\/www.ebay.com.sg\/sch\/i.html?rt=nc&LH_PrefLoc=1&_nkw=' + searchTerm; break;
            case 'kr': searchVal = 'http:\/\/http://search.auction.co.kr/\/search\/search.aspx?keyword=' + searchTerm; break;
            case 'se': searchVal = 'http:\/\/www.tradera.com\/samlarsaker-29?search=' + searchTerm; break;
            case 'fi': searchVal = 'http:\/\/www.huuto.net\/fi\/showlist.php3?status=N&tits=' + searchTerm; break;
            case 'dk': searchVal = 'http:\/\/www.qxl.dk\/search\/search.asp?txtSearch=' + searchTerm; break;
            case 'no': searchVal = 'http:\/\/www.qxl.no\/search\/search.asp?txtSearch=' + searchTerm; break;
            
            default: break;
        }
        if (searchVal != '') document.getElementsByName("results")[0].src = searchVal;
    }
}

Open in new window

0
 
dugs_Commented:
Have you tried "ebay sidebar" add-on for Firefox ?
0
 
larsanAuthor Commented:
Yup, won't work.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
leakim971PluritechnicianCommented:
0
 
larsanAuthor Commented:
This should really be a straightforward script, as I see it (but of course I'm not a programmer). I just want to join several searches like this:

http://www.ebay.es/sch/i.html?_nkw=apple+ipad
http://www.ebay.fr/sch/i.html?_nkw=apple+ipad
http://tech.ebay.com.au/apple/?kw=apple+ipod

...

(you get the idea)

and produce a compiled hit-list.
0
 
larsanAuthor Commented:
Ok, I managed to whip something together myself, but I can't get the results to show in the iFrame.

Help appreciated!



<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title>Untitled Document</title>

<script type="text/javascript">
function search() {
searchTerm = document.searchbox.term.value;
var searchVal = '';
if(searchTerm != '')
{
searchTerm = searchTerm.replace(/\s/ig, '+');
searchEngine = document.searchbox.engine[document.searchbox.engine.selectedIndex].value;
switch (searchEngine) {
case 'us': searchVal = 'http:\/\/www.ebay.com\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
case 'uk': searchVal = 'http:\/\/www.ebay.co.uk\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
case 'fr': searchVal = 'http:\/\/www.ebay.fr\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
case 'ca': searchVal = 'http:\/\/www.ebay.ca\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
case 'es': searchVal = 'http:\/\/www.ebay.es\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
case 'ar': searchVal = 'http:\/\/listado.mercadolibre.com.ar/' + searchTerm; break;
case 'de': searchVal = 'http:\/\/www.ebay.de\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
case 'be': searchVal = 'http:\/\/www.benl.ebay.be\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
case 'in': searchVal = 'http:\/\/www.ebay.in\/sch\/i.html?_from=R40&_trksid=m570&_nkw=' + searchTerm; break;
case 'au': searchVal = 'http:\/\/www.ebay.com.au/\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
case 'hk': searchVal = 'http:\/\/www.ebay.com.hk/\/sch\/i.html?_from=R40&_trksid=m570&_nkw=' + searchTerm; break;
case 'my': searchVal = 'http:\/\/www.ebay.com.my/\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
case 'nz': searchVal = 'http:\/\/www.ebay.com\/sch\/i.html?LH_LocatedIn=1&_nkw=' + searchTerm; break;
case 'ch': searchVal = 'http:\/\/www.ebay.ch\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
case 'pl': searchVal = 'http:\/\/www.ebay.pl\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
case 'it': searchVal = 'http:\/\/www.ebay.it\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
case 'ie': searchVal = 'http:\/\/www.ebay.ie\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
case 'at': searchVal = 'http:\/\/www.ebay.at\/sch\/i.html?rt=nc&_nkw=' + searchTerm; break;
case 'ph': searchVal = 'http:\/\/www.ebay.ca\/sch\/i.html?_from=R40&_trksid=m570&_nkw=' + searchTerm; break;
case 'sg': searchVal = 'http:\/\/www.ebay.com.sg\/sch\/i.html?rt=nc&LH_PrefLoc=1&_nkw=' + searchTerm; break;
case 'kr': searchVal = 'http:\/\/http://search.auction.co.kr/\/search\/search.aspx?keyword=' + searchTerm; break;
case 'se': searchVal = 'http:\/\/www.tradera.com\/samlarsaker-29?search=' + searchTerm; break;
case 'fi': searchVal = 'http:\/\/www.huuto.net\/fi\/showlist.php3?status=N&tits=' + searchTerm; break;
case 'dk': searchVal = 'http:\/\/www.qxl.dk\/search\/search.asp?txtSearch=' + searchTerm; break;
case 'no': searchVal = 'http:\/\/www.qxl.no\/search\/search.asp?txtSearch=' + searchTerm; break;

default: break;}
if (searchVal != '') window.open(searchVal,'search');
}}
</script>


</head>

<body>
<form name="searchbox" action="" target="results"> Search for:
<input name="term" type="text" size="15" maxlength="80" /> In eBay
<select name="engine">
<option value="us">US</option>
<option value="uk">UK</option>
<option value="fr">France</option>
<option value="ca">Canada</option>
<option value="es">Spain</option>
<option value="ar">Argentina</option>
<option value="de">Germany</option>
<option value="be">Benelux</option>
<option value="in">India</option>
<option value="au">Australia</option>
<option value="hk">Hong Kong</option>
<option value="my">Malaysia</option>
<option value="nz">New Zeeland</option>
<option value="ch">Switzerland</option>
<option value="pl">Poland</option>
<option value="it">Italy</option>
<option value="ie">Ireland</option>
<option value="at">Austria</option>
<option value="ph">Philippines</option>
<option value="sg">Singapore</option>
<option value="kr">South Korea</option>
<option value="se">Sweden</option>
<option value="fi">Finland</option>
<option value="dk">Denmark</option>
<option value="no">Norway</option>
</select>
<input type="button" value="Go!" onclick="search()" /></form>

<hr />
<iframe name="results" src="results.html" scrolling="auto" frameborder="no" align="left" height = "1000px" width = "800px">
</iframe>
</body>
</html>
0
 
larsanAuthor Commented:
Great, thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.