473,545 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 17273
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
12025
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 on the server (in our own accounts on the same machine). When I am testing both versions of our program using the same browser (IE on Windows or...
0
6245
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 No (pn) Sequence (seq) Long Description (long_desc) --------------- --------------- ---------------------------------------- HL1450 10 This is part of a long...
6
4011
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) like: <FRAMESET ROWS="*,*,*,*,*,100%" BORDER=0 FRAMEBORDER=0> <FRAME SRC="http://www.firstdomain.com/index.html" NAME="first" MARGINWIDTH=1...
13
3299
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 browser windows when clicked. I have found scripts that will allow one to open, and a few that claim to all multiples to be opened, but so far nothing...
14
27160
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++, and have the result as a char*. I first tried using strcat, but you need a const char* as the second parameter to work, but I don't know all the...
3
2523
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. Usually, when a user wants to change the page, what you do is compute indexes in the server and return the modified list. But that's not what I want to...
13
8633
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 a login to show data. I want the user to login only once when he visits any of my domains.
10
7426
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 able to produce a query that gives me two fields, Part_Number and Product_Type. Below you can see some sample data: Part_Number Product_Type...
0
7478
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7410
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7668
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7923
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7437
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7773
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
4960
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
722
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.