[Zope] extract page title
lists at zopyx.com
Tue Apr 24 10:51:00 EDT 2007
--On 24. April 2007 15:40:22 +0100 Dean Hale <dean.hale at sunderland.ac.uk>
> Hi Andreas,
> Thanks - i know the title does not belong in a script tag, i just want
> tags themselves. Sorry its my explanations for help that are unclear.
Move your code to generate the HTML snippet into a script and generate
whatever you need on the Python level. If you generate the <title>
using TALES, you can use the same API in Python to generate the title
inside your <script> code. Then call the script from the template.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070424/fea8d675/attachment.bin
More information about the Zope