topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday March 29, 2024, 6:42 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

Author Topic: Alias: SokuGin - Some More Searches  (Read 8816 times)

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Alias: SokuGin - Some More Searches
« on: November 27, 2008, 01:25 AM »
What Is It?

SokuGin is an alias which provides a fair number of web-based searches. 

Installation

  • Download the SokuGin alias (SokuGin.zip).
  • Extract the contents under %FARRDIR%\AliasGroups\Installed\ [1] -- what you want to end up with is a SokuGin directory (containing among other files a file named "SokuGin.alias") that lives under the Installed directory.  Depending on your decompression method, a SokuGin directory may or may not be created.  If one is not created, please create one manually.  IIUC, this non-existence of a top-level directory within the archive file is for working with DCUpdater -- FARR plugins do this too, AFAICT.

Example Usage

  • Bring up FARR.
  • Type: sg Amazon:little schemer
  • Choose one of the results (e.g. via numeric keypad).

Please note the existence of a colon character in the example.  Also note that colors were used in this post for illustrative purpose only ;)

Notes

The string entered in the FARR window is basically made of 4 pieces:

  • "sg" is short for "SokuGin" -- this is the alias name.
  • The string (w/o the leading spaces) following "sg" and preceeding the last colon in the line specifies a search location.
  • For the alias to distinguish between the search location and the search string, a colon character is used as a separator.
  • The string following the last colon on the line is a search string.

See Regex Alias Filter Patterns for background on how this type of alias works.

The source of the web-based searches is a user-contributed Wiki page so there are likely a number of searches that are broken -- I've pruned some that were broken and others that were not straight-forward to make an alias for (e.g. POST-based queries) but I didn't check all of them (there are > 500 searches).

Credits

  • mouser - FARR, improvements and testing
  • Quicksilver and its user community - provided web-based searches
  • GNU Emacs - data munging of Wiki page data
  • lanux128 - started the Alias: Send Twitter updates from Farr topic on which the current post is based
  • Others - ok, enough -- most things in the world seem to have multiple contributing factors, it can be interesting exploring what those might have been, but if you want to do anything else with your life, you probably have to stop somewhere...I think


[1] I think %FARRDIR% is the FARR installation directory.
« Last Edit: January 26, 2009, 07:46 AM by ewemoa »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Alias: SokuGin - Some More Searches
« Reply #1 on: November 27, 2008, 06:37 AM »
GREAT!  :Thmbsup: :Thmbsup: :Thmbsup:

ps. for anyone curious, there are over 500 web searches in this alias(!)
« Last Edit: November 27, 2008, 06:40 AM by mouser »

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,747
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Alias: SokuGin - Some More Searches
« Reply #2 on: January 25, 2009, 07:45 PM »
.dcupdate file doesn't work.

Also, the zip file does not contain any path information. So to install people will need to manually create a SokuGin directory at the appropriate path described in the installation information.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Alias: SokuGin - Some More Searches
« Reply #3 on: January 25, 2009, 10:59 PM »
Thanks for taking the time to test and provide detailed feedback.

I intend to investigate these points and hope to address them soon :)

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Alias: SokuGin - Some More Searches
« Reply #4 on: January 26, 2009, 07:48 AM »
For the time being I have done the following:

  • Modified the installation instructions in the first post.
  • Attempted to address the .dcupdate file issue (it appears I had never uploaded a versioninfo.xml file, so I did so)