Toby Inkster

NAME

HTML::Microformats::Mixin::RDF - RDF output mixin

DESCRIPTION

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.

HTML::Microformats::Format inherits from this module, so by extension, all the microformat modules do too.

BUGS

Please report any bugs to http://rt.cpan.org/.

SEE ALSO

HTML::Microformats

AUTHOR

Toby Inkster <tobyink@cpan.org>.

COPYRIGHT AND LICENCE

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.

DISCLAIMER OF WARRANTIES

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.