Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Just a Moose::Role containing a collection of methods to extract some useful information from RDF models
Perl
Branch: master
Pull request Compare This branch is 1 commit behind kjetilk:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/RDF/Helper
meta
t
xt
MANIFEST.SKIP
Makefile.PL
README

README

NAME
    RDF::Helper::Properties - Module that provides shortcuts to retrieve
    certain information

VERSION
    Version 0.10

SYNOPSIS
        my $pred = RDF::Helper::Properties->new($model);
        print $pred->title

METHODS
    "new ( model => $model )"
        Constructor for getting predicates from a model, which is passed to
        the constructor.

    "model"
        Will return the current model.

    "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.

    with_role
        Is there just because of quirk in Error, don't worry about it.

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.

Something went wrong with that request. Please try again.