Can I store structured text in a relational DB?
I am maintaining a content management site that uses a very user-unfriendly rich text / html editor that allows users to format their content. The generated html is saved off in PostgreSQL and retrieved when the corresponding page is requested. The client is quite frustrated with this editor because it causes them so much grief. Is it possible to save structured text to the database instead, and translate it upon retrieval from the DB? I (and the client as well) think this would be a wonderful solution, but I don't know if it can done.
nwingfield@dixon-hughes.com wrote at 2004-3-1 11:23 -0500:
... Is it possible to save structured text to the database instead, and translate it upon retrieval from the DB?
This is possible: "Products.PythonScripts.standard" contains the function "structured_text" that renders structured text to HTML. An alternative might be to use a WYSIWYG HTML editor, e.g. EPOZ. -- Dieter
participants (2)
-
Dieter Maurer -
nwingfield@dixon-hughes.com