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? Katie
--On 28. März 2007 11:00:51 -0400 Katie <klegere@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
On Wed, Mar 28, 2007 at 11:00:51AM -0400, Katie 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?
this is old but might still be useful: http://kebasdata.sourceforge.net/ -- Paul Winkler http://www.slinkp.com
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
"Katie" <klegere@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?
Have a look at mxm Proxy tool: http://www.mxm.dk/products/public/mxmProxyTool/
participants (5)
-
Andreas Jung -
Duncan Booth -
Katie -
Maciej Wisniowski -
Paul Winkler