<?xml version="1.0" encoding="windows-1252"?>
<node id="886773" title="Re: here is a script to log what you do during the day..." created="2011-02-07 13:07:43" updated="2011-02-07 13:07:43">
<type id="11">
note</type>
<author id="292373">
wazoox</author>
<data>
<field name="doctext">
&lt;blockquote&gt;&lt;em&gt;If you use firefox, you need to install the "nightly tester tools" adddon to change the title of the window to "firefox", otherwise the script will keep track of each url visited. &lt;/em&gt;&lt;blockquote&gt;

&lt;p&gt;It seems to me that all Firefox windows are named "page title - Mozilla Firefox"; so it would be quite easy to create a matching rule and simply keep the two last words:&lt;/p&gt;
&lt;c&gt; 
if ( $titolo =~ m#.*\s\-\s(Mozilla Firefox)$# ) 
    {$titolo = $1 };
&lt;/c&gt;
&lt;p&gt;beware, untested code example!&lt;/p&gt;</field>
<field name="root_node">
886532</field>
<field name="parent_node">
886532</field>
</data>
</node>
