preview templates using skins and appropriate API handlers
| you type | you get | if correctly installed |
|---|---|---|
| Example of a plugin that suggests topic links found in text | Example of a plugin that suggests topic links found in text |
Example of a plugin that suggests topic links found in text |
%<plugin>_<setting>%, i.e. %NEWPLUGIN_SHORTDESCRIPTION%
$topic stands for the topic name suggested, $web for the web you selected.
SuggestLinksPlugin.zip in your twiki installation directory. Content: | File: | Description: |
|---|---|
data/TWiki/SuggestLinksPlugin.txt | Plugin topic |
lib/TWiki/Plugins/SuggestLinksPlugin.pm | Plugin Perl module |
suggestions=on
suggestionsWeb=TWiki this is the web you want to get the links from (default: the current web)
suggestionsLength=3 (default: patterns of no more than 4 words -- max limit = 6 i.e. 240 permutations per topic)
edit.suggest.tmpl template can be used to enable suggestions during preview. To use it set COVER=suggest (or add skin=suggest to the URL)
alt="Plugins.SuggestLinksPlugin" string.
| Plugin Author: | TWiki:Main/AndreaSterbini |
| Copyright: | © 2001 TWiki:Main/AndreaSterbini © 2007-2011 TWiki:Main.TWikiContributors |
| License: | GPL (GNU General Public License) |
| Plugin Version: | 2011-02-01 |
| Change History: | |
| 2011-02-01: | TWikibug:Item6638: Doc improvements; XHTML fixes; changing TWIKIWEB to SYSTEMWEB -- TWiki:Main.PeterThoeny |
| 2001-11-26: | Initial version |
| TWiki Dependency: | $TWiki::Plugins::VERSION 1.1 |
| CPAN Dependencies: | CPAN:List::Permutor |
| Other Dependencies: | none |
| Perl Version: | 5.005 |
| Benchmarks: | GoodStyle nn%, FormattedSearch nn%, SuggestLinksPlugin nn% |
| Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/SuggestLinksPlugin |
| Feedback: | http://TWiki.org/cgi-bin/view/Plugins/SuggestLinksPluginDev |
| Appraisal: | http://TWiki.org/cgi-bin/view/Plugins/SuggestLinksPluginAppraisal |
| PackageForm | |
|---|---|
| TopicClassification | PluginPackage |
| TestedOnTWiki | 5.1, 5.0, 4.3, 4.2, 4.1, 4.0.0 |
| TestedOnOS | OsLinux |
| ShouldRunOnOS | AnyOS |
| InstalledOnTWikiOrg | No |
| DemoUrl | |
| DevelopedInSVN | Yes |
| ModificationPolicy | PleaseFeelFreeToModify |
| RelatedTopics | |
| I | Attachment | Action | Size | Date | Who | Comment |
|---|---|---|---|---|---|---|
| |
SuggestLinksPlugin.md5 | manage | 0.2 K | 2011-02-01 - 08:37 | PeterThoeny | |
| |
SuggestLinksPlugin.tgz | manage | 7.8 K | 2011-02-01 - 08:37 | PeterThoeny | |
| |
SuggestLinksPlugin.zip | manage | 10.2 K | 2011-02-01 - 08:36 | PeterThoeny | |
| |
SuggestLinksPlugin_installer | manage | 3.5 K | 2011-02-01 - 08:37 | PeterThoeny |