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::Datatypes objects, returning an RDF::Trine::Node::Literal.

HTML::Microformats::BASE 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

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.