Re: Cleaning stored text to get valid XML

2007-05-05 Thread Les Mizzell
Re; http://www.nelsonmullins.com/rss/rss_newsletters.cfm Finally found a function that seems to clean most of the MS Word control characters and other crap out that was causing me probems. Using two filters on the body text seems to be taking care of my problems now.. cfscript function

Re: Cleaning stored text to get valid XML

2007-05-05 Thread Claude Schneegans
Finally found a function that seems to clean most of the MS Word control characters and other crap out that was causing me probems. Using two filters on the body text seems to be taking care of my problems now.. This will clean only about 1% of the crap, may be not even... Here is a function

Re: Cleaning stored text to get valid XML

2007-05-05 Thread Les Mizzell
This will clean only about 1% of the crap, may be not even... The data in question has been entered using fckeditor, what has taken care of a good bit of the problem stuff for me. It was the few things left over that fck didn't deal with that was giving me fits. I see some great potential

Re: Cleaning stored text to get valid XML

2007-05-04 Thread Robertson-Ravo, Neil (RX)
Sent: Fri May 04 02:30:03 2007 Subject: Cleaning stored text to get valid XML I've had an application set up for awhile now that allows a user to post and email newsletters from their site. The body text is entered on a form using fckeditor, and since these folks are lawyers, almost everything

Re: Cleaning stored text to get valid XML

2007-05-04 Thread Les Mizzell
Robertson-Ravo, Neil (RX) wrote: Have you tried XMLFormat() around the content? Yup, and the version up now is using it. Still doesn't want to display... http://www.nelsonmullins.com/rss/rss_newsletters.cfm Here's what I've got in there right now: cfset request.bodynohtml =

RE: Cleaning stored text to get valid XML

2007-05-04 Thread Jeremy
, 2007 8:30 PM To: CF-Talk Subject: Cleaning stored text to get valid XML I've had an application set up for awhile now that allows a user to post and email newsletters from their site. The body text is entered on a form using fckeditor, and since these folks are lawyers, almost everything is pasted

Cleaning stored text to get valid XML

2007-05-03 Thread Les Mizzell
I've had an application set up for awhile now that allows a user to post and email newsletters from their site. The body text is entered on a form using fckeditor, and since these folks are lawyers, almost everything is pasted from Word and fckeditor is handling whatever is thrown at it. Now,