Skip to Content.
Sympa Menu

internetworkers - RE: Getting rid of extra font tags?

internetworkers AT lists.ibiblio.org

Subject: Internetworkers: http://www.ibiblio.org/internetworkers/

List archive

Chronological Thread  
  • From: jcuthrell AT ixl.com
  • To: internetworkers AT franklin.oit.unc.edu
  • Subject: RE: Getting rid of extra font tags?
  • Date: Tue, 29 May 2001 10:03:35 -0400


-----Original Message-----
From: Michael S Czeiszperger [mailto:czei AT webperformanceinc.com]
Sent: Tuesday, May 29, 2001 9:58 AM
To: InterNetWorkers
Subject: [internetworkers] Getting rid of extra font tags?
[snip[
Does anyone have any suggestions for cleaning up this HTML-mess, other than
editing every page by hand?
[snip]

If you have access to Dreamweaver 3 or better...

Open the file -> Commands -> Clean up HTML
select Combine Nested <font> Tags when Possible
OR
set Specific Tag(s) as FONT

This -might- take several passes.

Someone on this list might have a copy and a soft spot for bad markup :)

Otherwise, if you can find the regex for the font type problem

$ cp file.html file.html.bak
$ perl -pi -e 's/<fonttags>//g' file.html
repeat as needed...

-Jay

Jay Cuthrell
Manager of Software Engineering
iXL
2501 Blue Ridge Road Suite 150
Raleigh, NC 27607
919.863.4302 (direct)
919.349.7268 (cell)
919.863.4313 (fax)
jcuthrell AT ixl.com
www.ixl.com




Archive powered by MHonArc 2.6.24.

Top of Page