1 # Blosxom Plugin: rss10
2 # Author(s): Rael Dornfest <rael@oreilly.com>
4 # Documentation: See the bottom of this file or type: perldoc rss10
8 # --- Configurable variables -----
10 # What is your full name?
11 $creator = 'John Jacob Jingleheimer Schmidt';
13 # What is your email address?
14 $email = 'jjjs@example';
16 # What is your timezone's offset from GMT?
17 $tz_offset = "-08:00"; #PST
19 # What placeholder in your flavour tempalte should I replace with <items />?
20 my $template_placeholder = "{{{items}}}";
22 # What is your TrackBack implementation's URL (if any)?
23 #$trackback_url = "$blosxom::url/tb.cgi";
25 # --- Plug-in package variables -----
31 $generatorAgent = "http://www.raelity.org/apps/blosxom/?v=$blosxom::version";
36 # --------------------------------
40 my $fh = new FileHandle;
51 my($pkg, $path, $filename, $story_ref, $title_ref, $body_ref) = @_;
55 $trackback_ping = $trackback_url ? qq{<trackback:ping rdf:resource="$trackback_url$path/$filename" />} : '';
57 $items .= qq{ <rdf:li rdf:resource="$blosxom::url$path/$filename.html" />\n};
63 my($pkg, $currentdir, $foot_ref) = @_;
73 $blosxom::output =~ s/$template_placeholder/$items/m;
84 Blosxom Plug-in: rss10
88 Purpose: Provides the extra bit of programming needed to produce a valid
89 RSS 1.0 [http://www.purl.org/rss/1.0/] feed for syndication. Works
90 in concert with the associated {head,story,foot,content_type,date}.rss10
97 Version number coincides with the version of Blosxom with which the
98 current version was first bundled.
102 Rael Dornfest <rael@oreilly.com>, http://www.raelity.org/
106 Blosxom Home/Docs/Licensing: http://www.raelity.org/apps/blosxom/
108 Blosxom Plugin Docs: http://www.raelity.org/apps/blosxom/plugin.shtml
112 Address bug reports and comments to the Blosxom mailing list
113 [http://www.yahoogroups.com/group/blosxom].
117 Blosxom and this Blosxom Plug-in
118 Copyright 2003, Rael Dornfest
120 Permission is hereby granted, free of charge, to any person obtaining a
121 copy of this software and associated documentation files (the "Software"),
122 to deal in the Software without restriction, including without limitation
123 the rights to use, copy, modify, merge, publish, distribute, sublicense,
124 and/or sell copies of the Software, and to permit persons to whom the
125 Software is furnished to do so, subject to the following conditions:
127 The above copyright notice and this permission notice shall be included
128 in all copies or substantial portions of the Software.
130 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
131 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
132 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
133 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
134 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
135 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
136 OTHER DEALINGS IN THE SOFTWARE.