Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > Program to clean up HTML code/syntax?

Program to clean up HTML code/syntax?
Thread Tools
Mac Elite
Join Date: Jan 2001
Status: Offline
Reply With Quote
Sep 5, 2003, 01:39 AM
 
Hi,

Whenever I make webpage using dreamweaver and bbedit, things start getting messy - the tabs, a bunch of ending tags on one line, while on other lines, each ending tag has it's own line, some tabs here, some not, etc.

Is there any tool (bbedit's tool doesn't seem to do what I want) to clean up the code and normalize how it spilts up lines, tabs, etc?

Thanks!
     
Senior User
Join Date: Jun 2002
Location: UK
Status: Offline
Reply With Quote
Sep 5, 2003, 04:23 AM
 
Originally posted by timmerk:
Hi,

Whenever I make webpage using dreamweaver and bbedit, things start getting messy - the tabs, a bunch of ending tags on one line, while on other lines, each ending tag has it's own line, some tabs here, some not, etc.

Is there any tool (bbedit's tool doesn't seem to do what I want) to clean up the code and normalize how it spilts up lines, tabs, etc?

Thanks!
OmniWeb?
The old OmniWeb, at least, had a composer that reformatted the HTML, but it did in their way, i.e., i don't think you can tell it "do it MY WAY... but try it out.
     
timmerk  (op)
Mac Elite
Join Date: Jan 2001
Status: Offline
Reply With Quote
Sep 5, 2003, 12:11 PM
 
Thanks! Omniweb 4.5 (latest version) worked perfectly!
     
Mac Elite
Join Date: Mar 2001
Location: Provo, UT
Status: Offline
Reply With Quote
Sep 5, 2003, 01:58 PM
 
A HTML pretty printer may also do the job, if you're compfortable with the terminal.

http://budney.homeunix.net:8080/user...re/htmlpp.html

http://linux.maruhn.com/sec/tidy.html
     
timmerk  (op)
Mac Elite
Join Date: Jan 2001
Status: Offline
Reply With Quote
Sep 5, 2003, 05:32 PM
 
tidy works great also! their is a cocoa GUI for it too!

http://www.balthisar.com/site/index....ay&ceid=10

thanks all!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:33 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2