That sounds impressing.

Definitely something to watch in the refactoring process is having all
this working on win32 ;-)

Thursday, October 1, 2009, 5:11:10 PM, you wrote:

HS> For mime type information it looks at:

HS> - all information found in the
HS> http://www.freedesktop.org/standards/shared-mime-info database
HS> - magic codes based on gnome-vfs-mime-magic
HS> - information form the Apache mime.types (local copy so it works on Windows)
HS> - respects zope.contenttype and Python's mimetypes module
HS> - on Windows respects the information found in the registry at
HS> "HKEY_CLASSES_ROOT\MIME\Database\Content Type"
HS> - a couple of its own definitions (for example Markdown, Textile, SVG,
HS> new MS Office formats not yet present in the other sources)

HS> If someone really wants to extend the functionality, this package
HS> might be worth a look. The whole persistent registry idea of
HS> MimeTypesRegistry is overkill, but most of the other code should have
HS> little or no external dependencies and should be good after a bit of
HS> refactoring.

HS> Hanno
HS> _______________________________________________
HS> Zope-Dev maillist  -  Zope-Dev@zope.org
HS> https://mail.zope.org/mailman/listinfo/zope-dev
HS> **  No cross posts or HTML encoding!  **
HS> (Related lists - 
HS>  https://mail.zope.org/mailman/listinfo/zope-announce
HS>  https://mail.zope.org/mailman/listinfo/zope )

Best regards,
 Adam GROSZER                            mailto:agros...@gmail.com
Quote of the day:
Save yourself!  Reboot in 5 seconds!

Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to