[Clipart] upload script suggestion

Stephen Silver ocalocal at btinternet.com
Sat Mar 26 02:21:27 PST 2005


Jonadab wrote:

> "Stephen Silver" <ocalocal at btinternet.com> writes:
> 
> > For example, these two files in the incoming folder still have Adobe
> > Illustrator metadata, because the regular expression didn't notice it,
> 
> Incidentally, that part may not be a problem.  The only metadata that
> need to be stripped out, as far as I am aware, are the ones that
> SVG::Metadata uses.

It would be best to remove any 'metadata' element that is a child
of the main 'svg' element, otherwise we end up with more than one
(which the SVG spec strongly recommends against), unless the two
'metadata' elements can be merged together.

The SVG spec also strongly recommends putting the 'metadata' element
at the beginning rather than the end.

-- 
Stephen Silver




More information about the clipart mailing list