1 # Blosxom Plugin: RssLimit # vim:ft=perl:fdm=marker:
2 # Author: Gerfried Fuchs <rhonda@deb.at>
4 # Documentation: See the bottom of this file or type: perldoc RssLimit
16 # --- Configurable variables -----
18 # how many entries for rss feeds?
19 $rss_num_entries = 10;
21 # --------------------------------
23 sub start { # set num_entries {{{
24 if ($blosxom::flavour eq 'rss') {
25 $blosxom::num_entries = $RssLimit::rss_num_entries;
37 RssLimit - blosxom plugin to limit RSS feeds tighter than others
41 RssLimit allows you to limit your RSS feed tigher (or wider, if you so
42 like) than what's displayed usual on your webpage version of your blog.
46 The following package variables can be configured:
50 =item C<$RssLimit:rss_num_entries>
52 Number of entries in the RSS feed. Default is 10.
58 RssLimit should propably be loaded early to not confuse other plugins
59 that make use of $num_entries, like paging plugins.
63 Blosxom: L<http://blosxom.sourceforge.net/>
67 Please address bug reports and comments to the Author.
71 Gerfried Fuchs L<mailto:rhonda@deb.at>,
72 L<http://rhonda.deb.at/projects/blosxom/>
76 Copyright (c) 2004 Gerfried Fuchs
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.