Author Topic: Dot-Alias for Google and groups  (Read 1240 times)

Admin

  • Forum Admin
  • Administrator
  • Jr. Member
  • *****
  • Posts: 62
    • ICQ Messenger - 1448105
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
Dot-Alias for Google and groups
« on: July 31, 2001, 11:02:37 PM »
Greetings!

The following is an addition to the Dot-Alias (URL Alias List)
blockfile for Proxomitrom.  (Blockfiles are only available in
the Beta.)  Instructions for use and how to add preferences are
included in the comments portion.

To install, copy and paste the following (the info between the
cutlines) into your Alias blockfile and save.  Keep in mind that
the Google "catch-all" Dot-Alias (if used) MUST reside at the
bottom of that blockfile, so don't accidentally insert it after
that!

(By the way, Scott has advised that long blockfile commands *can*
be broken and placed on the new lines, so long as those next
lines are indented.  But, of course! :)

-Mona

----------------------8<-----------------------------

#  Dot-Alias To Run A Search Through Google or GoogleGroups.
#
#  .search[.LANGCODE]/WORD[+WORD]
#   Runs a search for webpages containing the entered word(s).
#
#  .search[.LANGCODE]/"WORD[+WORD]"
#   Runs a search for webpages containing the entered phrase.
#
#  NOTE: The same format applies for GoogleGroups searches;
#  just substitute the dot-alias ".searchgroups".
#
#  [] = optional. The + for each additional word is required.
#  *For a separate plus sign to force a "stop" word, use its
#   escaped value of %2B instead. (See Google's "Search Tips"
#   for more information on "stop" words.)
#  LANGCODE = Language Code; searches requested language pages.
#  If no language code is specified, Google searches all pages.
#
#    zhCN = Chinese (Simplified)  zhTW  = Chinese (Tradition)
#    cs   = Czech                  da   = Danish
#    nl   = Dutch                  en   = English*
#    et   = Estonian               fi   = Finnish
#    fr   = French*                de   = German*
#    el   = Greek                  iw   = Hebrew
#    hu   = Hungarian              is   = Icelandic
#    it   = Italian*               ja   = Japanese
#    ko   = Korean                 lv   = Latvian
#    lt   = Lithuanian             no   = Norwegian
#    pl   = Polish                 pt   = Portuguese*
#    ro   = Romanian               ru   = Russian
#    es   = Spanish*               sv   = Swedish
#
#  Examples:
#
#     .search/hitler+world+war
#     List webpages containing "hitler" AND "world" AND "war".
#
#     .search/"world+war+%2BII"
#     List webpages containing the phrase "World War II".
#
#     .search/hitler+"world+war"
#     List webpages containing "hitler" AND "world war".
#
#     .search/hitler+OR+"world+war"
#     List webpages containing "hitler" OR "world war".
#     NOTE:  The "OR" must be capitalized.
#
#     .search.fr/war
#     List only French webpages containing "war".
#
#  Any of the following can be appended to the end of each
#  Dot-Alias (below), at the end of the $JUMP line, inside
#  the final parenthesis.  The code will activate the
#  associated preference when the Dot-Alias is initiated:
#
#    &num=NUMBER     ...Number to list per results page.
#
#    &newwindow=1    ...Set links to open in a new window.
#
#    &safe=active    ...Use Google's "Safe Search" filter.
#
#    &hl=LANGCODE    ...Translate the search results page.
#                       Languages available: de en es fr it pt
#
#  If the code is NOT added below, the option can be entered
#  when running the actual search by appending it to the
#  end of the search itself, like so:
#
#     .search/"world+war"&num=30
#     List webpages containing "world war", list 30 per page.
#
#  This Dot-Alias Section was last updated July 21, 2001.

search.zhCN/1 &
   $JUMP(http://www.google.com/search?q=1&lr=lang_zh-CN)
search.zhTW/1 &
   $JUMP(http://www.google.com/search?q=1&lr=lang_zh-TW)
search(.(cs|da|nl|en|et|fi|fr|de|el|iw|hu|is|it|ja|ko|lv|lt|no
   |pl|pt|ro|ru|es|sv)$SET(2=&lr=lang_)|)/1 &
   $JUMP(http://www.google.com/search?q=12)
searchgroups.zhCN/1 &
   $JUMP(http://groups.google.com/groups?q=1&lr=lang_zh-CN)
searchgroups.zhTW/1 &
   $JUMP(http://groups.google.com/groups?q=1&lr=lang_zh-TW)
searchgroups(.(cs|da|nl|en|et|fi|fr|de|el|iw|hu|is|it|ja|ko|lv
   |lt|no|pl|pt|ro|ru|es|sv)$SET(2=&lr=lang_)|)/1 &
   $JUMP(http://groups.google.com/groups?q=12)

----------------------8<-----------------------------
With regards from
Admin