DonationCoder.com Software > FARR Plugins and Aliases
Time zone alias (with a general page scraper - could be useful for other things!
Jabberwock:
As the unit converter alias was quite handy, I have decided to look into time zone reporting utility.
Unfortunately, there was no command line utility which I could use for that purpose, although there were quite a few sites with that info... Then I got the idea: how about a general scraper that would get that info?
I've found this utility:
http://www.webscrape.com/
With this getting an alias was trivial:
--- ---1000>>>time>->showmemo Time in $$1:;;;appcapappendmemo C:\Program Files\Internet\PageScrape\pscrape.exe -uhttp://www.timeanddate.com/worldclock/results.html?query=$$u1 -e"Current Time.*big>(.*)<">+>time in (.*)
(BTW, how to display the result in a nice format while typing? For now I see the url, which is rather ugly looking...)
However, the potential for this is much greater. Considering that the utility does multiple matching, you can get custom searches, various lookups etc. The page itself lists weather, exchange rates, spelling and thesaurus...
EDIT: Changed the parameter to be URL friendly...
Perry Mowbray:
That's a nice find...
I use WebMetaSearch that does that in FARR, and of course FARRTimeZone... but I can think of other good uses to put that to instead of doing it by hand...
Jabberwock:
I've missed FARR TimeZone, as it's not listed in the update app... I don't mind at all though, as this made me find the scraper. :)
Perry Mowbray:
Have you had a look at FARR plugin: FarrWebMetaSearch 1.6.0? It's also a powerful scraper with the ability to display as you type (amongst other things)... a little different to what your alias is doing.
No, I agree about the scraper: it's a great find!! ...and your alias is great too! :Thmbsup:
Jabberwock:
From reading the topic I was under impression that WMS does only predefined searches... :o Still, it works a bit different, so maybe the scraper will still be useful for someone.
Navigation
[0] Message Index
[#] Next page
Go to full version