Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old February 22nd, 2006, 10:25 PM
Wladimir Borsov
Guest
 
Posts: n/a
Default How to concatenate multiple web pages into one and show ONLY this ONE in browser ??

Ok, think of let say 10 different web pages on the internet. Each of them are usual
html web pages. Nothing special.

What I want to do now is to create a new meta resp. grouping web page which contains
all the "sub" web pages. BUT: NO FRAMES should be used!!!
Instead I am thinking of a mechanism which just concatenates all the
10 different web pages and shows them as ONE page in my browser (IntExp or Firefox).

Be aware of the difference: Using 10 frames in a frameset would mean the occurence of
mini panes with 10 sliders.
But I want just one pane with one vertical slider.

Is there a way to accomplish this task?

I could imagine to use a proxy which collects at first all the 10 web pages.
But how do I concatenate them with a minimum of effort?

Wladimir

  #2  
Old February 22nd, 2006, 11:05 PM
Jonas Raoni
Guest
 
Posts: n/a
Default Re: How to concatenate multiple web pages into one and show ONLYthis ONE in browser ??

Wladimir Borsov wrote:[color=blue]
> Ok, think of let say 10 different web pages on the internet. Each of them are usual
> html web pages. Nothing special.
>
> What I want to do now is to create a new meta resp. grouping web page which contains
> all the "sub" web pages. BUT: NO FRAMES should be used!!!
>
> I could imagine to use a proxy which collects at first all the 10 web pages.
> But how do I concatenate them with a minimum of effort?[/color]

This question isn't related to JavaScript, you should post it in a php,
jsp, asp, ... list.

Anyway, this will never work right with "minimun effort", since every
page may require specific things. A script may use an element with
id="x" and then the other page adds another element with the same id, a
page requires a css file that after added also changes the layout of
another one, etc. There are many problems.

If I were you (I wouldn't do it haha), I would just remove the <html>,
<body>, etc. tags and output the page content surrounded by a <div>,
maybe even remove the <script> tags and leave just simple markups and text.


--
Jonas Raoni Soares Silva
http://www.jsfromhell.com
  #3  
Old February 23rd, 2006, 03:45 AM
Tim
Guest
 
Posts: n/a
Default Re: How to concatenate multiple web pages into one and show ONLY this ONE in browser ??

On Wed, 22 Feb 2006 19:44:54 -0300, Jonas Raoni sent:
[color=blue]
> I would just remove the <html>, <body>, etc. tags and output the page
> content surrounded by a <div>, maybe even remove the <script> tags and
> leave just simple markups and text.[/color]

And when you tried to combine two pages using different encoding...?

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please destroy some files yourself.

  #4  
Old February 23rd, 2006, 10:45 PM
David E. Ross
Guest
 
Posts: n/a
Default Re: How to concatenate multiple web pages into one and show ONLYthis ONE in browser ??

Wladimir Borsov wrote:[color=blue]
> Ok, think of let say 10 different web pages on the internet. Each of them are usual
> html web pages. Nothing special.
>
> What I want to do now is to create a new meta resp. grouping web page which contains
> all the "sub" web pages. BUT: NO FRAMES should be used!!!
> Instead I am thinking of a mechanism which just concatenates all the
> 10 different web pages and shows them as ONE page in my browser (IntExp or Firefox).
>
> Be aware of the difference: Using 10 frames in a frameset would mean the occurence of
> mini panes with 10 sliders.
> But I want just one pane with one vertical slider.
>
> Is there a way to accomplish this task?
>
> I could imagine to use a proxy which collects at first all the 10 web pages.
> But how do I concatenate them with a minimum of effort?
>
> Wladimir
>[/color]

My index of Web pages is generated by a UNIX script operating as a
server-side include (SSI). When you go to
<http://www.rossde.com/get_index.html>, it causes the script to execute,
the script generates the index as a file (an HTML fragment). Then it
concatenates three files: beginning (with the HEAD section and the start
of the BODY section), the generated main content, and ending. All this
is done on the Web server, resulting in
<http://www.rossde.com/index_list.html>.

The index is finally displayed by the action of
<META HTTP-EQUIV="Refresh" CONTENT="1;
URL=http://www.rossde.com/index_list.html">
in the HEAD section of <http://www.rossde.com/get_index.html>. For
those browsers that won't refresh at all or won't refresh to a different
URL, <http://www.rossde.com/get_index.html> also has a button to
manually select <http://www.rossde.com/index_list.html>.

What I have described above indicates a way to create Web pages
dynamically. My index page is created by the concatenation of two
static files plus a file generated "on the fly". While I actually make
use of this index myself, the real reason I created the SSI script and
the index page was to see if I could generate pages dynamically.

--

David E. Ross
<http://www.rossde.com/>

Concerned about someone (e.g., Pres. Bush) snooping
into your E-mail? Use PGP.
See my <http://www.rossde.com/PGP/>
  #5  
Old February 24th, 2006, 03:55 PM
Fuzzyman
Guest
 
Posts: n/a
Default Re: How to concatenate multiple web pages into one and show ONLY this ONE in browser ??

Or ones with relative links to images or other pages...

You need some processing to do this. Python is the ideal language to do
this in of course...

Fuzzyman
http://www.voidspace.org.uk/python/index.shtml

 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles