> We're using Spectra 1.01. When we cut/paste from Word into the Rich Text
> editor, the following code makes it into the text:
> <?xml:namespace prefix=o
> ns="urn:schemas-microsoft-com:office:office"/>
> This is not visible to 5.0 browsers but users of Netscape 4.7 are emailing
> me to ask what the heck it means.
> Is there any way to strip this garbage out? We want to keep any "normal"
> html in there.
I've done some analysis of this issue, hope this helps.
The easiest way to fix the msoffice html problem is to ask folks
to paste from Wordpad and manage some of their content formatting
in the web editor. Although probably not the answer that you were
looking for (wasn't my first choice either), using Wordpad does
provide another advantage, and a rather significant one too. It
will help your web site run better.
In Spectra 1.01, The XML stored in the CODB will be MUCH larger when
content is pasted into the web editor from Word2k, larger could be
up to '4 times larger' than the same content pasted from wordpad.
Using Wordpad results in your editors being able to publish articles
with more content, reduces sql traffic, reduces xml parsing processing
time, reduces network traffic, is downloaded by the client more quickly..
using Wordpad. These are all good things, eh? Oh yes, MS has a compact
HTML add-on for Word, my testing revealed that it only reduced the code
bloat by 10% - 20%, whereas with Wordpad, it's generally reduced it by
better than 300%.
There is an opportunity here for you to try other document tools that
your editors use, html editors, email apps.. it may be worth looking
at trying to use them as an intermediate paste and copy point.
By my experience, Spectra 1.5x deals with this issue rather nicely,
an upgrade would provide you with the new editor, which recognizes
office junk, and prompts the user to have it cleaned up. It also
provides the capability to say no, will let you look at source, then
clean it afterwards if you want to.
decisions decisions..
dave
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.