Changeset 33


Ignore:
Timestamp:
Apr 20, 2003, 8:20:22 PM (19 years ago)
Author:
kake
Message:

Use OpenGuides::RDF instead of CGI::Wiki::Plugin::ChefMoz?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wiki.cgi

    r32 r33  
    66use vars qw( $VERSION );
    77$VERSION = '0.01';
     8
     9use lib "lib"; # for OpenGuides modules that are installed with this script
    810
    911use CGI qw/:standard/;
     
    1517use CGI::Wiki::Formatter::UseMod;
    1618use CGI::Wiki::Plugin::Locator::UK;
    17 use CGI::Wiki::Plugin::ChefMoz;
    1819use CGI::Wiki::Plugin::RSS::ModWiki;
    1920use Config::Tiny;
    2021use Geography::NationalGrid;
    2122use Geography::NationalGrid::GB;
     23use OpenGuides::RDF;
    2224use Template;
    2325use Time::Piece;
     
    473475    my %args = @_;
    474476    my $node = $args{node};
    475     my $rss = CGI::Wiki::Plugin::ChefMoz->new(
     477    my $rdf_writer = OpenGuides::RDF->new(
    476478        wiki      => $wiki,
    477479        site_name => $site_name,
     
    491493             }
    492494        },
    493         full_node_prefix => "REMOVE - not used",
    494495        default_city => $default_city,
    495496        default_country => $default_country
     
    497498
    498499    print "Content-type: text/plain\n\n";
    499     print $rss->chef_dan( node => $node );
     500    print $rdf_writer->emit_rdfxml( node => $node );
    500501    exit 0;
    501502}
Note: See TracChangeset for help on using the changeset viewer.