> -----Original Message----- > From: Tyler Silcox [mailto:[EMAIL PROTECTED] > Sent: Monday, August 22, 2005 10:58 AM > To: CF-Community > Subject: MS Word's anti-XML encoding bleepity-bleeps... > > Man, it seems like I'm adding RSS feeds to our sites every other > day...which > normally would be the easiest task in the world thanks to ColdFusion. But > no > matter what or how many times I tell our clients, they are still copying > and > pasting content directly from Microsoft Word and it's frigazzing the XML > output. I've tried Demoronize() from cflib, but it doesn't clear out all > the > PIA formatting MS provides in their text.
MS does provide a "Clean up" tool (the file name I got is "msohtmf2.exe"). It works pretty well - just clears out the MS XML meta data. You may be able to run it from a server-side script and do a clean up on all input - I don't think it would hurt much unless your system is already under stress. Jim Davis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:5:170653 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
