-
-
19 Dec 2005 00:50:45 UTC
- Distribution: OpenGuides-RDF-Reader
- Module version: 0.05
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (484 / 18 / 0)
- Kwalitee
Bus factor: 0- 90.91% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (11.74KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- CGI::Wiki::Plugin::Locator::UTM
- Pod::Usage
- Test::Simple
- WWW::Mechanize
- XML::RSS
- XML::Simple
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
OpenGuides::RDF::Reader - Parse and return OpenGuides metadata from RDF
SYNOPSIS
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);
DESCRIPTION
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.
parse_rdf
This exported subroutine takes a string containing RDF and returns a list of metadata key value pairs.
BUGS
Please report any bugs in this module using http://rt.cpan.org/ or posting to bugs-openguides-rdf-reader (at) rt.cpan.org.
SUPPORT
For discussion of all matters relating to OpenGuides, there is a mailing list http://openguides.org/mm/listinfo/openguides-dev.
AUTHOR
Ivor Williams CPAN ID: IVORW ivorw-openguides (at) xemaps.com http://openguides.org/
COPYRIGHT
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.
SEE ALSO
Module Install Instructions
To install OpenGuides::RDF::Reader, copy and paste the appropriate command in to your terminal.
cpanm OpenGuides::RDF::Reader
perl -MCPAN -e shell install OpenGuides::RDF::Reader
For more information on module installation, please visit the detailed CPAN module installation guide.