GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  RDFSTORE::SERIALIZER::RSS (3)

.ds Aq ’

NAME

RDFStore::Serilizer::RSS - Serialise a model/graph to its XML RSS1.0 representation

CONTENTS

SYNOPSIS



        use RDFStore::Serializer::RSS;

        my $model= new RDFStore::Model();
        $model->add($statement);
        $model->add($statement1);
        $model->add($statement2);

        my $serializer = new RDFStore::Serializer::RSS;

        my $rdf_strawman = $serializer->serialize( $model ); # serialise model to a string in-memory
        my $rdf_strawman = $serializer->serialize( $model, undef, {}, $base ); # using xml:base
        my $rdf_strawman = $serializer->serialize( $model, undef, { http://purl.org/rss/1.0/ => blog } ); # using my blog namespace

        $serializer->serialize( $model, *STREAM ); # serialise model to a given descriptor (stream)



DESCRIPTION

An RDFStore::Model serializer to its XML RSS1.0 representation - see http://purl.org/rss/1.0/

CONSTRUCTORS

The following methods construct RDFStore::Serializer::RSS :
new ()


 Create an new RDFStore::Serializer object to serialize and RDFStore::Model.



METHODS

write ( MODEL [ , FILEHANDLE_REF, NAMESPACES, BASE ] )


 Write out the given MODEL to FILEHANDLE_REF (or in-memory string if not passed) using a given list of NAMESPACES and xml:base BASE if passed. The NAMESPACES hash ref contains a list of namespace values (URI refs) and prefix names - see RDFStore::Vocabulary::Generator(3). By default the output is returned from the method into a string otheriwse a valid (and opened) FILEHANLDE_REF can be passed, which will be being printed to.



serialize ( MODEL [ , FILEHANDLE_REF, NAMESPACES, BASE ] )


 Same as write method above.



SEE ALSO



 RDFStore::Model(3) RDFStore::Serializer(3) RDFStore::Parser::RDFXML(3)

 http://purl.org/rss/1.0/



AUTHOR



        Alberto Reggiori <areggiori@webweaving.org>



POD ERRORS

Hey! <B>The above document had some coding errors, which are explained below:B>
Around line 248: ’=item’ outside of any ’=over’
Around line 252: You forgot a ’=back’ before ’=head1’
Around line 254: ’=item’ outside of any ’=over’
Around line 262: You forgot a ’=back’ before ’=head1’
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 RDFSTORE::SERIALIZER::RSS (3) 2006-06-19

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.