Main > Programming > Libraries >

SVG::Metadata 0.28

SVG::Metadata 0.28

Sponsored Links

SVG::Metadata 0.28 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.025 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 914
Date added: 2007-04-23
Publisher: Bryce Harrington

SVG::Metadata 0.28 description

SVG::Metadata is a Perl module to capture metadata info about an SVG file.

SYNOPSIS

use SVG::Metadata;

my $svgmeta = new SVG::Metadata;

$svgmeta->parse($filename)
or die "Could not parse $filename: " . $svgmeta->errormsg();
$svgmeta2->parse($filename2)
or die "Could not parse $filename: " . $svgmeta->errormsg();

# Do the files have the same metadata (author, title, license)?
if (! $svgmeta->compare($svgmeta2) ) {
print "$filename is different than $filename2n";
}

if ($svgmeta->title() eq ) {
$svgmeta->title(Unknown);
}

if ($svgmeta->author() eq ) {
$svgmeta->author(Unknown);
}

if ($svgmeta->license() eq ) {
$svgmeta->license(Unknown);
}

if (! $svgmeta->keywords()) {
$svgmeta->addKeyword(unsorted);
} elsif ($svgmeta->hasKeyword(unsorted) && $svgmeta->keywords()>1) {
$svgmeta->removeKeyword(unsorted);
}

print $svgmeta->to_text();

This module provides a way of extracting, browsing and using RDF metadata embedded in an SVG file.

The SVG spec itself does not provide any particular mechanisms for handling metadata, but instead relies on embedded, namespaced RDF sections, as per XML philosophy. Unfortunately, many SVG tools dont support the concept of RDF metadata; indeed many dont support the idea of embedded XML "islands" at all. Some will even ignore and drop the rdf data entirely when encountered.
The motivation for this module is twofold. First, it provides a mechanism for accessing this metadata from the SVG files. Second, it provides a means of validating SVG files to detect if they have the metadata.

The motivation for this script is primarily for the Open Clip Art Library (http://www.openclipart.org), as a way of filtering out submissions that lack metadata from being included in the official distributions. A secondary motivation is to serve as a testing tool for SVG editors like Inkscape (http://www.inkscape.org).

SVG::Metadata 0.28 Screenshot

Advertisements

SVG::Metadata 0.28 Keywords

Bookmark SVG::Metadata 0.28

Hyperlink code:
Link for forum:

SVG::Metadata 0.28 Copyright

WareSeeker periodically updates pricing and software information of SVG::Metadata 0.28 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of SVG::Metadata 0.28 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Test::Data is a Perl module to test functions for particular variable types. Free Download
Module::Starter::Smart is a Perl module that lets you add new modules into an existing distribution. Free Download
Spreadsheet::ParseExcel is a Perl module to get information from an Excel file. Free Download
Date-Pcalc is a Perl module and is a direct translation of Steffen Beyers excellent Date::Calc module. Free Download
WWW::Blog::Metadata::Microsummary is a Perl module to extract Microsummary URI from a page. Free Download
AudioCD is a Perl module for basic Audio CD control. Free Download
App::Modular is a Perl module with modularization framework for perl programs. Free Download
RPM::Constants is a Perl module with groups of RPM-defined symbols. Free Download