maemo.org Bugzilla – Bug 11728
add support for output formatting for webrequest plugin
Last modified: 2011-02-15 11:15:21 UTC
You need to log in before you can comment on or make changes to this bug.
SOFTWARE VERSION: mbarcode-plugin-webrequest 0.1.15-3 EXACT STEPS LEADING TO PROBLEM: When adding or modifying a searchprovider, the only option is to place the entire barcode that was detected into a URL. I came across a 1D barcode that was returned with a leading zero, and the website I tried searching it on (discogs.com) lists it without the leading zero. (since the zero is not actually printed on the record) I tried with: Nightwish - End of an era (727361167912) on http://www.discogs.com/search?q=727361167912&btn=&type=all I would welcome the possibility to for more output formatting, preferably seperately configurable for each searchprovider, although looking at the current code i realise that that will be an elaborate task. For me, currently just being able to strip leading zero's is enough.
Sorry for the slow response. Interesting idea. As you say this will take some work. Patches welcome! Otherwise I'll add it to the ToDo list. I suppose one option would be to add a RegEx in place of the %s and run the string through the RegEx parser before the browser is called. I'll have a look at this. If you need something sooner, you could write a simply Python plugin to do the string manipulation and open this specific website quire easily.