tagging: Allow using titles in for related stories.
[matthijs/upstream/blosxom-plugins.git] / gavinc / plugin_list
1 # Blosxom Plugin: plugin_list
2 # Author(s): Gavin Carr <gavin@openfusion.com.au>
3 # Version: 0.001000
4 # Documentation: See the bottom of this file or type: perldoc plugin_list
5
6 package plugin_list;
7
8 use strict;
9
10 # --- Configuration variables -----
11
12 # None
13
14 # ---------------------------------
15
16 # Package variables
17 use vars qw( $list );
18 $list = '';
19
20 sub start { 1 }
21
22 sub head {
23   return unless @blosxom::plugins; 
24   $list = sprintf "<ul>\n%s</ul>\n", join('', map { "<li>$_</li>\n" } @blosxom::plugins);
25 }
26
27 1;
28
29 __END__
30
31 =head1 NAME
32
33 plugin_list - blosxom plugin to produce an html list ($plugin_list::list) 
34 of loaded plugins
35
36
37 =head1 DESCRIPTION
38
39 plugin_list is a blosxom plugin to produce an html list ($plugin_list::list)
40 of loaded plugins.
41
42
43 =head1 USAGE
44
45 plugin_list has no particular ordering requirements.
46
47
48 =head1 SEE ALSO
49
50 Blosxom: http://blosxom.sourceforge.net/
51
52
53 =head1 AUTHOR
54
55 Gavin Carr <gavin@openfusion.com.au>, http://www.openfusion.net/
56
57
58 =head1 LICENSE
59
60 Copyright 2007, Gavin Carr.
61
62 This plugin is licensed under the same terms as blosxom itself i.e.
63
64 Permission is hereby granted, free of charge, to any person obtaining a
65 copy of this software and associated documentation files (the "Software"),
66 to deal in the Software without restriction, including without limitation
67 the rights to use, copy, modify, merge, publish, distribute, sublicense,
68 and/or sell copies of the Software, and to permit persons to whom the
69 Software is furnished to do so, subject to the following conditions:
70
71 The above copyright notice and this permission notice shall be included
72 in all copies or substantial portions of the Software.
73
74 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
75 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
76 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
77 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
78 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
79 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
80 OTHER DEALINGS IN THE SOFTWARE.
81
82 =cut
83
84 # vim:ft=perl:sw=4
85