[Clipart] Re: SVG::Metadata and inkscape
Bryce Harrington
bryce at bryceharrington.com
Wed Aug 4 00:25:41 PDT 2004
On Wed, 28 Jul 2004, [ISO-8859-1] Alberto Simões wrote:
> Hi, Bryce and all,
>
> 1. in the SVG::Metadata documentation, SYNOPSIS section, is missing a
> line saying how to create a svgmetadata object: $svgmeta = new
> SVG::Metadata;
Added
> 2. it would be nice to save the svg file after adding a keyword (or
> other metadata)
Not certain what you mean here...?
> 3. tried to use inkscape to add metadata... how do I add more than one
> keyword? Tried 'transport, roadtravel' but then, SVG::Metadata says:
> Can't use string ("transport, roadtravel") as a HASH ref while "strict
> refs" in use at /usr/lib/perl5/site_perl/5.8.5/SVG/Metadata.pm line
> 310.
Yeah, the proper way to add keywords is as 'bags' rather as
comma-separated lists. Send an email to kees at outflux dot net about
this; it's something that'll take a bit more work.
> To help me adding keywords on all OCAL svg files, it would be nice to
> have '2' or '3' working :-) I would prefer '2', but I don't know if it
> is harder or not.
If what you need is an example, here is one:
<dc:subject>
<rdf:Bag>
<rdf:li>transport</rdf:li>
<rdf:li>roadtravel</rdf:li>
</rdf:Bag>
</dc:subject>
Bryce
More information about the clipart
mailing list