[Zope] Basic ZServer/Zope Question - OBJECT's and Includes
Alexander Staubo
alex@mop.no
Wed, 7 Jul 1999 07:05:26 +0200
You can easily build your own. Add an External Method that points to
this function:
import urllib
def Include(Url):
return urllib.urlopen(Url).read()
Then, assuming you called the External Method "Include", call it up like
so:
<!--#var "Include('http://www.zope.org/')"-->
Simple. You can do more complex stuff with httplib if you need it.
--
Alexander Staubo http://www.mop.no/~alex/
"What the hell, he thought, you're only young once, and threw
himself out of the window. That would at least keep the element of
surprise on his side."
--Douglas Adams, _The Hitchhiker's Guide to the Galaxy_
>-----Original Message-----
>From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
>Matthew Marlowe
>Sent: 7. juli 1999 04:09
>To: zope@zope.org
>Subject: [Zope] Basic ZServer/Zope Question - OBJECT's and Includes
>
>
>Hello,
>
>I'm sure I must have missed something in the documentation...but would
>appreciate any help. I am trying to create a Zope object that is
>nothing more than a dynamic include(embedding) of an external web page.
>
>Standard HTML4 like the OBJECT tag doesn't work, and creating an object
>the normal way means uploading only one instance of the object?
>
><!--include--> also doesn't seem to be a valid tag.
>
>Thanks,
>Matt
>--
>Matthew Marlowe http://www.jalan.com/ (p) 909.799.3805
>mmarlowe@jalan.com Jalan Network Services (f) 909.799.3285
>"Quality Web Hosting, Network, Linux, and Solaris Consulting"
>
>_______________________________________________
>Zope maillist - Zope@zope.org
>http://www.zope.org/mailman/listinfo/zope
>
>(For developer-specific issues, use the companion list,
>zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>