[opencms-dev] FCKEditor: ... HTML-Code export! content-conversion property cleanup

ls contact at living-structures.de
Fri Jul 24 11:04:07 CEST 2009


Ok, that didn't work the way we expected:

After changing the content-conversion property to cleanup,
edit, save and reopen the page, most (95%) of the content
was gone.

In other words, cleanup did cleanup my document close to an
empty document. Only the Headline and two internal Links
are still visible. Also the Source-View didn't show more.

The original File-Size (CMS-View) is 126 KB, the Source
94 KB. I'll now reduce the source on my 'old way' and will
try it again. Maybe cleanup expected some special MS-Word
Tags to localize the different Code-Blocks/Ranges and couldn't
find them because of my prior changes of the source

Is there a reference for wich MS-XML/HTML (Word) Version
the parser was written ?

regards,
Andrew








Michael Emmerich schrieb:
> Andrew,
>
> regarding the copy&paste of Word documents into the HMTL Editor, OpenCms 
> already has a build in cleanup function to remove all the unwanted style 
> information that word pastes into it.
>
> To use it, set the "content-conversion" property of the content file to 
> "cleanup" (without the " of course). This will force a HTML cleanup when 
> the file is saved.
>
> Kind Regards,
> Michael.
>
> -------------------
> Michael Emmerich
>
> Alkacon Software GmbH  - The OpenCms Experts
> http://www.alkacon.com - http://www.opencms.org
>
>
>
> contact schrieb:
>   
>> (sorry for posting this again, but the layout of the first email
>> was corrupted and close to unreadable)
>>
>> Hi,
>>
>> i'm working with OpenCMS Version 6.2.2 and i get unexpected
>> layout-results when i try to copy&paste content from word to the
>> fckeditor (version 1.2.1, as far as i can see).
>>
>> To solve this, i wrote a PHP-Scripte to reformat the (by fckeditor)
>> generated HTML-Code and then i paste this 'clean code' back into
>> the editor (source view). The result is: the size of the HTML-Code
>> is decreased by over 60 percent and therefore the speed of the all-
>> over page-access increased. (if someone is interested in the PHP-
>> Code just leave me a note and i'll post it here)
>>
>> If the size of the oroginal HTML-Code is over 64 KB the editor
>> closed unexpected for example or it takes minutes until he load or
>> save a file/page. I'm wondering about this 64 KB limitation and how
>> bad the word-content is format into HTML and i would like to up-
>> date something, to get better results.
>>
>> Should i update only the fckeditor (if possible) - or the whole system
>> to version 7.x ?
>>
>> regards,
>> andrew
>>
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>     
>
>   




More information about the opencms-dev mailing list