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

NAME

RDF::Server::Formatter::RDF - Work with RDF/RSS documents

SYNOPSIS

 package My::Server;

 protocol 'HTTP';
 interface 'REST';
 semantic 'Atom';

 format [qw(rdf rss)] => 'RDF';

DESCRIPTION

Creates RDF/RSS documents. This is primarily a thin interface module since the internal data is managed as RDF.

Most methods that return documents also return a mime type of application/rdf+xml.

METHODS

wants_rdf

This returns true. The RDF formatter works with RDF when rendering resources.

resource

Returns an RDF representation of a resource.

to_rdf

Returns the RDF representation of the given RDF document.

feed

Returns an RSS representation of a list of resources.

category

Returns an RDF document describing a category. Categories are part of the ATOM spec.

collection

Returns an RDF document describing a set of resources and categories. Collections are part of the ATOM spec.

workspace

Returns an RDF document describing a set of collections. Workspaces are part of the ATOM spec.

service

Returns an RDF document describing a set of workspaces. Services are part of the ATOM spec.

AUTHOR

James Smith, <jsmith@cpan.org>

LICENSE

Copyright (c) 2008 Texas A&M University.

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.