Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rdf::doap::changesets(3pm) [debian man page]

RDF::DOAP::ChangeSets(3pm)				User Contributed Perl Documentation				RDF::DOAP::ChangeSets(3pm)

NAME
RDF::DOAP::ChangeSets - create pretty ChangeLogs from RDF SYNOPSIS
use RDF::DOAP::ChangeSets; use URI::file; my $file = 'path/to/changelog.rdf'; my $file_uri = URI::file->new_abs($file); my $dcs = RDF::DOAP::ChangeSets->new( $file_uri, undef, undef, 'RDFXML'); print $dcs->to_string; DESCRIPTION
This module takes software changelogs written in the RDF DOAP Change Sets vocabulary and produces human-readable changelogs. "RDF::DOAP::ChangeSets->new($uri, $data, $type, $fmt)" Creates and initialises an object. $uri is a URL for the input data. The URL is used to query the RDF data for the heading of the output changelog. It may be passed as either a string, or a URI object. $data is the RDF data to use as input. It may be passed as a string, or as an RDF::Trine::Model object. If undefined, this module will attempt to read data from the URL using LWP::Simple. $type gives the constructor a hint as to the RDF vocabulary you are using. For DOAP Change Sets, use 'current'; for Aaron Cope's Changefile vocab, use 'legacy'; to autodetect, use 'auto'. By default, performs autodetection. This module may crash and burn if you try to mix both vocabs!! $fmt provides a hint as to what RDF format you're using. By default, Turtle is assumed. Valid values are whatever RDF::Trine::Parser->new accepts. "$changeset->is_legacy" Boolean, indicating if a legacy vocab is being used. "$changeset->is_current" Boolean, indicating if the current vocab is being used. "$changeset->model" RDF::Trine::Model object representing the changelog data. "$changeset->uri" String representing the changelog URI. "$changeset->to_string" Creates a human-readable representation of the changelog. "$changeset->to_file($filename)" Same as "to_string", but outputs to a file. BUGS
Please report any bugs to <http://rt.cpan.org/>. SEE ALSO
RDF::Trine, CPAN::Changes::Spec, Module::Install::DOAPChangeSets. <http://www.perlrdf.org/>. AUTHOR
Toby Inkster <tobyink@cpan.org>. COPYRIGHT
Copyright 2010-2011 Toby Inkster This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-01-18 RDF::DOAP::ChangeSets(3pm)

Check Out this Related Man Page

RDF::vCard(3pm) 					User Contributed Perl Documentation					   RDF::vCard(3pm)

NAME
RDF::vCard - convert between RDF and vCard SYNOPSIS
use RDF::vCard; use RDF::TrineShortcuts qw(rdf_string); my $input = "http://example.com/contact-data.rdf"; my $exporter = RDF::vCard::Exporter->new; my $data = join '', $exporter->export_cards($input); print $data; # vCard 3.0 data my $importer = RDF::vCard::Importer->new; $importer->import_string($data); print rdf_string($importer->model => 'RDFXML'); DESCRIPTION
This module doesn't do anything itself; it just loads RDF::vCard::Exporter and RDF::vCard::Importer for you. RDF::vCard::Exporter RDF::vCard::Exporter takes some RDF using the W3C's vCard vocabulary, and outputs RDF::vCard::Entity objects. RDF::vCard::Importer RDF::vCard::Importer does the reverse. RDF::vCard::Entity An RDF::vCard::Entity objects is an individual vCard. It overloads stringification, so just treat it like a string. RDF::vCard::Entity::WithXmlSupport RDF::vCard::Entity::WithXmlSupport is a subclass of RDF::vCard::Entity, with a "to_xml" method. It requires XML::LibXML to be installed and working. The importer and exporter will try to create these if possible. RDF::vCard::Line RDF::vCard::Line is internal fu that you probably don't want to touch. BUGS
If your RDF asserts that Alice is Bob's AGENT and Bob is Alice's AGENT, then RDF::vCard::Export will eat your face. Don't do it. Please report any other bugs to https://rt.cpan.org/Public/Dist/Display.html?Name=RDF-vCard <https://rt.cpan.org/Public/Dist/Display.html?Name=RDF-vCard>. SEE ALSO
http://www.w3.org/Submission/vcard-rdf/ <http://www.w3.org/Submission/vcard-rdf/>. <http://perlrdf.org/>. RDF::vCard::Babelfish. AUTHOR
Toby Inkster <tobyink@cpan.org>. COPYRIGHT
Copyright 2011 Toby Inkster This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-06-23 RDF::vCard(3pm)
Man Page