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>

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.