Forum Moderators: open

Message Too Old, No Replies

Site Includes

how to include content from another site

         

fashezee

12:54 pm on Mar 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have site A and site B which reside both on different servers. I would like to
include a portion of site B in site A without using the frames.

Is this possible, if so how?

BlobFisk

1:12 pm on Mar 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



As far as I know, server side includes can only be made to files on the same server that the page resides on - but I'm open to correction.

You could use a server side language to scrape [webmasterworld.com] the segment of content you want from the page.

Alternative Future

1:27 pm on Mar 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Struts template functionality can do this. Also if you are using JSP I am sure that jsp:include is capable of this too.

Check out the apache site.

HTH,

-gs

lorax

1:30 pm on Mar 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You could also just use SSI to call the page you want to include unless you're looking for only a portion of the page in which case you'll need to use a script language to parse the page and extract what you want.