Log In
or
Register
TWiki Web
Users
Groups
Index
Search
Changes
Notifications
Statistics
Preferences
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
AdminToolsCategory
InterWikis
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
Main
Sandbox
TWiki
You are here:
FS
>
TWiki Web
>
TestTopic3
?
>
GuidPlugin
r2 - 25 Feb 2004 - 14:24 -
BruceDillahunty
?
E
dit
A
ttach
P
rintable
Start of topic |
Skip to actions
---+ GUID Plugin This pluging is a blantant ripoff of TWiki:Plugins.UniqueIdPlugin by [[TWiki:Main.MichaelSparks][MS]] (THANKS!!!). I wanted a <nop>UniqueID generator that would generate standard GUID/UUID type IDs (guaranteed unique across machines, etc...) I found the nice CPAN module of Data::UUID that takes care of all of this. This plugin is just a "wrapper" so that TWiki can call the perl module. You MUST have the perl module loaded first. ---++ Syntax Rules | *You Type* | *You Get* | *Comment* | | %<nop>GUID_ID% | %GUID_ID% | default is string type | | %<nop>GUID_ID{type="str"}% | %GUID_ID{type="str"}% | string representation | | %<nop>GUID_ID{type="bin"}% | %GUID_ID{type="bin"}% | binary representation | | %<nop>GUID_ID{type="hex"}% | %UNIQUE_ID{type="hex"}% | hex | | %<nop>GUID_ID{type="b64"}% | %UNIQUE_ID{type="b64"}% | base64 | ---++ <nop>%TOPIC% Global Settings Plugin settings are stored as preferences variables. To reference a plugin setting write ==%<nop><plugin>_<setting>%==, for example, ==%<nop>EMPTYPLUGIN_SHORTDESCRIPTION%== * One line description, shown in the %TWIKIWEB%.TextFormattingRules topic: * Set SHORTDESCRIPTION = Generates GUID unique ids * Debug plugin: (See output in =data/debug.txt=) * Set DEBUG = 0 ---++ Plugin Installation Instructions <i>Like Michael, I'm leaving packaging up to somebody that really knows what they are doing, but this seems to work for me.</i> __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 files below * Put them as follows | *File:* | *Description:* | | ==data/TWiki/%TOPIC%.txt== | Plugin topic | | ==data/TWiki/%TOPIC%.txt,v== | Plugin topic repository | | ==lib/TWiki/Plugins/%TOPIC%.pm== | Plugin Perl module | * Test if the plugin is correctly installed: * (describe tests here) ---++ Plugin Info | Plugin Author: | TWiki:Main.BruceDillahunty | | Plugin Version: | 25 Feb 2004 (V1.000) | | Change History: | <!-- specify latest version first --> | | 25 Feb 2004: | Initial version | | CPAN Dependencies: | Data::UUID | | Other Dependencies: | none | | Perl Version: | 5.005 | | Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC% | | Feedback: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev | __Related Topics:__ %TWIKIWEB%.TWikiPreferences, %TWIKIWEB%.TWikiPlugins -- TWiki:Main.BruceDillahunty - 25 Feb 2004
End of topic
Skip to actions
|
Back to top
E
dit
|
A
ttach
|
P
rintable
|
R
aw view
|
Backlinks:
We
b
,
A
l
l webs
|
H
istory
: r2
<
r1
|
M
ore topic actions
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding FS?
Send feedback