r6 - 21 Sep 2006 - 00:45:25 - PeterThoenyYou are here: TWiki >  Plugins Web > GoogleSearchPlugin
Tags:
integration 1 Add my vote for this tag, search 2 Add my vote for this tag, , create new tag

GoogleSearchPlugin

This Plugin allows the topic creator to specify if he/she wants to create link to search in Google for the meaning of the topic. It divides the topic name into various parts for the search.

Syntax Rules

  • A Link Will be created which will refer to Google Search for the topic.
  • Clicking on the link Google Page with parameters as the parts of topic name will be opened

Examples

  • %GOOGLE_SEARCH_PLUGIN% will search on topic name
  • %GOOGLE_SEARCH_PLUGIN{topic="AnyName"}% will search on any topic or keyword in Wiki notation

Plugin Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION%

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = Create Google search links in topics

  • Debug plugin: (See output in data/debug.txt) set it to (0 or 1)
    • Set DEBUG = 0

Plugin Installation Instructions

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.

  • Download the ZIP file from the Plugin web (see below)
  • Unzip GoogleSearchPlugin.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/GoogleSearchPlugin.txt Plugin topic
    data/TWiki/GoogleSearchPlugin.txt,v Plugin topic repository
    lib/TWiki/Plugins/GoogleSearchPlugin.pm Plugin Perl module

Plugin Info

Plugin Author: TWiki:Main/AshishNaval
Plugin Version: 31 Oct 2004 (V1.001)
Change History:  
30 Oct 2004: Initial version
TWiki Dependency: $TWiki::Plugins::VERSION 1.024
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.6.1
TWiki:Plugins/Benchmark: GoodStyle nn%, FormattedSearch nn%, GoogleSearchPlugin nn%
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/GoogleSearchPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/GoogleSearchPluginDev

Related Topics: TWikiPreferences, TWikiPlugins

-- TWiki:Main/AshishNaval - 30 Oct 2004

Topic attachments
I Attachment Action Size Date Who Comment
zipzip GoogleSearchPlugin.zip manage 3.5 K 31 Oct 2004 - 06:01 AshishNaval  
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r6 < r5 < r4 < r3 < r2 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo