<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>This is much faster:

function leseSpielerNamen() {
   // liest den Spielernamen aus dem Chat - Link aus

  spieler = String( find('//td[@class=&quot;menu&quot;]/a[@target=&quot;_blank&quot;][2]',XPFirst) ).split('|')[1];
}

The problem is that its kind of tied to the target attribute &quot;_blank&quot;.  It could be changed to use the href attribute instead of the target attribute looking for &quot;/chat/?chatname=&quot;.</body>
  <body-html>&lt;p&gt;This is much faster:&lt;/p&gt;

&lt;p&gt;function leseSpielerNamen() {
&lt;br /&gt;   // liest den Spielernamen aus dem Chat - Link aus&lt;/p&gt;

&lt;p&gt;  spieler = String( find('//td[@class=&quot;menu&quot;]/a[@target=&quot;_blank&quot;][2]',XPFirst) ).split('|')[1];
&lt;br /&gt;}&lt;/p&gt;

&lt;p&gt;The problem is that its kind of tied to the target attribute &quot;_blank&quot;.  It could be changed to use the href attribute instead of the target attribute looking for &quot;/chat/?chatname=&quot;.&lt;/p&gt;</body-html>
  <created-at type="datetime">2009-01-17T16:08:03Z</created-at>
  <forumable-id type="integer">29926</forumable-id>
  <forumable-type>Script</forumable-type>
  <id type="integer">90506</id>
  <topic-id type="integer">20522</topic-id>
  <updated-at type="datetime">2009-01-17T16:08:03Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">78108</user-id>
</post>
