Changeset 703


Ignore:
Timestamp:
Nov 2, 2005, 2:17:04 AM (16 years ago)
Author:
Earle Martin
Message:

DOAP metadata for RSS feed from new CGI::Wiki::Plugin::RSS

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Build.PL

    r702 r703  
    223223        'CGI::Wiki::Plugin::Diff'         => '0.07', # earlier buggy
    224224        'CGI::Wiki::Plugin::Locator::Grid'=> '0.02', # cope with sqlite 3
    225         'CGI::Wiki::Plugin::RSS::ModWiki' => '0.073', # earlier doesn't escape XML properly
     225        'CGI::Wiki::Plugin::RSS::ModWiki' => '0.08', # supports DOAP metadata
    226226        'CGI::Wiki::Plugin::RSS::Reader'  => '1.3',  # earlier versions don't support RSS 2.0
    227227        'Class::Accessor'                 => 0,
  • trunk/Changes

    r702 r703  
    1616            - Show node summary in search results.
    1717          * New "format=raw" option for outputting wiki text of a node.
     18          * RSS feed now contains DOAP (http://usefulinc.com/doap) metadata.
    1819       
    1920        RDF bugfixes:
     
    2324          * Add "address" field that was missing from the RDF node view.
    2425          * Update URL for Dublin Core elements in RDF index view.
     26          * Fix URL in the RSS <channel> element to point to the RSS URL,
     27            not the RecentChanges page URL.
    2528       
    2629        Search bugfixes:
  • trunk/PREREQUISITES

    r702 r703  
    1111CGI::Wiki::Plugin::Diff (version 0.07 or later)
    1212CGI::Wiki::Plugin::Locator::Grid (version 0.02 or later)
    13 CGI::Wiki::Plugin::RSS::ModWiki (version 0.073 or later)
     13CGI::Wiki::Plugin::RSS::ModWiki (version 0.08 or later)
    1414CGI::Wiki::Plugin::RSS::Reader (version 1.3 or later)
    1515Class::Accessor
  • trunk/lib/OpenGuides.pm

    r702 r703  
    661661
    662662    my $rdf_writer = OpenGuides::RDF->new(
    663                                              wiki   => $self->wiki,
    664                                              config => $self->config
     663                                             wiki       => $self->wiki,
     664                                             config     => $self->config,
     665                                             og_version => $VERSION,
    665666                                         );
    666667    my $output = "Content-Type: text/plain\n";
  • trunk/lib/OpenGuides/RDF.pm

    r702 r703  
    44
    55use vars qw( $VERSION );
    6 $VERSION = '0.071';
     6$VERSION = '0.08';
    77
    88use CGI::Wiki::Plugin::RSS::ModWiki;
     
    5151    $self->{default_country}  = $config->default_country  || "";
    5252    $self->{site_description} = $config->site_desc        || "";
     53    $self->{og_version}       = $args{og_version};
    5354
    5455    $self;
     
    208209          wiki                => $self->{wiki},
    209210          site_name           => $self->{site_name},
     211          site_url            => $self->{config}->script_url,
    210212          site_description    => $self->{site_description},
    211213          make_node_url       => $self->{make_node_url},
    212           recent_changes_link => $self->{config}->script_url . uri_escape($self->{config}->script_name) . "?RecentChanges"
     214          recent_changes_link => $self->{config}->script_url . '?action=rss',
     215          software_name       => 'OpenGuides',
     216          software_homepage   => 'http://openguides.org/',
     217          software_version    => $self->{og_version},
    213218        );
    214219    }
Note: See TracChangeset for help on using the changeset viewer.