Cool!
Thanks Gustavo. I'll give this a try. Nothing like reusable code. Much appreciated. -----Original Message----- From: Gustavo Jabbaz [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 11:23 AM To: [EMAIL PROTECTED] Subject: Re: [CFTALKTor] RE: Removing unnecessary HTML << File: cf_tagstripper.zip >> David, you might use this custom tag that I found. It is very useful for a number of situations. one of the attributes is a list of tags that you want to live alone, the rest will be removed including Java script. Gustavo ----- Original Message ----- From: "Shane Von Svoboda" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 21, 2002 11:13 AM Subject: RE: [CFTALKTor] RE: Removing unnecessary HTML > Hi David, > > The situation is that I provided them with a nice rich text editor to > create html online but they insist on pasting generated HTML code from > Word into the editor for further formatting before it is submitted for > the web page. They have a web person in the company that uses Deamweaver > but this person doesn't want to be responsible for formatting other > co-workers work. This is why I gave them a Word looking interface to > create their documents online. The idea of giving them a rich text > editor seemed to be a good idea for non web people but it opens a whole > can of worms. So I need to create something that will filter out non > basic HTML. I could write a procedure that parses the text on submit but > was wondering how many other people in counter this issue and have a > slick way of dealing with it. > > I wish I had this problem when Ektron or Common Spot came to our > Cfugtoronto meeting. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 21, 2002 10:53 AM > To: [EMAIL PROTECTED] > Subject: re: [CFTALKTor] RE: Removing unnecessary HTML > > Hi Shane, > > Dont know if you have a copy of Dreamweaver handy but it has some > plugins > that successfully remove all the irritating Word crap. > > > > Dave Seddon (p) 997-1803 > Internet Software Support Specialist > Workplace Information Directorate, HRDC-DRHC > e-mail: [EMAIL PROTECTED] > Web: http://labour.hrdc-drhc.gc.ca > > ---------- Original Text ---------- > > From: "Shane Von Svoboda" <[EMAIL PROTECTED]>, on 2002-03-21 10:34 > AM: > > Does anyone know of any cool script that will remove unnecessary Word > 2000 HTML code? I have a client that loves to create documents in Word > and posts them to their website. I instructed them to install the HTML > filter for Word but it still leaves a lot of unnecessary code that over > writes the website style sheets. Before I spend time creating my own > filter does anyone know of any custom tag or JavaScript function that > would be useful? I have an HTML editing tool like Ektron's rich text > editor so they can create their HTML on line but they still insist they > like the word editor better. So, on past or on the action of saving the > document I need to filter out span and class tags. This is very > frustrating. > > Any suggestions would be greatly appreciated. > > > > - > You are subscribed to the CFUGToronto CFTALK ListSRV. > This message has been posted by: [EMAIL PROTECTED] > To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/ > Manager: Kevin Towes ([EMAIL PROTECTED]) > http://www.CFUGToronto.org/ > This System has been donated by Infopreneur, Inc. > (http://www.infopreneur.net) > > > - > You are subscribed to the CFUGToronto CFTALK ListSRV. > This message has been posted by: "Shane Von Svoboda" <[EMAIL PROTECTED]> > To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/ > Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/ > This System has been donated by Infopreneur, Inc. > (http://www.infopreneur.net) - You are subscribed to the CFUGToronto CFTALK ListSRV. This message has been posted by: "Shane Von Svoboda" <[EMAIL PROTECTED]> To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/ Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/ This System has been donated by Infopreneur, Inc. (http://www.infopreneur.net)
