SunQuest
           Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementScripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old May 18th, 2004, 07:05 AM
kgraber kgraber is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 37 kgraber User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 41 m 7 sec
Reputation Power: 5
Need a script to parse HTML

I need a script that will step through an html document and remove html. For example, if it comes upon this:

<p style='margin:0in;margin-bottom:.0001pt'>

it will replace it simply with a paragraph tag, <p>

We have a lot of people saving Word files as html and as most of you know it puts a ton of code in that's not necessary. The easy solution would be to tell them not to do that but they are the least technical people so this is all new to them.

I have looked high and low for a script, plus tried a few things but still haven't had any luck. If possible I'd like to do this in JavaScript but I'm beginning to think that's not going to work.

Reply With Quote
  #2  
Old June 21st, 2004, 01:22 PM
DevCon4 DevCon4 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Northern Thailand
Posts: 74 DevCon4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 55 m 51 sec
Reputation Power: 5
stripping MS Word junk from HTML

Hi kgraber,

You ned CHANGE.exe

Bruce Guthrie
Wayne Software
113 Sheffield St.
Silver Spring, MD 20910

e-mail: WayneSof@erols.com fax: (301) 588-8986
http://www.geocities.com/SiliconValley/Lakes/2414
or find through http://www.erols.com/waynesof

Reply With Quote
  #3  
Old July 13th, 2004, 05:29 AM
lighthaus lighthaus is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 3 lighthaus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
There is a site for this called Textism. Seem to work alright.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementScripts > Need a script to parse HTML


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway