[Zope] extract page title

Dean Hale dean.hale at sunderland.ac.uk
Tue Apr 24 10:40:22 EDT 2007


Hi Andreas,

Thanks - i know the title does not belong in a script tag, i just  
want the text within the title tag appended within the javascript,  
not the tags themselves. Sorry its my explanations for help that are  
unclear.

thanks
dan

On 24 Apr 2007, at 15:35, Andreas Jung wrote:



--On 24. April 2007 15:25:24 +0100 Dean Hale  
<dean.hale at sunderland.ac.uk> wrote:

>
> Hi Andreas,
>
> Thanks, will try
>
> basically if i have some zpt pages with the tiltle
>
> <title>INTRODUCTION</title>
>
> <title>ABOUT</title>
>
> somehow within below the page title should be appended after
> 'websitename.'
>
>> <script language='JavaScript1.1' type='text/javascript'>
>> <noscript>
>> <img src="http://domain/xxx/xxx/s?websitename.INTRODUCTION"
>> width="1" height="1" alt="">
>> </noscript>
>> </script>
>
>> <script language='JavaScript1.1' type='text/javascript'>
>> <noscript>
>> <img src="http://domain/xxx/xxx/s?websitename.ABOUT"
>> width="1" height="1" alt="">
>> </noscript>
>> </script>
>
> does this make more sense? thanks again.

no.

a <TITLE> tag does not belong inside <script> tag.

-aj






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20070424/1e81c548/attachment.htm


More information about the Zope mailing list