[WEB4LIB] code spring clean

Dan Lester dan at riverofdata.com
Thu Aug 29 15:11:52 EDT 2002


I'm not a dreamweaver expert, but I know with other editors you could
do a find and replace.  Replace all "   " with "" for example.  Use
your own judgment for how many consecutive spaces you want it to
replace.  Two or three would work for me.

cheers

dan

Thursday, August 29, 2002, 12:54:10 PM, you wrote:

SG> I'm in the process of cleaning up a whole lot of html files and a lot of the
SG> files have lots of white space in the code, e.g.:
SG> <p>
SG>                                         You can also
SG>                                               use the resources
SG> of the
SG>                                         <a
SG> href="http://www.bpl.org">Boston Public       Library
SG> </a>.</
p>>

SG> Whereas I would rather it looked like:

SG> <p>You can also use the resources of the <a href="http://www.bpl.org">Boston
SG> Public       Library</a>.</p>

SG> This is taking forever to do by hand - has anyone got any suggestions for
SG> cleaning up the code quickly and painlessly? The editor I use is Dreamweaver
SG> 4.0. I'm convinced there may be some command I can use in this product, but
SG> I can't find it.

SG> Thanks very much!

SG> Sarah

SG> ______________________________
SG> Sarah Graham
SG> Coordinator of Web Development
SG> Emerson College Library

SG> email: sarah_graham at emerson.edu
SG> phone: (617) 824-8332
SG> fax:   (617) 824-7811
SG> ______________________________




-- 
Dan Lester, Data Wrangler  dan at RiverOfData.com 208-283-7711
3577 East Pecan, Boise, Idaho  83716-7115 USA
www.riverofdata.com  www.gailndan.com  Stop Global Whining!




More information about the Web4lib mailing list