XMLNews::MetaA module for reading and writing XMLNews metadata files | |
Download |
XMLNews::Meta Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- David Megginson
- Publisher web site:
- http://search.cpan.org/~dmegg/
XMLNews::Meta Tags
XMLNews::Meta Description
A module for reading and writing XMLNews metadata files XMLNews::Meta is a Perl module that handles the import, export, and programmatic manipulation of metadata for XMLNews resources. You can read or write a metadata file using a single method call, and can easily add or remove values.WARNING: This module is not re-entrant or thread-safe due to the use of static variables while importing XML.SYNOPSIS use XMLNews::Meta; my $namespace = "http://www.xmlnews.org/namespaces/meta#"; # Create a Meta object. my $meta = new XMLNews::Meta(); # Read in the metadata file. $meta->importRDF("data.rdf"); # Look up a singleton value. my $expireTime = $meta->getValue($namespace, "expireTime"); # Add a new value to a property. $meta->addValue($namespace, "companyCode", "WAVO"); # Write the metadata back out. $meta->exportRDF("data.rdf"); Requirements: · Perl · XML::Parser
XMLNews::Meta Related Software