[Clipart] file/magic/mime types for SVG and suggested viewers?

Jeremy C. Reed reed at reedmedia.net
Fri Jun 4 17:32:32 PDT 2004


On Fri, 4 Jun 2004, Bryce Harrington wrote:

> On Fri, 4 Jun 2004, Jeremy C. Reed wrote:
> > Is there a MIME type for SVG data?
>
> Yes, it's either image/x-svg or image/svg+xml
>
> > Is there any file(1) magic(5) for SVG images?
>
> Dunno, but if not would you like to help send the file/magic maintainers
> a patch to add it?

I can submit it. But I don't know if it is possible to create a magic(5)
for SVG since they can start so many different ways.

Does anyone know how to configure magic so the offset is not forced? (For
example "<!DOCTYPE svg" could be at 141 position or could be at some other
position. Or the "<svg" marker may be at some random place.

> Thanks, I can add these to the faq, unless you'd like to?  I don't know
> the answer for the third, though, so if you run across the answer let me
> know.

I added the questions. But I don't have the answers. (That is why I posted
to list.)

 Jeremy C. Reed

 	  	 	 open source, Unix, *BSD, Linux training
	  	 	 http://www.pugetsoundtechnology.com/





More information about the clipart mailing list