Changeset 281


Ignore:
Timestamp:
May 14, 2006, 12:30:21 PM (14 years ago)
Author:
Dominic Hargreaves
Message:

Move to Wiki::Toolkit.

Location:
wiki-toolkit-plugin-rss-reader/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • wiki-toolkit-plugin-rss-reader/trunk/Build.PL

    r202 r281  
    66
    77Module::Build->new(
    8   module_name  => 'CGI::Wiki::Plugin::RSS::Reader',
     8  module_name  => 'Wiki::Toolkit::Plugin::RSS::Reader',
    99  requires     => {
    1010                    'LWP::Simple' => 0,
  • wiki-toolkit-plugin-rss-reader/trunk/CHANGES

    r206 r281  
     12006-05-14: 1.5
     2            * Move to Wiki::Toolkit name.
     3
    142004-10-21: 1.4
    25            * Add descriptions to RSS items as per request from Kake Pugh.
  • wiki-toolkit-plugin-rss-reader/trunk/README

    r202 r281  
    11NAME
    2 CGI::Wiki::Plugin::RSS::Reader - retrieve RSS feeds for inclusion in
    3 CGI::Wiki nodes
     2Wiki::Toolkit::Plugin::RSS::Reader - retrieve RSS feeds for inclusion in
     3Wiki::Toolkit nodes
    44
    55DESCRIPTION
    6 Use this CGI::Wiki plugin to retrieve an RSS feed from a given URL so
     6Use this Wiki::Toolkit plugin to retrieve an RSS feed from a given URL so
    77that you can include it in a wiki node.
    88
     
    1919USAGE
    2020
    21 This is a plugin for CGI::Wiki, a toolkit for building wikis; therefore
    22 please consult the documentation for CGI::Wiki for relevant information.
     21This is a plugin for Wiki::Toolkit, a toolkit for building wikis; therefore
     22please consult the documentation for Wiki::Toolkit for relevant information.
    2323This module can, however, be used standalone if you wish.
    2424
  • wiki-toolkit-plugin-rss-reader/trunk/lib/Wiki/Toolkit/Plugin/RSS/Reader.pm

    r206 r281  
    1 package CGI::Wiki::Plugin::RSS::Reader;
     1package Wiki::Toolkit::Plugin::RSS::Reader;
    22
    33use warnings;
     
    55use vars qw( $VERSION @ISA );
    66
    7 $VERSION = '1.4';
    8 @ISA = qw(CGI::Wiki::Plugin);
     7$VERSION = '1.5';
     8@ISA = qw(Wiki::Toolkit::Plugin);
    99
    1010use Carp qw(croak);
     
    120120=head1 NAME
    121121
    122 CGI::Wiki::Plugin::RSS::Reader - retrieve RSS feeds for inclusion in CGI::Wiki nodes
     122Wiki::Toolkit::Plugin::RSS::Reader - retrieve RSS feeds for inclusion in Wiki::Toolkit nodes
    123123
    124124=head1 DESCRIPTION
    125125
    126 Use this L<CGI::Wiki> plugin to retrieve an RSS feed from a given URL so
     126Use this L<Wiki::Toolkit> plugin to retrieve an RSS feed from a given URL so
    127127that you can include it in a wiki node.
    128128
    129129=head1 SYNOPSIS
    130130
    131     use CGI::Wiki::Plugin::RSS::Reader;
     131    use Wiki::Toolkit::Plugin::RSS::Reader;
    132132
    133     my $rss = CGI::Wiki::Plugin::RSS::Reader->new(
     133    my $rss = Wiki::Toolkit::Plugin::RSS::Reader->new(
    134134      url   => 'http://example.com/feed.rss'
    135135    );
     
    139139=head1 USAGE
    140140
    141 This is a plugin for L<CGI::Wiki>, a toolkit for building wikis; therefore
    142 please consult the documentation for L<CGI::Wiki> for relevant information.
     141This is a plugin for L<Wiki::Toolkit>, a toolkit for building wikis; therefore
     142please consult the documentation for L<Wiki::Toolkit> for relevant information.
    143143This module can, however, be used standalone if you wish.
    144144
     
    147147=head2 C<new>
    148148
    149     my $rss = CGI::Wiki::Plugin::RSS::Reader->new([options]);
     149    my $rss = Wiki::Toolkit::Plugin::RSS::Reader->new([options]);
    150150
    151151Create a new RSS reader. Valid options are C<url> or C<file> (a path to an
     
    167167
    168168Earle Martin (EMARTIN@cpan.org)
     169The Wiki::Toolkit team, (http://www.wiki-toolkit.org/)
    169170
    170171=head1 LEGAL
    171172
    172173Copyright 2004 Earle Martin.
     174Copyright 2006 the Wiki::Toolkit team.
    173175
    174176This module is free software; you can redistribute it and/or modify
  • wiki-toolkit-plugin-rss-reader/trunk/t/rss.t

    r206 r281  
    6363
    6464#1
    65 use_ok("CGI::Wiki::Plugin::RSS::Reader");
     65use_ok("Wiki::Toolkit::Plugin::RSS::Reader");
    6666
    67 my $rss = CGI::Wiki::Plugin::RSS::Reader->new(
     67my $rss = Wiki::Toolkit::Plugin::RSS::Reader->new(
    6868  file => $rss_file,
    6969);
    7070
    7171#2
    72 isa_ok($rss, "CGI::Wiki::Plugin");
     72isa_ok($rss, "Wiki::Toolkit::Plugin");
    7373
    7474my @items = $rss->retrieve;
     
    8383is($items[0]{description}, 'The first example.', 'Got local description');     
    8484 
    85 $rss = CGI::Wiki::Plugin::RSS::Reader->new(
     85$rss = Wiki::Toolkit::Plugin::RSS::Reader->new(
    8686  url => 'http://example.com/example.rss',
    8787);
     
    104104
    105105  # Illegal usage.
    106   $rss = CGI::Wiki::Plugin::RSS::Reader->new(
     106  $rss = Wiki::Toolkit::Plugin::RSS::Reader->new(
    107107    url  => 'http://example.com/example.rss',
    108108    file => $rss_file,
Note: See TracChangeset for help on using the changeset viewer.