Computing.Net > Forums > Web Development > combine html

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

combine html

Reply to Message Icon

Name: lch
Date: April 27, 2006 at 03:00:06 Pacific
OS: windows XP Sp2
CPU/Ram: 320MB
Product: HP
Comment:

i had more than 50+ html. I wish to combine all 50+ html pages into one, not need to arrange in order. Is there anyway or programs to combine them in a easy way rather than copy and paste each one of them?



Sponsored Link
Ads by Google

Response Number 1
Name: Michael J (by mjdamato)
Date: April 27, 2006 at 06:48:43 Pacific
Reply:

Please clarify what you mean by combine?

I am making a guess that what you mean is that you want all the content on one page in one long vertical page. SO, pageone content is at the top, at the end of page 1 content page 2 content starts, and so on.

If that is what you are trying to do, I can think of two options.

1) Create a script or batch file that will create one new document from the code of all the other documents. Of course the script will need to parse out everything up to <body> and everything from </body> to the end. There could also be other problems if there is any JavaScript or CSS on those pages. But, that will give you one document with eveything in it.

2) Keep all the documents as they are now and create a "master" document which includes those other documents. When opening that master document you would see the content of all the other pages as if it was one big document.

To be honest, without knowing the structure of the documents and knowing exactly what the objective is I can't say which method would be better.

Michael J


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: combine html

please recommend me a WYSIWYG HTML www.computing.net/answers/webdevel/please-recommend-me-a-wysiwyg-html/2706.html

html - form menu www.computing.net/answers/webdevel/html-form-menu/1278.html

HTML form www.computing.net/answers/webdevel/html-form-/638.html