Forum Moderators: open

Message Too Old, No Replies

Pulling another page into a table cell without using frames

         

anubis

2:52 pm on Mar 5, 2003 (gmt 0)

10+ Year Member



Hi

I just wanted to know if there was a way of pulling in a page (in this case text ) which is maintained on some body elses server into a table. I do not have any access to this server by ftp but need the information on this page to appear in the site I am working on ( I have permission to use this info)
I do not want to use frames if i can help it but want to know is there any way I can pull this page in to a specified cell in a table on a html page that's on my site.
The information on this page that i am trying to pull in does change and is updated by them.

cheers

anubis

jpjones

3:00 pm on Mar 5, 2003 (gmt 0)

10+ Year Member



If your server can support a programming language, such as PHP, ASP, or Perl, then you could get the server to retrieve the third party page via a HTML component (e.g. CURL under PHP, or microsoft.xmlhttp under ASP), and then parse the results and put the relevant content into your table cell.

If you're doing this - be nice and cache the data, updating it only once an hour or so. That way, you won't annoy the other servers' admin, and your page will respond a lot quicker. :)

HTH,
JP