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://blosxom.sourceforge.net/?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/
104 This plugin is now maintained by the Blosxom Sourceforge Team,
105 <blosxom-devel@lists.sourceforge.net>.
109 Blosxom Home/Docs/Licensing: http://blosxom.sourceforge.net/
111 Blosxom Plugin Docs: http://blosxom.sourceforge.net/documentation/users/plugins.html
115 None known; please send bug reports and feedback to the Blosxom
116 development mailing list <blosxom-devel@lists.sourceforge.net>.
120 Blosxom and this Blosxom Plug-in
121 Copyright 2003, Rael Dornfest
123 Permission is hereby granted, free of charge, to any person obtaining a
124 copy of this software and associated documentation files (the "Software"),
125 to deal in the Software without restriction, including without limitation
126 the rights to use, copy, modify, merge, publish, distribute, sublicense,
127 and/or sell copies of the Software, and to permit persons to whom the
128 Software is furnished to do so, subject to the following conditions:
130 The above copyright notice and this permission notice shall be included
131 in all copies or substantial portions of the Software.
133 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
134 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
135 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
136 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
137 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
138 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
139 OTHER DEALINGS IN THE SOFTWARE.