Re: [Zope] include?

2007-03-28 Thread Andreas Jung



--On 28. März 2007 11:00:51 -0400 Katie [EMAIL PROTECTED] 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

pgp1cwwnAO7eV.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] include?

2007-03-28 Thread Maciej Wisniowski
Katie napisał(a):
 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?
There is a product to embed php pages in zope:
http://zope.org/Members/hewei/PHParser

but I don't know if and how this works.

-- 
Maciej Wisniowski
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )