Skip to content

mxm, IT's mad science

Sections
Personal tools
You are here: Home » Products » Open Source » mxmContacts » Import/export works with text. Not html.
Downloads
You can download mxm products here.

Due to it's technical and international nature, this section is in english.

Max M Has a blog too.

og er glad for mad

 

Comment

Above in this comment thread: mxmContacts » Kupu Integration / Print function?

Import/export works with text. Not html.

Posted by maxm at 2006-03-13 10:33 AM
Because of importing/exporting to .vcf/.csv files, which doesn't support html but only plain text, I choose to use a text field.

If you don't need import and export, you can just go to schemas.py and edit the TextField('body',...) fields. There are two code blocks. One with RichWidget and one with TextAreaWidget. If you toggle the comments on those two block, it should work with the RichWidget, and so with Kupu.

But it will probably give you problems if you try to do exports. The correct approach would probably be to use html in the comment, and then strip it for import/export.

This is now on the todo.

geeklibrarian here from #plone

Posted by Anonymous User at 2006-03-14 10:52 PM
geeklibrarian here from #plone

The whole thing about the import/expor makes complete sense, thanks for pointing that out.

I look forward to an updated version that will strip the HTML.

Any thoughts on why the Print icon doesn't show up in the search results list?