include external file

include external file

am 31.01.2007 14:34:17 von giorgio

hi,
how can i include a webpage from another server with ASP? (Without frames)
i tried XMLHTTP, but i loose the stylesheet, images src and relative links
of the included page.

See http://www.punticardinali.it/1winhttp.asp
("222" is a text in the calling page, other staff is included)

Ty

Re: include external file

am 31.01.2007 18:17:31 von Tim Slattery

"Giorgio" wrote:

>hi,
>how can i include a webpage from another server with ASP? (Without frames)
>i tried XMLHTTP, but i loose the stylesheet, images src and relative links
>of the included page.

Maybe an IFRAME?

--
Tim Slattery
MS MVP(DTS)
Slattery_T@bls.gov
http://members.cox.net/slatteryt

Re: include external file

am 31.01.2007 18:40:56 von giorgio

> Maybe an IFRAME?

Thanks for reply, but what about search engines with iframes?

Re: include external file

am 31.01.2007 21:57:19 von Anthony Jones

"Giorgio" wrote in message
news:45c0d494$0$10660$4fafbaef@reader1.news.tin.it...
>
> > Maybe an IFRAME?
>
> Thanks for reply, but what about search engines with iframes?
>
>

If you hoping to make content of one site appear to come from yours it'll be
difficult.

Re: include external file

am 01.02.2007 09:17:22 von Michael

Just idea how to do that. I can recommend to load header of needed webpage
before displaying content , try to find row where style sheet is declared,
and dynamically use this path it in your page. Its regarding css. About
sources you should build the rule which will "calculate" the real path to
source. Its a piece of work. Iframe can be helpfull
and remmember that content of other web pages changing so reason to display
this text for search crowlers not so effective.
Michael





"Giorgio" wrote in message
news:45c09ac5$0$8735$4fafbaef@reader2.news.tin.it...
> hi,
> how can i include a webpage from another server with ASP? (Without frames)
> i tried XMLHTTP, but i loose the stylesheet, images src and relative links
> of the included page.
>
> See http://www.punticardinali.it/1winhttp.asp
> ("222" is a text in the calling page, other staff is included)
>
> Ty
>
>