Back to index

plone3  3.1.7
Namespaces | Variables
convertContentForKupu.py File Reference

Go to the source code of this file.

Namespaces

namespace  convertContentForKupu

Variables

tuple convertContentForKupu.field = context.getField(fieldname)
tuple convertContentForKupu.text_format = context.REQUEST.get('%s_text_format' % fieldname, context.getContentType(fieldname))
tuple convertContentForKupu.encoding = context.getCharset()
tuple convertContentForKupu.content = content.encode(encoding)
tuple convertContentForKupu.transforms = getToolByName(context, 'portal_transforms')
tuple convertContentForKupu.converted = transforms.convertToData('text/html', content, mimetype=text_format)