| | |
Dreamweaver and the missing html end tag
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2006
Posts: 2
Reputation:
Solved Threads: 0
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.
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.
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
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
![]() |
Similar Threads
- is dreamweaver is better tahn hand code? (IT Professionals' Lounge)
- How to get the javascript objects in html body tag (JavaScript / DHTML / AJAX)
- can I get a title from an html header tag? (PHP)
- Filling 2nd dropdown by choice in first (JavaScript / DHTML / AJAX)
- another newbie with alot of redhat and apache server Q'S (Linux Servers and Apache)
- HTML validation problems (Search Engine Optimization)
Other Threads in the HTML and CSS Forum
- Previous Thread: Trouble with absolute positioning in CSS
- Next Thread: how to use css3 in firefox?
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form google griefers hackers hitcounter hover html ie7 ie8 iframe image images internet intranet iphone javascript jpeg layout macbook maps mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning scroll seo shopping swf swf. textcolor timecolor titletags url urlseparatedwords visualization web webdevelopment webform website windows7





