File: README

package info (click to toggle)
librdf-helper-properties-perl 0.10-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 228 kB
  • sloc: perl: 1,454; makefile: 10
file content (48 lines) | stat: -rw-r--r-- 1,346 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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.