The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

RDF::LinkedData::Predicates - Module that provides shortcuts to retrieve certain information

VERSION

Version 0.05

SYNOPSIS

    my $pred = RDF::LinkedData::Predicates->new($model);
    print $pred->title

METHODS

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.

AUTHOR

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>

COPYRIGHT & LICENSE

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.