Hm. There are only a bunch of amazon domains, so the only use of the
language
variable I see is for setting the default domain that is searched, ie, when
you dont use
the /domain switch. Don't know if people would want that though, since there
is stuff
you only find in specific shops.

Wolfgang

Glenn Carr wrote:
> Wolfgang,
>
> One thing you might consider is using the global variable 'language'
> to set the correct domain.  'language' should be set to the ISO code
> for the current language if that helps.
>
> Glenn
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:dqsd-users-admin@;lists.sourceforge.net]On Behalf Of
> Wolfgang@Home Sent: Sunday, November 03, 2002 3:39 AM
> To: [EMAIL PROTECTED]
> Subject: [DQSD-Users] Amazon search
>
>
> Here is a suggestion for an enhancement of the amazon search.
> It always bothered me that it only searches in the .com shop, while I
> want to search in the .de shop most of the time. So in the past I
> just modified the source of the search directly, which just isn't
> really satisfactory. Well, to make long story short, I have added an
> option to the amazon search which is called /domain and it takes as
> an argument a specific amazon domain to search in.
> Currently, the following domains can be specified: com de uk jp ca fr
> where com is the default, so if you use the search as  before, it
> should behave exactly the same.
> Anyway, with this switch, I was able to make a handy alias like:
> amazde|amaz %s /domain:de
> No more editing of the source code :)
>
> I have noticed, however, that the other domains don't really support
> the mode-parameters (dvd, vhs, ...) like the com-domain, so the other
> switches will probably only make sense for .com
>
> I have also taken the liberty of refactoring the search to remove
> some code duplication :)
>
> Find it attached
>
> Thanks,
> Wolfgang
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: ApacheCon, November 18-21 in
> Las Vegas (supported by COMDEX), the only Apache event to be
> fully supported by the ASF. http://www.apachecon.com
> _______________________________________________
> DQSD-Users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dqsd-users
> http://sourceforge.net/mailarchive/forum.php?forum_id=8601



-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
DQSD-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-users
http://sourceforge.net/mailarchive/forum.php?forum_id=8601

Reply via email to