Converting text with Portal Transforms and the MIME Types Registry
In this tutorial, you will learn how Plone and Archetypes keeps track of content MIME types, and how PortalTransforms enables you to convert between content of different MIME types. You will learn how to register a new MIME type, and how to create new transforms.
Warning: This item is marked as outdated.
- Introduction Background on MIME types, MimetypesRegistry and PortalTransforms
- Mimetypes Working with the MimetypesRegistry's mimetypes_tool to describe a custom MIME type
- Transforms Working with PortalTransforms' portal_transforms tool to register new transforms, and writing tests for transforms.
- Using the transforms Using the transforms via the PortalTransforms API, and automatically in Archetypes fields.
All content on one page (useful for printing, presentation mode etc.)
