Messages - Alien282 [ switch to compact view ]

Pages: prev1 [2]

Thanks for a really nice plugin! I needed Google search (strange that nobody has asked for that yet?), especially with calculator and converter support - that is, I wanted to be able to input "50 eur in usd" and get the answer from Google. "50 km in miles" works too. Here is the conf file:

Code: Javascript [Select]
  1. description=Google
  2. searchUrl=
  3. resultPattern=(?:<td>\s*<img src="?/images/calc_img\.gif"? width="?40"? height="?30"? alt="">.*?<h2 class="?r"? style="font-size:138%">\s*<b>(.*?)</b>\s*</h2>|<h3 class="?r"?>\s*<a href="(.+?)" class="?l"?.*?>(.*?)</a>\s*</h3>.*?<div class=(?:s|"s hc".*?|"s")>(.*?)<br>)
  4. farrCaption=$1$3
  5. farrGroup=$1$4
  6. farrPath=$1$2

I haven't tested it too extensively, but it is supposed to work. :) I've attached a picture to see how it works.

BTW, since I am a bit new to FARR, I am not sure how (or even if) I could make an alias or something that allowes me to type "gs " and after that it should work as if I had written "wms google " and make a live search to google with whatever I am typing?

P.S. aaah yes, and is it possible to have text in itallics or bold, or different color in the results window? Strangely enough, FARR seems to "cope" with the markup coming from Google - it ignores it. :)

Pages: prev1 [2]
Go to full version