The name "Wikit" can be interpreted in two ways:
- An implementation of Wiki in Tcl
- An implementation of Wiki using MetaKit.
Both are accurate.
Wikit can be used as a CGI process (see Wikit under CGI), in which case it becomes a part of your web server, or it can be used standalone, running locally with a Tcl/Tk graphical front end (see Wikit in local mode). The former makes collaborative editing possible, the latter includes a high-performance search facility and makes it very easy to browse and edit information off-line.
Right now, these two mechanisms do not mix.
What you can do, however, is download a copy of an active web-based WiKit (such as this one, the Tcl'ers Wiki), and keep it around as reference to what that snapshot contains. WiKit is fully self contained in a single platform-independent file, called a scripted document. It requires a platform-dependent runtime called Tclkit, There are runtimes for over a dozen platforms.
Furthermore, as of 2002, Wikit can be embedded as a hyperlinked and searchable help system.
-- JC
Other pages on this wiki are:
The following procedure can be used to add gif image files to a stand alone wikit database (i.e. .tkd file).
Assumptions
- a directory named dir exist
- a wikit database named wikit.tkd is in the directory
- a gif image file named image.gif is in the directory
Procedure
- Open the wikit database using wikit.kit application.
- Edit the page where the image is to added and add the following text [http://image.gif] where the image is to appear.
- Save the changes to the page and exit wikit
- Run the following command in the dir directory.
% tclkit wikit.kit -images scan wikit.tkd
Scanning 17 wiki pages...
1 urls added, 0 urls deleted
- Then run this command in the dir directory.
% tclkit wikit.kit -images local wikit.tkd
1 local images copied
- The image is now loaded into the wikit database (so try it out :-)
-image options
- tclkit wikit.kit -images scan wikit.tkd
- Scans all pages, updating an "image cache" inside the wikit.tkd datafile (this does not fetch images, it just updates that cache) repeated calls are incremental: adds new / deletes unused items
- tclkit wikit.kit -images list wikit.tkd
- Lists all entries currently in the image cache, with fetch/file dates
- tclkit wikit.kit -images get wikit.tkd
- This goes through the image cache and fetches any entries which have not been successfully fetched before (only images <= 100 Kb)
- tclkit wikit.kit -images local wikit.tkd
- Goes through caches, storing all images it can find in [pwd], i.e. updates and replaces what is in the cache with local file copies (can be used to add/replace, and to store images > 100 Kb)
- tclkit wikit.kit -images clear wikit.tkd
- Clear the image cache (does not compact the wikit datafile, but space will be re-use
Tom Krehbiel
Category Wikit - Category Tcler's Wiki