Add JSON and XML parser to makeSearchCommand
After reading http://geeksbynature.dk/?p=4 I think it would be great to make a JSON and XML parser for makeSearchCommand parser to use JSON search API such as isohunt http://2tu.us/bul or wikipedia's api http://www.mediawiki.org/wiki/API instead of scrapping the web page like current parser do.
2
people like this idea
I like this idea!
Tell me when this idea gets some attention.
The more people who like this idea, the more it gets noticed.
The more people who like this idea, the more it gets noticed.
-
Inappropriate?The parser has now had a major overhaul, and (unfortunately just after 0.2pre14 came out) I have also added JSON support.
If you want to play with it (do note, it might be subject to change), you'll have to run latest source (or 0.2pre15 when that comes out, probably 0.1.7 too), and you can see an example here:
http://gist.github.com/70759
I'll make a new blog-post with greater detail soon, as there have been some slight changes to other parts as well...
-- cers / Christian Sonne
I’m happy
-
Inappropriate?That's awesome, thanks a lot Christian. Would there be a way to display two or more links per result?
It would be good to have one default url, this is the url the user would be taken to when hitting Enter from his keyboard. The other url would have to be selected by mouse. Eg. for google, the default would be web search, and the non default could be news or image.
I’m happy
Loading Profile...




EMPLOYEE