944,172 Members | Top Members by Rank

Ad:
Aug 11th, 2006
0

Dreamweaver and the missing html end tag

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ashoftheweb is offline Offline
2 posts
since Aug 2006
Aug 11th, 2006
0

Re: Dreamweaver and the missing html end tag

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
Reputation Points: 13
Solved Threads: 2
Junior Poster in Training
Sailor_Jerry is offline Offline
88 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Trouble with absolute positioning in CSS
Next Thread in HTML and CSS Forum Timeline: how to use css3 in firefox?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC