Take the 2-minute tour ×

I have a bunch of files(not necessarily text files) on disk. I need to display the merged contents of all these files in a html page opened locally on Load. Is this possible without using Active-X? My objective is to create a summary of a set of files and at the same time to keep the summary file small. Infact most of the files whose data I need to summarize are html files.

If this is possible can I also choose only certain sections of text in each file to be part of the summary?

It would be great if the solution would have a wide browser support. Any example would help a lot.


share|improve this question
add comment

2 Answers

Open the files in iframes then pull the source of each and process it. Since it is coming from your own machine, there should not be any cross-domain problem.

share|improve this answer
how do i get the source of an iframe? –  John3333 Jul 2 '11 at 16:07
Any help please.. I dont want them to exist as separtae entities in the final summary as iFrame does.... I need to merge their contents... How can I pull the source from an iFrame?? –  John3333 Jul 4 '11 at 7:00
add comment

Javascript does not have access to the clients file system, therefore I do not believe this is possible. See this post: Local file access with javascript

share|improve this answer
well it is possible actually using Active-X only for IE though. All of my files or an a local system and I would be collecting them into a html page in the same system. –  John3333 Jul 2 '11 at 16:13
add comment

Your Answer


