473,385 Members | 1,630 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

Feb 22 '06 #1
4 17258
Wladimir Borsov wrote:
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?


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
Feb 22 '06 #2
Tim
On Wed, 22 Feb 2006 19:44:54 -0300, Jonas Raoni sent:
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.


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.

Feb 23 '06 #3
Wladimir Borsov wrote:
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


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/>
Feb 23 '06 #4
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

Feb 24 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: jing_li | last post by:
Hi, you all, I am a newbee for php and I need your help. One of my coworker and I are both developing a webpage for our project using php. We have a copy of the same files in different location...
0
by: Nick Heppleston | last post by:
I have a concatenation problem and I was wondering if somebody might be able to offer some help :-) I have the following table structure holding product long descriptions: Part...
6
by: Wladimir Borsov | last post by:
I would like to load multiple web pages from Internet into ONE single browser window - one below the other. How do I do that most easily ? One idea is to built a frameset (for e.g 6 web pages)...
13
by: Geoff Fox | last post by:
I am in the final moments of designing a new website. One of the pages (http://www.auditionfactory.com/samples.php) has four links to show sample work. I would like these links to open new...
14
by: metamorphiq | last post by:
Hello, I'm a Java programmer, so I'm probably asking a very simple question here, but I have trouble solving it :) I'd like to know how you concatenate multiple (4, in my case) char* in C++,...
3
by: Raphas | last post by:
Hi, there are a lot of different scripts out there to sort a table with multiple columns. However, I want to do something specific. I have a table that is "spread" accross multiple pages....
13
by: Samir Chouaieb | last post by:
Hello, I am trying to find a solution to a login mechanism for different domains on different servers with PHP5. I have one main domain with the user data and several other domains that need...
10
by: Aaron Hoffman | last post by:
Hello, I'm hoping someone might be able to offer some guidance to my problem. I have one query in MS Access which consists of 2 tables joined by a SEQUENCE_ID. By joining the two tables I am...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.