Adrienne Boswell wrote:
Quote:
Gazing into my crystal ball I observed ohaya <ohaya@cox.netwriting in
news:05602ba2-7183-4f00-86dd-fe654065286f@q26g2000prq.googlegroups.com:
>
Quote:
>Hi,
>>
>We want to include some SSI in our ASP pages, but where the SSI is
>located on a different server, and so we need to be able to access the
>SSI using a full URL, as opposed to a local file reference or relative
>URL.
>>
>The "include" apparently doesn't allow this, so I was wondering if
>anyone knows away to accomplish this?
>>
>Thanks!
>>
>Jim
>>
>
AFAIK, there is no way to do this other than XMLHTTP or maybe an Iframe
(frowned upon, however).
>
Adrienne,
Thanks for the pointer re. XMLHttp. That *almost* did it, but
unfortunately, not quite :(...
I'm doing the XMLHttp call on the server-side, in an ASP page, and I was
able to GET the SSI using XMLHttp, but, the SSI includes links for
images and for css.
The images on the final page are appearing as "red X'es".
When I did view source on the final page, it looks like it's using my
hostname as the hostname in the URLs that it's using to GET the images.
In other words, the SSI has something like:
<IMG src="/icons/brand.gif"...
but on the final page served/view source it has:
<IMG src="http://myhost/icons/brand.gif"...
I can't really tell, but I think the same thing is happening with the
references/links for the css that is in the SSI that I'm getting.
Is there a way to resolve this problem?
Maybe in my ASP, I can parse the hostname part of the image and css URLs
before doing the Response.Write?
Would that work??
Any other ideas?
Jim