Difference between revisions of "Google User Tools"

From AwasuWiki
Jump to: navigation, search
(Language translation Send to tool)
(Language translation User tool)
Line 76: Line 76:
 
Here is a list of [http://code.google.com/apis/ajaxlanguage/documentation/reference.html#LangNameArray supported languages]
 
Here is a list of [http://code.google.com/apis/ajaxlanguage/documentation/reference.html#LangNameArray supported languages]
  
You may need to modify the URL below if your native langauge is not English, just replace the 'en' in the URL below with the two-character language code of your native language. The two-character language codes are available from Google's [http://code.google.com/apis/ajaxlanguage/documentation/reference.html#LangNameArray supported language] list.
+
You may need to modify the URL below if your native langauge is not English, just replace the 'en' in the URL below with the two-character language code of your native language. The two-character language codes are available from Google's [http://code.google.com/apis/ajaxlanguage/documentation/reference.html#LangNameArray supported language] list, and of course change the Name from "Translate Selected Text to English" to "Translate Selected Text to ''your language''".
  
<pre>http://translate.google.com/translate_t?hl=&tl=en&text={%25SELTEXT%25}</pre>
+
<pre>
 +
[User Tool 1]
 +
Flags=0
 +
MenuText=
 +
Name=Translate Selected Text to English
 +
PostDataTemplate=
 +
RequiresHttpAuth=0
 +
Type=0
 +
UiControl=0
 +
UrlTemplate=http://translate.google.com/translate_t?hl=&tl=en&text={%25SELTEXT%25}
 +
</pre>

Revision as of 08:48, 17 January 2010

Google-based Send to and User tools

One of the things that made Google unique among search engines was that they analyzed the links between web pages and used that link analysis in their calculation of a page's ranking (PageRank). From Google's Advanced Search screen they provide the ability to perform queries upon the links between sites.

Although there are 3 Send to tools and 2 User tools defined below, there are really just three different Google-based queries being performed. But since 2 of them could be used as either a Send to tool or a User tool, and since the syntax is slightly different I thought I'd define all 5 Send to/User tools for clarity and good OOBE for you.

The 3 queries are:

  1. Display the pages that link to this feed item
  2. Display the pages that link to this web site
  3. Display the pages that are related to this web site

Send to tools

Links to feed item:

[User Tool 1]
Flags=0
MenuText=Links to this item
Name=Links to this item
PostDataTemplate=
RequiresHttpAuth=0
Type=0
UiControl=0
UrlTemplate=http://www.google.com/search?btnG=Search&as_lq={%25URL%25}

Links to this web site:

User Tool 1]
Flags=0
MenuText=Links to this site
Name=Links to this site
PostDataTemplate=
RequiresHttpAuth=0
Type=0
UiControl=0
UrlTemplate=http://www.google.com/search?btnG=Search&as_lq={%25CHANNEL-METADATA25% homeUrl}

Related web sites:

[User Tool 1]
Flags=0
MenuText=Related sites
Name=Related sites
PostDataTemplate=
RequiresHttpAuth=0
Type=0
UiControl=0
UrlTemplate=http://www.google.com/search?btnG=Search&as_rq={%25CHANNEL-METADATA%25 homeUrl}

User tools

Links to this web site:

http://www.google.com/search?btnG=Search&as_lq={%25URL%25}

Related web sites:

http://www.google.com/search?btnG=Search&as_rq={%25URL%25}

Language translation Send to tool

Using Google's Language translation service you can translate a feed item into your native language. Here is a list of supported languages

You may need to modify the URL below if your native langauge is not English, just replace the 'en' in the UrlTemplate line below with the two-character language code of your native language. The two-character language codes are available from Google's API documentation, and of course change the Name from "Translate to English" to "Translate to your language".

[User Tool 1]
Flags=0
MenuText=
Name=Translate to English
PostDataTemplate=
RequiresHttpAuth=0
Type=0
UiControl=0
UrlTemplate=http://translate.google.com/translate?hl=en&u={%25URL%25}

Language translation User tool

Using Google's Language translation service you can translate selected text into your native language. Here is a list of supported languages

You may need to modify the URL below if your native langauge is not English, just replace the 'en' in the URL below with the two-character language code of your native language. The two-character language codes are available from Google's supported language list, and of course change the Name from "Translate Selected Text to English" to "Translate Selected Text to your language".

[User Tool 1]
Flags=0
MenuText=
Name=Translate Selected Text to English
PostDataTemplate=
RequiresHttpAuth=0
Type=0
UiControl=0
UrlTemplate=http://translate.google.com/translate_t?hl=&tl=en&text={%25SELTEXT%25}