Tags:
integration1Add my vote for this tag search2Add my vote for this tag create new tag
, view all tags

GoogleSearchPlugin

Create Google search links in topics

Overview

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

  • %GOOGLE_SEARCH% creates a link to a Google search for the current topic.
  • %GOOGLE_SEARCH{topic="AnyName"}% creates a link to a Google search on any topic or keyword in Wiki notation.

Examples

  • %GOOGLE_SEARCH% returns:
    %GOOGLE_SEARCH%
  • %GOOGLE_SEARCH{topic="AnyName"}% returns:
    %GOOGLE_SEARCH{topic="AnyName"}%

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 TWiki server.

  • For an automated installation, run the configure script and follow "Find More Extensions" in the in the Extensions section.

  • Or, follow these manual installation steps:
    • Download the ZIP file from the Plugins home (see below).
    • Unzip GoogleSearchPlugin.zip in your twiki installation directory. Content:
      File: Description:
      data/TWiki/GoogleSearchPlugin.txt Plugin topic
      lib/TWiki/Plugins/GoogleSearchPlugin.pm Plugin Perl module
    • Set the ownership of the extracted directories and files to the webserver user.

  • Plugin configuration and testing:
    • Run the configure script and enable the plugin in the Plugins section.
    • Test if the installation was successful: See examples above.

Plugin Info

Plugin Author: TWiki:Main.AshishNaval
Copyright: © 2004 TWiki:Main.AshishNaval
© 2008-2011 TWiki:TWiki.TWikiContributor
License: GPL (GNU General Public License)
Plugin Version: 2011-03-15
Change History:  
2011-03-15: TWikibug:Item6638: Doc fixes; changing TWIKIWEB to SYSTEMWEB; XHTML fixes; change variable name from GOOGLE_SEARCH_PLUGIN to just GOOGLE_SEARCH -- TWiki:Main.PeterThoeny
2004-10-30: 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

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatmd5 GoogleSearchPlugin.md5 r3 r2 r1 manage 0.2 K 2011-03-16 - 05:48 PeterThoeny  
Compressed Zip archivetgz GoogleSearchPlugin.tgz r3 r2 r1 manage 4.2 K 2011-03-16 - 05:48 PeterThoeny  
Compressed Zip archivezip GoogleSearchPlugin.zip r6 r5 r4 r3 r2 manage 5.7 K 2011-03-16 - 05:48 PeterThoeny  
Unknown file formatEXT GoogleSearchPlugin_installer r3 r2 r1 manage 3.4 K 2011-03-16 - 05:48 PeterThoeny  
Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r11 - 2013-10-16 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2016 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.