Re: [Zope] Make a Zope Staging Server

2007-04-24 Thread [EMAIL PROTECTED]
-- Initial Header --- >From : "Andreas Jung" [EMAIL PROTECTED] To : [EMAIL PROTECTED],"akm" [EMAIL PROTECTED] Cc : "zope" zope@zope.org Date : Mon, 23 Apr 2007 21:30:54 +0200 Subject : Re: [Zope] Make a Zope Staging Server > > > --On 23. April 200

Re: [Zope] Make a Zope Staging Server

2007-04-24 Thread [EMAIL PROTECTED]
> > > > > > --On 23. April 2007 17:41:42 +0200 [EMAIL PROTECTED] wrote: > > > > > > > I'm looking for a solution (perhaps a script) that "synchronize" > > > my ZODBs (maybe file copy?) > > > > ZSyncer? > > > > -aj > > I don't know it but it seems the tool I'm looking for... > > /j That's perfect!

[Zope] extract page title

2007-04-24 Thread Dean Hale
Hi I'm trying to implement some web tracking code within a page template, however a little stuck. In the code below i'd like to append the page template - page title between the tags dynamically rather than having to manually add to each page

Re: [Zope] extract page title

2007-04-24 Thread Andreas Jung
--On 24. April 2007 15:05:49 +0100 Dean Hale <[EMAIL PROTECTED]> wrote: Hi I'm trying to implement some web tracking code within a page template, however a little stuck. In the code below i'd like to append the page template - page title between the tags dynamically rather than having to

Re: [Zope] extract page title

2007-04-24 Thread Dean Hale
Hi Andreas, Thanks, will try basically if i have some zpt pages with the tiltle INTRODUCTION ABOUT somehow within below the page title should be appended after 'websitename.'

Re: [Zope] extract page title

2007-04-24 Thread Andreas Jung
--On 24. April 2007 15:25:24 +0100 Dean Hale <[EMAIL PROTECTED]> wrote: Hi Andreas, Thanks, will try basically if i have some zpt pages with the tiltle INTRODUCTION ABOUT somehow within below the page title should be appended after 'websitename.'

Re: [Zope] extract page title

2007-04-24 Thread Dean Hale
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

Re: [Zope] extract page title

2007-04-24 Thread Jeff Rush
Andreas Jung wrote: > > --On 24. April 2007 15:25:24 +0100 Dean Hale > <[EMAIL PROTECTED]> wrote: > >> basically if i have some zpt pages with the title >> >> INTRODUCTION >> >> ABOUT >> >> somehow within below the page title should be appended after >> 'websitename.' >> >>> >>>

Re: [Zope] extract page title

2007-04-24 Thread Andreas Jung
--On 24. April 2007 15:40:22 +0100 Dean Hale <[EMAIL PROTECTED]> wrote: 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 uncl

Re: [Zope] extract page title

2007-04-24 Thread Maciej Wisniowski
> 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. > > I'm not sure if I understand you but... Where tag content ca

Re: [Zope] extract page title

2007-04-24 Thread Philip Kilner
Hi Dean, Dean Hale wrote: > I'm trying to implement some web tracking code within a page template, > however a little stuck. > > In the code below i'd like to append the page template - page title > between the tags dynamically rather than having to manually add > to each page > > >

Re: [Zope] extract page title

2007-04-24 Thread Andreas Jung
--On 24. April 2007 09:56:41 -0500 Jeff Rush <[EMAIL PROTECTED]> wrote: I don't see above him putting a tag within the tag. He wants to put the *value* of the tag inside the <script> tag. It seems some form of a string: expression would do it, assuming the title is not literally i</span> </blockquote><br> <h3><span class=subject><a href="/zope@zope.org/msg28341.html">Re: [Zope] extract page title</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=zope%40zope.org&q=date:20070424&o=newest">2007-04-24</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=zope%40zope.org&q=subject:%22%5C%5BZope%5C%5D+extract+page+title%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=zope%40zope.org&q=from:%22Jeff+Rush%22&o=newest">Jeff Rush</a></span> </div> <blockquote><span class="msgFragment"> Andreas Jung wrote: > > As far as I can recall: you can't use TALES within a SCRIPT block. > That's why you must generate your stuff outside inside a script. Ah thanks I wasn't aware of that exclusion, never having tried it or found it documented. Then yes your approach is the only one left. -J</span> </blockquote><br> <h3><span class=subject><a href="/zope@zope.org/msg28342.html">Re: [Zope] extract page title</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=zope%40zope.org&q=date:20070424&o=newest">2007-04-24</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=zope%40zope.org&q=subject:%22%5C%5BZope%5C%5D+extract+page+title%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=zope%40zope.org&q=from:%22Andreas+Jung%22&o=newest">Andreas Jung</a></span> </div> <blockquote><span class="msgFragment"> --On 25. April 2007 00:41:19 -0500 Jeff Rush <[EMAIL PROTECTED]> wrote: Andreas Jung wrote: As far as I can recall: you can't use TALES within a SCRIPT block. That's why you must generate your stuff outside inside a script. Ah thanks I wasn't aware of that exclusion, never having tried it </span> </blockquote><br> <h2></h2> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <h2>14 matches</h2> <br> <form class="overflow" action="/search" method=get> <input type="hidden" name="a" value="1"> <input type="hidden" name="l" value="zope@zope.org"> <label class="hidden" for="haswords">Has the words</label> <input class="submittext" type="text" maxlength="1024" id="haswords" value='' name="haswords" placeholder="Has the words"> <input class="submitbutton" id="submit" type="image" src="/submit.png" alt="Submit"> <label class="hidden" for="from">From</label> <input class="submittext" type="text" maxlength="1024" id="from" value="" name="from" placeholder="From"> <label class="hidden" for="subject">Subject</label> <input class="submittext" type="text" maxlength="1024" id="subject" value="" name="subject" placeholder="Subject"> <select name="datewithin"> <option value="1d" >Date within 1 day of</option> <option value="3d" >Date within 3 days of</option> <option value="1w" >Date within 1 week of</option> <option value="2w" >Date within 2 weeks of</option> <option value="1m" >Date within 1 month of</option> <option value="2m" >Date within 2 months of</option> <option value="6m" >Date within 6 months of</option> <option value="1y" >Date within 1 year of</option> </select> <label class="hidden" for="date">e.g. Jul 18 2006 or 8/14/03</label> <input class="submittext" type="text" size="20" maxlength="50" id="date" value="2007-04-24" name="date" placeholder="e.g. Jul 18 2006 or 8/14/03"> <label class="hidden" for="notwords">Doesn't have</label> <input class="submittext" type="text" maxlength="1024" id="notwords" value="" name="notwords" placeholder="Doesn't have"> <select name="o"> <option value="relevance" selected="selected">Sort by relevance</option> <option value="newest" >Sort by date</option> </select> </form> <div class="nav margintop" id="nav" role="navigation"> <h2 class="hidden"> Site Navigation </h2> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"> <a href="/zope@zope.org" title="c" id="c">zope - all messages</a></li> <li class="icons-about"> <a href="/zope@zope.org/info.html">zope - about the list</a></li> <li class="icons-expand"><a href="/search?l=zope%40zope.org&q=date%3A20070424&f=1&a=1" title="e" id="e">Expand</a></li> </ul> </div> <div class="listlogo margintopdouble"> <h2 class="hidden"> Mail list logo </h2> </div> </div> <div class="footer" role="contentinfo"> <h2 class="hidden"> Footer information </h2> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> </ul> </div> <script language="javascript" type="text/javascript"> document.onkeydown = NavigateThrough; function NavigateThrough (event) { if (!document.getElementById) return; if (window.event) event = window.event; if (event.target.tagName == 'INPUT') return; if (event.ctrlKey || event.metaKey) return; var link = null; switch (event.keyCode ? event.keyCode : event.which ? event.which : null) { case 69: link = document.getElementById ('e'); break; } if (link && link.href) document.location = link.href; } </script> </body> </html>