Dreamweaver and the missing html end tag

Reply

Join Date: Aug 2006
Posts: 2
Reputation: ashoftheweb is an unknown quantity at this point 
Solved Threads: 0
ashoftheweb ashoftheweb is offline Offline
Newbie Poster

Dreamweaver and the missing html end tag

 
0
  #1
Aug 11th, 2006
I'm having a slight issue with a lot of html pages. I'm working for a decent sized company with nearly 15,000 pages in the site.

I've been going through and updating many of the pages with a find and replace function available through Dreamweaver. Recently I've noticed a huge problem.

The last WD of the site must not have known what they were doing when they used a WYSIWYG. So they copied and pasted the design view into the code view to replicate pages.

What occured is the loss of the html tags. On very rare cases the loss of the ending body tag as well. Normally, I can anchor the search to the body tag and insert all the needed information for a header and W3C regulations.

Here is the problem. I am running into a huge amount of files that are missing the ending body tag. I have no commonality to anchor the search to!

I was wondering if there is some way to get dreamweaver to insert ending body and html tags at the end of every document in a search group or some program that can be downloaded free or purchased that can do the same thing in large numbers.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 75
Reputation: Sailor_Jerry is an unknown quantity at this point 
Solved Threads: 2
Sailor_Jerry's Avatar
Sailor_Jerry Sailor_Jerry is offline Offline
Junior Poster in Training

Re: Dreamweaver and the missing html end tag

 
0
  #2
Aug 11th, 2006
You could write a program that does this. I'm sure the C++, or JAVA guys can help.

Use java.io to open the files
Then search for the </body></html> tags.
if the search is successful move to the next file. else insert the tags at the end of the file, save, and move on to the next file.


http://javaalmanac.com/egs/java.io/Sync.html
http://javaalmanac.com/egs/java.io/GetFiles.html
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC