HTML::Microformats::Mixin::RDF - RDF output mixin
HTML::Microformats::Mixin::RDF provides some utility code for microformat modules to more easily output RDF. It includes methods _simple_rdf which takes an RDF::Trine model as a parameter and adds some basic triples to it based on the object's format signature; and _make_literal taking either a string plus datatype as parameters, or any of the HTML::Microformats::Datatype objects, returning an RDF::Trine::Node::Literal.
_simple_rdf
_make_literal
HTML::Microformats::Format inherits from this module, so by extension, all the microformat modules do too.
Please report any bugs to http://rt.cpan.org/.
HTML::Microformats
Toby Inkster <tobyink@cpan.org>.
Copyright 2008-2010 Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
To install HTML::Microformats, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Microformats
CPAN shell
perl -MCPAN -e shell install HTML::Microformats
For more information on module installation, please visit the detailed CPAN module installation guide.