Forums / Setup & design / How to include html from an external URL?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

How to include html from an external URL?

Author Message

Conor Murray

Friday 14 November 2003 9:41:59 am

I have a need to include dynamically updated forms from another server in some pages... ideally these would be pulled into a table in my template, but I can't find any way of doing this.

The include function only appears to allow local template files to be included... what I'm looking for is something that would work like this:
<table><tr><td>
{include url="http://some.server/form.html"}
</td></tr></table>

The included code does not need to be transformed or inspected in any way by eZp, and the form-processing will be handled by the remote server.

Any help with this would be much appreciated!

Language is a virus - William S Burroughs

Charlotte Buch

Monday 12 January 2004 4:03:12 am

You could use the iframe to get html from an external URL like this:

<iframe src="..."
width="100" height="100" scrolling="no" frameborder="0">
<ilayer src="...">... for Netscape ...</ilayer>
</iframe>