Re: Howto compress svg, that will then validate?

Andreas,

It seems this may not be a server issue as at least one svgz file  
being served is validating:
http://www.peepo.org.uk/temp/vxhtml11.svgz

I have however changed the .htaccess file to reflect your proposal.

please would you take another look at the problem as originally stated?

thanks again


Jonathan Chetwynd

j.chetwynd@btinternet.com
http://www.iconomy.org/

+44 (0) 20 7978 1764


On 17 Apr 2008, at 18:23, Andreas Neumann wrote:

>
> I use the following line at my webserver configuration (file  
> "mime.conf" on Ubuntu). But it should also work in a Directory  
> context of a .htaccess file.
>
> AddEncoding x-gzip .gz .tgz .svgz .svg.gz
>
> With this setting it should work with all major browsers.
>
> Andreas
>
>
> Jonathan Chetwynd wrote:
>>> The server has to send 'Content-encoding: gzip'
>> Olaf, from a web server, but how are you sending Content-encoding:  
>> gzip?
>> i have .htaccess:
>> AddType image/svg+xml svg svgz
>> AddEncoding gzip svgz
>> regards
>> my logo <http://www.iconomy.org>
>> Jonathan Chetwynd
>> j.chetwynd@btinternet.com <mailto:j.chetwynd@btinternet.com>
>> http://www.iconomy.org/
>> +44 (0) 20 7978 1764
>> On 17 Apr 2008, at 17:17, Dr. Olaf Hoffmann wrote:
>>>
>>> Does the validator get this from a web server or is it a file  
>>> upload?
>>>
>>> The server has to send 'Content-encoding: gzip'
>>>
>>> I checked that this works for example with 'gzip'ed PHP script SVG  
>>> output  - no problem with the validator.
>>> And no problem with a static file too with .svgz on the server I  
>>> use...
>>>
>>>
>
> -- 
>
> --
> Andreas Neumann
> Böschacherstrasse 6
> CH-8624 Grüt (Gossau ZH)
> Switzerland
> Phone: ++41-44-2736668
> Email: a.neumann@carto.net
>
> Web: http://www.carto.net/neumann/
> SVG Examples: http://www.carto.net/papers/svg/samples/
> SVG.Open: http://www.svgopen.org/
>

Received on Thursday, 17 April 2008 17:36:11 UTC