maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   mbarcode (https://talk.maemo.org/showthread.php?t=34996)

LordVan 2010-11-18 08:52

Re: mbarcode
 
Quote:

Originally Posted by lardman (Post 876847)
Yes we could really do with a plugin that takes the EAN, and then does a lookup and search for where and what price you can buy the item. Android has had one of these for ages (and in fact was what prompted me to start writing mBarcode, unfortunately it's taken a while!). i.e. http://scan.jsharkey.org/

Now that we have working Python plugins, it should be significantly easier to do the weblookups/scraping required to do this. If there's any exsiting Python code out there that we could start with to save writing the whole thing from scratch, that would be good :)

basically an extension of the amazon plugin? btw .. that always looks on amazon.com .. but i'd rather have it use amazon.at/.de or .co.uk can u set that ? i didn'T see anything about that

systemcrash 2010-11-18 09:59

Re: mbarcode
 
Quote:

Originally Posted by LordVan (Post 876860)
btw .. that always looks on amazon.com .. but i'd rather have it use amazon.at/.de or .co.uk can u set that ? i didn'T see anything about that

I seconds this request. A configurable country-site for the amazon plugin. I would like to use amazon.fr.

LordVan 2010-11-18 10:06

Re: mbarcode
 
Quote:

Originally Posted by systemcrash (Post 876895)
I seconds this request. A configurable country-site for the amazon plugin. I would like to use amazon.fr.

well afaik it just pastes the EAN/ISBN/.. into a link for amazon.com anyway why not rename it and make so that one can specify (maybe even different ones for choice) the url with a placeholder for EAN/ISBN=

e.g. amazon plugin -> urlopenenr plugin

then have config options with a few presets for example for amazon:

and any number of custom urls with the type u want them for

http://www.amazon.de/%CODE% type ISBN, EAN
http://www.thalia.at/shop/ama_homest...=21&submit.y=1 Type ISBN
(this should work i used it from http://www.thalia.at/shop/ama_homest...=21&submit.y=1 ;) )

systemcrash 2010-11-18 10:20

Re: mbarcode
 
Quote:

Originally Posted by LordVan (Post 876900)
well afaik it just pastes the EAN/ISBN/.. into a link for amazon.com anyway why not rename it and make so that one can specify (maybe even different ones for choice) the url with a placeholder for EAN/ISBN=

Even a better idea.

In that case, is it possible to have multiple instances of a plugin at the same time? Usually I'm not interested in looking at two different amazon sites (.fr and .co.uk), but it could be interesting to be able to look at two different book vendors (amazon and Barnes & Noble, for example).

LordVan 2010-11-18 10:37

Re: mbarcode
 
Quote:

Originally Posted by systemcrash (Post 876916)
Even a better idea.

In that case, is it possible to have multiple instances of a plugin at the same time? Usually I'm not interested in looking at two different amazon sites (.fr and .co.uk), but it could be interesting to be able to look at two different book vendors (amazon and Barnes & Noble, for example).

i think one plugin can show more than one like (like the informed individual one does i think)

-- just checked ^^ with informed individual u have 2 lines per code one for getting rating other one for making one ..

so having multiple lines would be quite possible and perfect to use :D

lardman 2010-11-18 11:12

Re: mbarcode
 
Sure, there's no issue (and it would be trivial) with either giving the user the option to change the country code of the Amazon plugin url (or even obtaining that info automatically and doing it for the user) or just allowing the user to change the list of URLs used.

Patches welcome :)

lardman 2010-11-18 11:13

Re: mbarcode
 
Quote:

Originally Posted by LordVan (Post 876929)
i think one plugin can show more than one like (like the informed individual one does i think)

-- just checked ^^ with informed individual u have 2 lines per code one for getting rating other one for making one ..

so having multiple lines would be quite possible and perfect to use :D

Would you prefer multiple buttons on the Resuls Window page or the current setup where you click the "Search the web" button and it opens a list? IMO the latter (current) setup is preferable given the lack of screen space.

lardman 2010-11-18 11:16

Re: mbarcode
 
Quote:

Originally Posted by systemcrash (Post 876916)
Even a better idea.

In that case, is it possible to have multiple instances of a plugin at the same time? Usually I'm not interested in looking at two different amazon sites (.fr and .co.uk), but it could be interesting to be able to look at two different book vendors (amazon and Barnes & Noble, for example).

I would prefer to be presented with a window that summaries the contents of these websites. So it says what the item is, gives links to reviews and then gives a list of prices derived from various websites. I think that would be more useful and usable than needing to start multiple browser windows and scroll around in them. Just my opinion though :)

LordVan 2010-11-18 11:17

Re: mbarcode
 
maybe make it configurable?
talking about that having informed individual open up a list would be good too imho since it currently uses up most of the space ;)

lardman 2010-11-18 11:19

Re: mbarcode
 
Soon you will be able to disable plugins, once I finish writing the code and commit it :)


All times are GMT. The time now is 08:47.

vBulletin® Version 3.8.8