GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SVG_VALIDATE (1)

.ds Aq ’

NAME

svg_validate - This script scans a directory full of *.svg files and checks them to see if they have proper metadata. If so, it copies them into a target directory and creates a png of it. It also creates a list of PASS and FAIL for the different criteria.

CONTENTS

SYNOPSIS

svg_validate [OPTIONS] subdir1[, subdir2...]



 -V, --version     Displays version info for the script
 -h, --help        This help screen
 -D, --debug=N     Reports debugging info (1=sparse, 3=tons)
 -n, --noclobber   Dont overwrite existing files
 -t, --target_dir  Specifies where files should be placed
     --passfail    Just generate the passfail file (still buggy)



DESCRIPTION

This script is an example of use of SVG::Metadata for processing sets of SVG files, selecting the ones that have proper metadata, and placing them into a separate directory tree. It generates and places PNG’s of each image as well as a text summary file with the metadata info.

The purpose of this script is to assist in building the release packages for the Open Clip Art Library (http://www.openclipart.org/).

OPTIONS

<B>-VB>, <B>--versionB> Displays the version information about the script.
<B>-hB>, <B>--helpB> Prints a brief help message with option summary.
<B>-DB> N, <B>--debugB>=N Prints debug messages. This expects a numerical argument corresponding to the debug message verbosity.
<B>-nB>, <B>--noclobberB> Permits preventing any files to be overwritten during the processing. Normally, if there are existing files in the target directory, they’ll be deleted (unlinked) and new ones written. With this option, the originals will be preserved and new ones will not be generated.
<B>-tB> DIRECTORY, <B>--target_dirB> DIRECTORY This option allows control over where the output files will be written to. These files will include a copy of the SVG file, a PNG image rendered using inkscape, and a text file with a summary of the file’s metadata. The files will be grouped into a subdirectory tree based on keywords.

The default target directory is ’default-0.00’.

<B>--passfailB> This option allows you to skip generating the thumbnails and only produce the passfail report.

PREREQUISITES

Pod::Usage, Getopt::Long, File::Basename, File::Copy, File::Find, File::Path, File::Spec, SVG::Metadata

COREQUISITES

inkscape

SCRIPT CATEGORIES

Text Processing::Filters Utilities

BUGS

None known.

SEE ALSO

SVG::Metadata, inkscape, XML::Simple

AUTHOR

Bryce Harrington <bryce@bryceharrington.org>

<http://www.bryceharrington.org/>

COPYRIGHT

Copyright (C) 2004 Bryce Harrington. All Rights Reserved.

This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Search for    or go to Top of page |  Section 1 |  Main Index


perl v5.20.3 SVG_VALIDATE (1) 2005-08-11

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.