Query: rdf::vcard
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RDF::vCard(3pm) User Contributed Perl Documentation RDF::vCard(3pm)NAMERDF::vCard - convert between RDF and vCardSYNOPSISuse 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');DESCRIPTIONThis 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.BUGSIf 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 ALSOhttp://www.w3.org/Submission/vcard-rdf/ <http://www.w3.org/Submission/vcard-rdf/>. <http://perlrdf.org/>. RDF::vCard::Babelfish.AUTHORToby Inkster <tobyink@cpan.org>.COPYRIGHTCopyright 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)
Similar Topics in the Unix Linux Community |
---|
morla 0.14 (Default branch) |
Cypher 1.0.5 (Default branch) |
Cypher 1.1.0 beta (Default branch) |
Cypher 1.1.8 beta (Default branch) |
Doapfiend 0.3.0 (Default branch) |