2 # Author(s): Rael Dornfest <rael@oreilly.com>
4 # Documentation: See the bottom of this file or type: perldoc tiki
8 # --- Configurable variables -----
10 # What flag in your weblog entries lets me know to turn on tiki translation?
11 my $tiki_on_flag = "<!-- tiki on -->";
13 # --------------------------------
15 use lib qq{$blosxom::plugin_dir/lib};
18 eval "require Text::Tiki";
23 my($pkg, $path, $filename, $story_ref, $title_ref, $body_ref) = @_;
25 $$body_ref =~ s/$tiki_on_flag//mi or return 0;
27 my $processor=new Text::Tiki;
28 $$body_ref = $processor->format($$body_ref);
43 Purpose: Provides Tiki [http://www.mplode.com/tima/archives/000215.html]
44 formatting for Weblog entries.
46 Assumes $plugin_dir/lib/Text/Tiki.pm
52 Version number coincides with the version of Blosxom with which the
53 current version was first bundled.
57 Rael Dornfest <rael@oreilly.com>, http://www.raelity.org/
59 This plugin is now maintained by the Blosxom Sourceforge Team,
60 <blosxom-devel@lists.sourceforge.net>.
64 Blosxom Home/Docs/Licensing: http://blosxom.sourceforge.net/
66 Blosxom Plugin Docs: http://blosxom.sourceforge.net/documentation/users/plugins.html
70 None known; please send bug reports and feedback to the Blosxom
71 development mailing list <blosxom-devel@lists.sourceforge.net>.
75 Blosxom and this Blosxom Plug-in
76 Copyright 2003, Rael Dornfest
78 Permission is hereby granted, free of charge, to any person obtaining a
79 copy of this software and associated documentation files (the "Software"),
80 to deal in the Software without restriction, including without limitation
81 the rights to use, copy, modify, merge, publish, distribute, sublicense,
82 and/or sell copies of the Software, and to permit persons to whom the
83 Software is furnished to do so, subject to the following conditions:
85 The above copyright notice and this permission notice shall be included
86 in all copies or substantial portions of the Software.
88 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
89 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
90 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
91 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
92 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
93 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
94 OTHER DEALINGS IN THE SOFTWARE.