<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>You think that's complex, should see my local version.
Someone else wrote a script similar to yours, but that will download the entire page and if you don't have an account it eats your download bandwidth. Also there are more than a couple error messages and I don't even know what a paid member sees, which actually doesn't matter (I had a RS member test my script for me, so apparently it works).
My script is only complex because it tries to parse munged links and removes redirect URLs, it converts plain text links to hyperlinks and demunges those links as well. This is extremely hard to do and is never 100%. I based that on &lt;a href=&quot;http://www.oreilly.com/pub/h/4100#code&quot;&gt;Linkify&lt;/a&gt; which also has several versions on us.o and had to modify it to add all the features listed in the description.

It's easy to find links, just do a Google search.

BTW: I know there are cases when I should be using &lt;tt&gt;switch&lt;/tt&gt;, but I usually start out with one &lt;tt&gt;if&lt;/tt&gt; and it sometimes breeds but I never go back and rewrite using &lt;tt&gt;switch&lt;/tt&gt;, either because I'm not used to using it or I'm just lazy.</body>
  <body-html>&lt;p&gt;You think that's complex, should see my local version.
&lt;br /&gt;Someone else wrote a script similar to yours, but that will download the entire page and if you don't have an account it eats your download bandwidth. Also there are more than a couple error messages and I don't even know what a paid member sees, which actually doesn't matter (I had a RS member test my script for me, so apparently it works).
&lt;br /&gt;My script is only complex because it tries to parse munged links and removes redirect URLs, it converts plain text links to hyperlinks and demunges those links as well. This is extremely hard to do and is never 100%. I based that on &lt;a href=&quot;http://www.oreilly.com/pub/h/4100#code&quot;&gt;Linkify&lt;/a&gt; which also has several versions on us.o and had to modify it to add all the features listed in the description.&lt;/p&gt;

&lt;p&gt;It's easy to find links, just do a Google search.&lt;/p&gt;

&lt;p&gt;BTW: I know there are cases when I should be using &lt;tt&gt;switch&lt;/tt&gt;, but I usually start out with one &lt;tt&gt;if&lt;/tt&gt; and it sometimes breeds but I never go back and rewrite using &lt;tt&gt;switch&lt;/tt&gt;, either because I'm not used to using it or I'm just lazy.&lt;/p&gt;</body-html>
  <created-at type="datetime">2007-12-30T00:22:36Z</created-at>
  <forumable-id type="integer">2</forumable-id>
  <forumable-type>Forum</forumable-type>
  <id type="integer">5705</id>
  <topic-id type="integer">1501</topic-id>
  <updated-at type="datetime">2007-12-30T00:38:19Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">27110</user-id>
</post>
