13 Mar 2014 19:32:30 UTC
- Distribution: RDF-DOAP-Lite
- Module version: 0.002
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Testers (3296 / 0 / 4)
- KwaliteeBus factor: 2
- 12.41% Coverage
- License: perl_5
- Activity24 month
- Download (20.57KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionTOBYINK Toby Inkster
- SEE ALSO
- COPYRIGHT AND LICENCE
- DISCLAIMER OF WARRANTIES
RDF::DOAP::Lite - write DOAP data quickly and easily
use CPAN::Changes; use CPAN::Meta; use RDF::DOAP::Lite; my $changes = CPAN::Changes->load('Changes'); my $meta = CPAN::Meta->load_file('META.json'); my $doap = RDF::DOAP::Lite->new(meta => $meta, changes => $changes); $doap->doap_ttl('doap.ttl'); $doap->doap_xml('doap.xml');
This is a small companion module to RDF::DOAP, enabling you to output DOAP data easily from standard CPAN distribution files.
So what is DOAP? This explanation is lifted from Wikipedia.
DOAP (Description of a Project) is an RDF Schema and XML vocabulary to describe software projects, in particular free and open source software.
It was created and initially developed by Edd Dumbill to convey semantic information associated with open source software projects.
It is currently used in the Mozilla Foundation's project page and in several other software repositories, notably the Python Package Index.
Moose-style constructor (though this module does not use Moose).
This is a required attribute; a CPAN::Meta object.
This is an optional attribute; a CPAN::Changes object.
Writes DOAP data in the Turtle serialization to the file. The file may be provided as a filename (string) or a file handle.
Writes DOAP data in the RDF/XML serialization to the file. The file may be provided as a filename (string) or a file handle.
Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=RDF-DOAP-Lite.
This module comes with a bundled command-line tool, cpan2doap.
For parsing DOAP data, see RDF::DOAP.
Toby Inkster <email@example.com>.
This software is copyright (c) 2013-2014 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Module Install Instructions
To install RDF::DOAP::Lite, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install RDF::DOAP::Lite
For more information on module installation, please visit the detailed CPAN module installation guide.