avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday April 15, 2021, 7:30 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Alien282 [ switch to compact view ]

Pages: [1]
FARR Plugins and Aliases / Re: FARR plugin: FarrWebMetaSearch 1.6.0
« on: October 22, 2010, 03:58 PM »

What you found is one of FarrWMS's weaknesses. Unfortunately, when a web site changes the format of its pages, regexes can get "out of date".

Absolutely. I see that the Google thingy is not working anymore, at least for the calculator. :) Here is an update:

Code: Javascript [Select]
  1. resultPattern=(?:<h3 class="?r"?>\s*<a href="(.+?)".*?>(.*?)</a>.*?<div.*?>\s*(?:<div.*?/div>|(<span class="?f"?>.*?</span>.*?)<br>)?(.*?)<br>|<div id="?topstuff"?>.*?<img.*?calculator.*?>.*?<h2.*?>(.*?)</h2>)
  2. farrCaption=$5$2 $3
  3. farrGroup=$5$4
  4. farrPath=$5$1

It should be a bit faster too and shows PDF file results. Enjoy. :)

what if past matching *search* history was shown in the result list as you type?

If by "matching" you mean what I mean - to display only the history which matches the letters I have typed - then yes, your solution is actually even better.

I would use that I lot, personally. One use case is google search - if I want to search again with the same thing I searched an hour ago it would be as simple as typing "gs wh" and get "gs whatever I searched for before which was really long", e.g. Going to websites is easy too - I actually use FARR to enter URL's, not IE, so that would be extremely useful there.

P.S. But you must show the matching history AFTER I press CTRL + UP, so it's not necessary to show a result list "as I type". Just once I ask for the history - I get it filtered by the letters I've typed in the beginning. Obviously, you could make that even more complicated to not search only in the beginning for a match, but I think that's a bit overkill. :)

I'm not sure if this is the right place, but I have a feature request. :)

I want to be able to start typing something and then when I click CTRL + UP (i.e. "invoke" history) the history which will be displayed will be only of these things that match in the beginning the letters I have written. Yeah, I have difficulty expressing myself in english. :) Example:

In FARR I write:


So I have this in my history. Then, when I type "a" and press CTRL + UP I want to get "aaaaa" and not "ccccc" as is now. Then, if I press CTRL + UP AGAIN I want to get "aaadd". And so on. Would REALLY love this feature. :)

ALT + SPACE on Windows 7 Ultimate. Never had a problem with it. I can't believe anyone is using anything else, especially the pause/break key... that's just so horribly far from everything...

Yes: you just set it in your definition -- simple html format works fine. something like
Code: HTML [Select]
  1. <i>$2</i>
works OK: I've used that in my onelook search.
-Perry Mowbray (April 25, 2010, 03:09 AM)

hm, the markup from Google contains <em></em> tags, but I don't see any effect in FARR (other than they are gone from the text). Probably if I could do search and replace in the results... :D

The reason for this is that there's s.newave's GooglePlus plugin that covers google search (and in a very sophisticated way). Not sure if it can do conversions and stuff though.

Yes, I have GooglePlus, but as you said it doesn't have the calculator/converter support which is actually the thing I wanted the most. Here, having regular expressions, that's easy enough. :) Otherwise, the google search is not that useful, because you can't see the WHOLE description and the keywords found aren't highlighted (that is why I was asking about the em tags).


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: [1]