DTP


 
Lively discussions on the graphic arts and publishing — in print or on the web


Go Back   Desktop Publishing Forum > General Discussions > Web Site Building & Maintenance

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 11-22-2006, 12:10 PM   #2
iamback
Member
 
iamback's Avatar
 
Join Date: Oct 2005
Location: Amsterdam, NL
Posts: 4,894
Default

Quote:
Originally Posted by dacoyle View Post
I need to clean up 190 html files. Anyone familair with running Tidy with a .bat file? The files have many errors, but the priority is to quote all attributes and get the tags in lowercase.
Most of that can be done with global search and replace across files, using regular expressions. No need for any batch as the "global" bit handles that. UltraEdit and HomeSite have this capability, probably DreamWeaver, and no doubt other capable editors as well. Other thing like turning flags ('selected') into proper XHTML attributes ('selected="selected"') can be done like that as well. In fact, I have done that for a whole site (same order of magnitude) with HomeSite once, leaving very little to do manually provided the HTML is "clean" to begin with.

   
__________________
Marjolein Katsma
Look through my eyes on Cultural Surfaces (soon!), My ArtFlakes shop and Flickr.
Occasionally I am also connecting online dots... and sometimes you can follow me on Marjolein's Travel Blog
iamback is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting 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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tidy Help CarlSeiler Web Site Building & Maintenance 11 02-26-2007 03:41 PM
TIDY for CSS? dthomsen8 Web Site Building & Maintenance 27 03-27-2006 09:54 AM


All times are GMT -8. The time now is 11:07 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Contents copyright 2004–2014 Desktop Publishing Forum and its members.