RDF::LinkedData::Predicates - Module that provides shortcuts to retrieve certain information
Version 0.05
my $pred = RDF::LinkedData::Predicates->new($model); print $pred->title
new ( $model )
Constructor for getting predicates from a model, which is passed to the constructor.
page ( $node )
A suitable page to redirect to, based on foaf:page or foaf:homepage
title ( $node )
A suitable title for the document will be returned, based on document contents
description ( $node )
A suitable description for the document will be returned, based on document contents
html_node_value
Formats the nodes for HTML output.
Most of the code was written by Gregory Todd Williams <gwilliams@cpan.org> for RDF::LinkedData::Apache, but refactored into this class for use by other modules by Kjetil Kjernsmo, <kjetilk at cpan.org>
<gwilliams@cpan.org>
<kjetilk at cpan.org>
Copyright 2010 Gregory Todd Williams and ABC Startsiden AS.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install RDF::LinkedData, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RDF::LinkedData
CPAN shell
perl -MCPAN -e shell install RDF::LinkedData
For more information on module installation, please visit the detailed CPAN module installation guide.