Hi,

On Thu 23 Feb 2012 15:53, Nala Ginrut <nalagin...@gmail.com> writes:

> There's no mime support in Guile module, so I modified the mime code of
> my project Ragnarok and format a patch.
>
> It's easy to use:
> (use-modules (web mime))
> (define mime (make <mime>))
> (mime:guess mime 'pdf)
> ==> application/pdf
> (mime:guess mime 'php)
> ==> application/x-httpd-php

Just a note to say that I liked this module, and that it would be a
great thing to have in the guildhall.

It would be nice to use
http://freedesktop.org/wiki/Specifications/shared-mime-info-spec on free
software systems.

Cheers,

Andy
-- 
http://wingolog.org/

Reply via email to