[Zope] include?

Andreas Jung lists at zopyx.com
Wed Mar 28 11:45:17 EDT 2007



--On 28. März 2007 11:00:51 -0400 Katie <klegere at kfpl.ca> wrote:

> We're almost finished getting the new site done completely in zope using
> css and mySql. We have an older portion of the old site done in php
> thought that we don't really want to re-write. We'd like to include it in
> the dtml document page that has all the common elements of every page but
> I'm at a loss of a way to do it other than using an inline frame. Is
> there a dtml include that takes a url string the way the <dtml-var> tag
> renders the associated file?

Write an external method, pass the url to external method. use Python
'urllib2' module for fetching the contents.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070328/41f47b46/attachment.bin


More information about the Zope mailing list