Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 06:40 PM
Bosch News
Guest
 
Posts: n/a
Default How to, load txtfiles with htm-content using js

Hello,
we are looking for a way to load in an existing html-file different
txtfiles, which includes html-commands.

Example(Not a real server):
We want to load a layout.htm with an parameter like the following sample url
"http://www.server.com/Index.htm?content.txt"

After loading the index.htm a included html script should load the
content.txt file.
The html-code in index.htm additional with the html-code in the content.txt
file should give the whole html-code for the viewed page.

Tank you in advance
regards
heinz


  #2  
Old July 20th, 2005, 06:41 PM
Neal
Guest
 
Posts: n/a
Default Re: How to, load txtfiles with htm-content using js

On Wed, 18 Feb 2004 08:44:38 +0100, Bosch News <heinz.rieder@de.bosch.com>
wrote:
[color=blue]
> Hello,
> we are looking for a way to load in an existing html-file different
> txtfiles, which includes html-commands.
>
> Example(Not a real server):
> We want to load a layout.htm with an parameter like the following sample
> url
> "http://www.server.com/Index.htm?content.txt"
>
> After loading the index.htm a included html script should load the
> content.txt file.
> The html-code in index.htm additional with the html-code in the
> content.txt
> file should give the whole html-code for the viewed page.
>
> Tank you in advance
> regards
> heinz
>
>[/color]

Sounds like SSI to me. Your server must allow SSI but if it does this is
easy.
  #3  
Old July 20th, 2005, 06:41 PM
Bosch News
Guest
 
Posts: n/a
Default Re: How to, load txtfiles with htm-content using js

Hello Neal
thank you for your answer.
Are you meaning server side includes with ssi?

I think it is possible with asp-pages to realize the includes, but in this
case,
we are not able to use asp.

regards heinz

-snap-[color=blue]
> Sounds like SSI to me. Your server must allow SSI but if it does this is
> easy.[/color]



  #4  
Old July 20th, 2005, 06:41 PM
Harlan Messinger
Guest
 
Posts: n/a
Default Re: How to, load txtfiles with htm-content using js

"Bosch News" <heinz.rieder@de.bosch.com> wrote:
[color=blue]
>Hello Neal
>thank you for your answer.
>Are you meaning server side includes with ssi?[/color]

SSI *means* "server-side includes".
[color=blue]
>
>I think it is possible with asp-pages to realize the includes, but in this
>case,
>we are not able to use asp.
>[/color]

Server-side includes are not part of ASP. They are provided by many
web servers, *including* Microsoft's IIS when it processes ASP pages.

By the way, notice the benefit of putting responses *after* the
previous poster's text. It lets me answer each part of your message in
the appropriate place, and you can read this whole message with my
responses following the passages that they address, so that the whole
thing can be understood. If I continued your practice of putting the
response before the previous message, I wouldn't be able to do this.

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ๔ter le premier point de mon adresse de courriel.
 

Bookmarks

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