Kwiki::RecentChangesRSS - Kwiki RSS Plugin
Provides an RSS 2.0 feed of your recent changes.
Kwiki 0.33 XML::RSS
perl Makefile.PL make make test make install cd ~/where/your/kwiki/is/located vi plugins
Add this line to the plugins file:
Kwiki::RecentChangesRSS kwiki -update
Then glance over the settings in config/rss.yaml and the documentation below. Add your settings to config.yaml.
You should always run 'kwiki -update' after upgrading Kwiki::RecentChangesRSS, as typically there are new configuration options that need to be installed in config/rss.yaml.
In config.yaml, following are necessary for proper functioning:
The URL of the site this feed applies to. Don't include the default "script_name" set in your config.yaml or config/config.yaml.
For example, if your URL looks like
The number of days you go back in time for recent changes. Defaults to 7 days.
Included in this distribution is a sample icon, xml.png. To use it, put
in your config.yaml file. If you have a better one, just put it in the top of your Kwiki directory.
This plugin defaults to a terse RSS 2.0 feed, where news reader will simply display the page title and who last edited it. If you want to see the entire page, the following into your config.yaml file:
The <channel> block of the feed requires the following elements to be defined:
The title of your website.
Short descriptive text describing this feed or website.
The following are optional for RSS 2.0:
An RFC 1766 language code, such as en-US.
A PICS rating, if necessary. See http://www.w3.org/PICS/.
Your copyright line.
The URL to a document describing the RSS 2.0 protocol, currently: http://blogs.law.harvard.edu/tech/rss
Email address of the person responsible for the editorial content.
Email address of the person responsible for technical issues regarding the RSS feed.
A category designation for this feed. Can be any short text or word.
A string indicating what program generated this feed. Currently 'Kwiki::RecentChangesRSS/XML::RSS'.
Not implemented. Specifies a HTTP-POST, XML-RPC or SOAP interface to get notification of updates to this feed.
Not implemented. Specifies a time to live value in minutes to determine how long you should cache this feed before updating.
URL of a GIF, JPEG or PNG image to be displayed with the channel.
Not implemented. The PICS rating for the wiki.
Not implemented. Allows you to define a simple form for input.
Not implemented. Speficies the hours in which this feed should not be used.
Not implemented. Speficies the days of the week in which this feed should not be used.
This is a modified a private version of Kwiki::RecentChanges by Brian Ingerson. To fix [cpan #7524] bug, used website link method used by Brian's own version of Kwiki::RecentChangesRSS (developed independently of this module).
Joon and ambs on #kwiki for finding UTF-8 problems.
David Jones for catching that <img> wasn't XHTML compliant.
Copyright (c) 2004. James Peregrino. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.