<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>Nice work! Thank you.

Here's another suggestion. Please insert a var &quot;oMode&quot; in configuration:
&lt;pre&gt;var oMode = true; // =true: show first &lt;b&gt;unread&lt;/b&gt; post, =false: show first post/beginning of thread&lt;/pre&gt;

and change this section:
&lt;pre&gt;
for (var i=0; i &lt; lnks.length; i++) {
  if (/showthread.php\?goto=newpost/.test(lnks[i].href)) {
    if (oMode) {
      newposts.push(lnks[i].href);
      } else {
      newposts.push(lnks[i].href.replace(/goto=newpost&amp;/, &quot;&quot;));
    }
    f++
    if (f+1 &gt; maxlnks &amp;&amp; maxlnks &gt; 0) break;
  }
}&lt;/pre&gt;

I hope this is my last idea. ;)</body>
  <body-html>&lt;p&gt;Nice work! Thank you.&lt;/p&gt;

&lt;p&gt;Here's another suggestion. Please insert a var &quot;oMode&quot; in configuration:
&lt;br /&gt;&lt;pre&gt;var oMode = true; // =true: show first &lt;b&gt;unread&lt;/b&gt; post, =false: show first post/beginning of thread&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;and change this section:
&lt;br /&gt;&lt;pre&gt;
for (var i=0; i &amp;lt; lnks.length; i++) {
  if (/showthread.php\?goto=newpost/.test(lnks[i].href)) {
    if (oMode) {
      newposts.push(lnks[i].href);
      } else {
      newposts.push(lnks[i].href.replace(/goto=newpost&amp;amp;/, &quot;&quot;));
    }
    f++
    if (f+1 &gt; maxlnks &amp;amp;&amp;amp; maxlnks &gt; 0) break;
  }
}&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;I hope this is my last idea. ;)&lt;/p&gt;</body-html>
  <created-at type="datetime">2008-02-22T17:19:50Z</created-at>
  <forumable-id type="integer">2</forumable-id>
  <forumable-type>Forum</forumable-type>
  <id type="integer">6946</id>
  <topic-id type="integer">1801</topic-id>
  <updated-at type="datetime">2008-02-23T10:14:44Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">5587</user-id>
</post>
