
OpenGuides::RDF::Reader - Parse and return OpenGuides metadata from RDF

use OpenGuides::RDF::Reader;
use WWW::Mechanize;
...
my $agent = WWW::Mechanize->new;
$agent->get("http://fooville.openguides.org/?id=Red_Lion;format=rdf");
my %metadata = parse_rdf($agent->content);

The OpenGuides software deliberately exposes data collected on the town wiki sites, making it available to other websites as RDF / XML. This functionality is provided by the module OpenGuides::RDF supplied in the OpenGuides distribution.
What OpenGuides::RDF::Reader does is the reverse process, i.e. take XML RDF data and turn it back into a hash with keys comprising the metadata fields in OpenGuides. The main use of this is for guide replication.
This exported subroutine takes a string containing RDF and returns a list of metadata key value pairs.

Please report any bugs in this module using http://rt.cpan.org/ or posting to bugs-openguides-rdf-reader (at) rt.cpan.org.

For discussion of all matters relating to OpenGuides, there is a mailing list http://openguides.org/mm/listinfo/openguides-dev.

Ivor Williams
CPAN ID: IVORW
ivorw-openguides (at) xemaps.com
http://openguides.org/

This program is free software licensed under the...
The General Public License (GPL)
Version 2, June 1991
The full text of the license can be found in the LICENSE file included with this module.
