Sign in to follow this  
Followers 0
SteveO

Help grabbing topic numbers

4 posts in this topic

#1 ·  Posted (edited)

I need to go to a page, and grab topic numbers from the source code, then save them in an array, so I can randomly pick a topic from the array. So how would I go about grabbing the topic number from the page source?

Example HTML Page Source

<div align="center">
<table style="border-top: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);" border="0" cellpadding="2" cellspacing="0" width="100%">
    <tbody><tr>
        <td class="contentModuleHeaderAlt" style="border-right: 1px solid rgb(0, 0, 0);" align="center">Topic/Author</td>
        <td class="contentModuleHeaderAlt" style="border-right: 1px solid rgb(0, 0, 0);" align="center" width="50">Replies</td>
        <td class="contentModuleHeaderAlt" align="center" width="95">Last Post</td>
    </tr>
    <tr>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831623" class="blistTopic">Cassie/ ~*Rating Fonts*~</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=bumblebee006733" class="blistSmall"><b>bumblebee006733</b></a></div>         </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">45</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112831623&amp;next=41"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>

        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831360" class="blistTopic">NAME RATER! i rate ur name and put it up on my next board! PRIZE MAY BE INCLUDED</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=darknessfalls_95" class="blistSmall"><b>darknessfalls_95</b></a></div>           </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">7</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <span class="blistSmall">14.08 2:49pm</span>
        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112830663" class="blistTopic">Avatar Survivor</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=silver_moon11" class="blistSmall"><b>silver_moon11</b></a></div>          </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">99</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112830663&amp;next=81"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>
        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112829506" class="blistTopic"><img src="http://images.neopets.com/neoboards/smilies/star.gif" border="0"> RS &amp; CHAT <img src="http://images.neopets.com/neoboards/smilies/star.gif" border="0"></a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=gman1969" class="blistSmall"><b>gman1969</b></a></div>          </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">189</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112829506&amp;next=181"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>
        </td>
    </tr>
    <tr>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831243" class="blistTopic">I bought an old shoe.</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=alymarcas" class="blistSmall"><b>alymarcas</b></a></div>            </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">50</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112831243&amp;next=41"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>

        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112829601" class="blistTopic"><img src="http://images.neopets.com/neoboards/smilies/blumaroo.gif" border="0"><img src="http://images.neopets.com/neoboards/smilies/star.gif" border="0"> _ _ _ [ VERTIGO ] <img src="http://images.neopets.com/neoboards/smilies/swagbag.gif" border="0">   avatar guild <img src="http://images.neopets.com/neoboards/smilies/usul.gif" border="0"></a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=honorably" class="blistSmall"><b>honorably</b></a></div>           </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">122</td>

        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112829601&amp;next=121"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>
        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112830768" class="blistTopic"><img src="http://images.neopets.com/neoboards/smilies/star.gif" border="0"> Looking to borrow everything<img src="http://images.neopets.com/neoboards/smilies/oh.gif" border="0"><img src="http://images.neopets.com/neoboards/smilies/vampire.gif" border="0"></a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=spiderishere" class="blistSmall"><b>spiderishere</b></a></div>            </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">79</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112830768&amp;next=61"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>
        </td>
    </tr>
    <tr>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112830562" class="blistTopic"><img src="http://images.neopets.com/neoboards/smilies/star.gif" border="0"> avatar simon --- pretty difficult. come play. now. <img src="http://images.neopets.com/neoboards/smilies/smiley.gif" border="0"></a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=animehappybunnygrl57" class="blistSmall"><b>animehappybunnygrl57</b></a></div>           </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">191</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112830562&amp;next=181"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>

        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831543" class="blistTopic"><img src="http://images.neopets.com/neoboards/smilies/star.gif" border="0"><img src="http://images.neopets.com/neoboards/smilies/mistletoe.gif" border="0">||Rating Fonts || on FF ||</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=ahmuse" class="blistSmall"><b>ahmuse</b></a></div>          </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">49</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112831543&amp;next=41"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>
        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112830760" class="blistTopic">Looking to be lent FQD...Collat</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=zmaster90333" class="blistSmall"><b>zmaster90333</b></a></div>            </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">124</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112830760&amp;next=121"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>
        </td>
    </tr>
    <tr>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112830652" class="blistTopic">Who killed the avatar? #7</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=noname123456noname12" class="blistSmall"><b>noname123456noname12</b></a></div>          </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">88</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112830652&amp;next=81"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>

        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112826225" class="blistTopic">Act Like Your Avatar! Atrociously Awsome.</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=mimichi103340" class="blistSmall"><b>mimichi103340</b></a></div>            </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">314</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112826225&amp;next=301"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>
        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831646" class="blistTopic"><img src="http://images.neopets.com/neoboards/smilies/rednose.gif" border="0">Scammer Alert<img src="http://images.neopets.com/neoboards/smilies/rednose.gif" border="0"></a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=vanitysprite08" class="blistSmall"><b>vanitysprite08</b></a></div>          </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">30</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112831646&amp;next=21"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>
        </td>
    </tr>
    <tr>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112822386" class="blistTopic">█ █¦▌<img src="http://images.neopets.com/neoboards/smilies/bauble.gif" border="0"> |¦;I have [Rεpuℓsion] for Avatars, do you?;---[Block Guild] <img src="http://images.neopets.com/neoboards/smilies/star.gif" border="0"></a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=xxxlisssaxxx" class="blistSmall"><b>xxxlisssaxxx</b></a></div>          </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">161</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112822386&amp;next=161"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>

        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831930" class="blistTopic">Font rating!</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=picture2" class="blistSmall"><b>picture2</b></a></div>           </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">15</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <span class="blistSmall">14.08 2:49pm</span>
        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831865" class="blistTopic">loser loser loser loser loser loser loser loser loser loser loser loser loser</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=cute_babe58" class="blistSmall"><b>cute_babe58</b></a></div>            </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">18</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <span class="blistSmall">14.08 2:49pm</span>
        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112830009" class="blistTopic"><img src="http://images.neopets.com/neoboards/smilies/usul.gif" border="0"><img src="http://images.neopets.com/neoboards/smilies/pumpkin.gif" border="0"> Lend me BGC for partial collat? [also lending ITTPD] <img src="http://images.neopets.com/neoboards/smilies/zafara.gif" border="0"></a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=homorphus" class="blistSmall"><b>homorphus</b></a></div>         </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">144</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112830009&amp;next=141"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>
        </td>
    </tr>
    <tr>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831603" class="blistTopic"><img src="http://images.neopets.com/neoboards/smilies/mistletoe.gif" border="0"><img src="http://images.neopets.com/neoboards/smilies/ghost.gif" border="0"> do you have 240+ avatars?</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=lastphenomenon" class="blistSmall"><b>lastphenomenon</b></a></div>         </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">25</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112831603&amp;next=21"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>

        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112828029" class="blistTopic"><img src="http://images.neopets.com/neoboards/smilies/violin.gif" border="0"> T-t-t-turmy Time! <img src="http://images.neopets.com/neoboards/smilies/clap.gif" border="0"></a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=cholate2soul" class="blistSmall"><b>cholate2soul</b></a></div>            </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">24</td>

        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112828029&amp;next=21"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>
        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831098" class="blistTopic">Hi r8 my font please it is cool</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=sox411" class="blistSmall"><b>sox411</b></a></div>            </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">85</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112831098&amp;next=81"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>
        </td>
    </tr>
    <tr>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831927" class="blistTopic"><img src="http://images.neopets.com/neoboards/smilies/aisha.gif" border="0">Simon Says!!!! med/hard<img src="http://images.neopets.com/neoboards/smilies/aisha.gif" border="0">(ignore # of posts)</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=electra389" class="blistSmall"><b>electra389</b></a></div>         </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">8</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <span class="blistSmall">14.08 2:49pm</span>

        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831730" class="blistTopic">Տk℮tch_ Rating and maybe Recruting</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=sweetpeabucky" class="blistSmall"><b>sweetpeabucky</b></a></div>            </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">30</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112831730&amp;next=21"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>
        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831973" class="blistTopic">tst bored only</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=omgitsmiley" class="blistSmall"><b>omgitsmiley</b></a></div>           </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">5</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <span class="blistSmall">14.08 2:49pm</span>
        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831319" class="blistTopic">test</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=onceuponastarr" class="blistSmall"><b>onceuponastarr</b></a></div>           </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">23</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112831319&amp;next=21"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>
        </td>
    </tr>
    <tr>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831719" class="blistTopic">Rate my lookup?</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=shaddows_shawn" class="blistSmall"><b>shaddows_shawn</b></a></div>            </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">4</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <span class="blistSmall">14.08 2:49pm</span>
        </td>

    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831868" class="blistTopic">*kik*<img src="http://images.neopets.com/neoboards/smilies/aisha.gif" border="0">Looking to borrow little avatar items<img src="http://images.neopets.com/neoboards/smilies/rednose.gif" border="0"></a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=missaroo" class="blistSmall"><b>missaroo</b></a></div>           </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">15</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <span class="blistSmall">14.08 2:49pm</span>
        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831711" class="blistTopic">[[<img src="http://images.neopets.com/neoboards/smilies/ruki.gif" border="0"><img src="http://images.neopets.com/neoboards/smilies/grundo.gif" border="0">]]Lend Me FQD for WAY MORE than full collat?[[<img src="http://images.neopets.com/neoboards/smilies/meerca.gif" border="0"><img src="http://images.neopets.com/neoboards/smilies/poogle.gif" border="0">]]</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=fallentheopendoor" class="blistSmall"><b>fallentheopendoor</b></a></div>         </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">18</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <span class="blistSmall">14.08 2:49pm</span>
        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112830169" class="blistTopic"><img src="http://images.neopets.com/neoboards/smilies/rednose.gif" border="0"> SCAMMER ALERT <img src="http://images.neopets.com/neoboards/smilies/rednose.gif" border="0"></a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=xxrosexx123" class="blistSmall"><b>xxrosexx123</b></a></div>          </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">138</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112830169&amp;next=121"><span class="blistSmall">14.08 2:49pm</span><span class="pointer">»</span></a>
        </td>
    </tr>
    <tr>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112832034" class="blistTopic">OK, can someone make a list of all these abbreviations?</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=huthuthut5" class="blistSmall"><b>huthuthut5</b></a></div>            </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">6</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <span class="blistSmall">14.08 2:48pm</span>
        </td>

    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831742" class="blistTopic">lend me</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=wiggawiggawack101" class="blistSmall"><b>wiggawiggawack101</b></a></div>          </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">16</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <span class="blistSmall">14.08 2:48pm</span>
        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831957" class="blistTopic"><img src="http://images.neopets.com/neoboards/smilies/violin.gif" border="0"> Rs and Chat with Kitty Kat.</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=c1tyk4t" class="blistSmall"><b>c1tyk4t</b></a></div>            </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">4</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <span class="blistSmall">14.08 2:48pm</span>
        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112827358" class="blistTopic">rating and screening fonts</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=rawrsauce01" class="blistSmall"><b>rawrsauce01</b></a></div>           </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">157</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112827358&amp;next=141"><span class="blistSmall">14.08 2:48pm</span><span class="pointer">»</span></a>
        </td>
    </tr>
    <tr>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112832055" class="blistTopic"><img src="http://images.neopets.com/neoboards/smilies/smiley.gif" border="0"><img src="http://images.neopets.com/neoboards/smilies/angry.gif" border="0"><img src="http://images.neopets.com/neoboards/smilies/sad.gif" border="0"> avatar</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=swimmer_girl_97" class="blistSmall"><b>swimmer_girl_97</b></a></div>           </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">3</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <span class="blistSmall">14.08 2:48pm</span>

        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112829459" class="blistTopic"><img src="http://images.neopets.com/neoboards/smilies/star.gif" border="0"> <img src="http://images.neopets.com/neoboards/smilies/jubjub.gif" border="0"> Items: 830 | Qty: 835; Buying For The Packrat Avatar! <img src="http://images.neopets.com/neoboards/smilies/bauble.gif" border="0"></a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=flikie" class="blistSmall"><b>flikie</b></a></div>          </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">115</td>

        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112829459&amp;next=101"><span class="blistSmall">14.08 2:48pm</span><span class="pointer">»</span></a>
        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112830307" class="blistTopic">testing</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=arsenal_gunner_11" class="blistSmall"><b>arsenal_gunner_11</b></a></div>          </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">27</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112830307&amp;next=21"><span class="blistSmall">14.08 2:48pm</span><span class="pointer">»</span></a>
        </td>
    </tr>
    <tr>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831373" class="blistTopic"><img src="http://images.neopets.com/neoboards/smilies/oh.gif" border="0"> any avvie lenders out there? o</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=fruitxxpassionxxo3" class="blistSmall"><b>fruitxxpassionxxo3</b></a></div>           </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">18</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <span class="blistSmall">14.08 2:48pm</span>

        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831387" class="blistTopic">Kayla//: *redbutton* Lending Drak Nova <img src="http://images.neopets.com/neoboards/smilies/kisskiss.gif" border="0"></a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=kaylamint2" class="blistSmall"><b>kaylamint2</b></a></div>         </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">13</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <span class="blistSmall">14.08 2:48pm</span>
        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112831999" class="blistTopic">Is anyone making fonts?</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=hersheybar7900" class="blistSmall"><b>hersheybar7900</b></a></div>            </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">5</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <span class="blistSmall">14.08 2:48pm</span>
        </td>
    </tr>
    <tr>
        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112829968" class="blistTopic"><img src="http://images.neopets.com/neoboards/smilies/chia.gif" border="0"><img src="http://images.neopets.com/neoboards/smilies/lupe.gif" border="0"><img src="http://images.neopets.com/neoboards/smilies/usul.gif" border="0"> Skull needs 252 more items for Packrat!</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=skullosaur" class="blistSmall"><b>skullosaur</b></a></div>          </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">87</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <a href="topic.phtml?topic=112829968&amp;next=81"><span class="blistSmall">14.08 2:48pm</span><span class="pointer">»</span></a>
        </td>
    </tr>
    <tr>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><a href="topic.phtml?topic=112832054" class="blistTopic">Testing Font</a><br><div style="padding: 3px; text-align: right; background-color: rgb(239, 239, 239); margin-left: -2px; margin-right: -2px; margin-bottom: -2px;"> <a href="/randomfriend.phtml?user=shanegalliano" class="blistSmall"><b>shanegalliano</b></a></div>         </td>

        <td class="blistSmall" style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">2</td>
        <td style="border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);" align="center">

        <span class="blistSmall">14.08 2:48pm</span>
        </td>

    </tr>

    <tr>
        <td colspan="4" class="contentModuleHeaderAlt" style="border-top: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); font-size: 10px;"><img src="http://images.neopets.com/neoboards/spacer.gif" alt="" border="0" height="5" width="1"></td>
    </tr>
</tbody></table>

<div align="right">
    <table border="0" cellpadding="2" cellspacing="0" width="560"><tbody><tr><td style="font-size: 11px;" align="right">Pages: <span style="font-size: 11px; font-weight: bold;">1</span>&nbsp;<a href="boardlist.phtml?board=21&amp;next=41" style="font-size: 11px; font-weight: bold;">2</a>&nbsp;<a href="boardlist.phtml?board=21&amp;next=81" style="font-size: 11px; font-weight: bold;">3</a>&nbsp;<a href="boardlist.phtml?board=21&amp;next=121" style="font-size: 11px; font-weight: bold;">4</a>&nbsp;<a href="boardlist.phtml?board=21&amp;next=161" style="font-size: 11px; font-weight: bold;">5</a>&nbsp;<a href="boardlist.phtml?board=21&amp;next=201" style="font-size: 11px; font-weight: bold;">6</a>&nbsp;<a href="boardlist.phtml?board=21&amp;next=241" style="font-size: 11px; font-weight: bold;">7</a>&nbsp; | <a href="boardlist.phtml?board=21&amp;next=41" style="font-size: 11px; font-weight: bold;">Next »</a></td></tr></tbody></table></div>

</div>
Edited by SteveO

Share this post


Link to post
Share on other sites



I have an answer for you. I just wrote code for the exact same thing... I'll paste it when i get home, I'm at work right now.

Share this post


Link to post
Share on other sites

#include <Array.au3>
$sURL = "http://SomeURL.com"
$sSource = _INetGetSource($sURL)
If $sSource Then
    $aTopicNums = StringRegExp($sSource, '(?s)(?i)"topic\.phtml\?topic=(\d+)"', 3)
    _ArrayDisplay($aTopicNums, 'All Topics Found')
EndIf


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

#include <Array.au3>
$sURL = "http://SomeURL.com"
$sSource = _INetGetSource($sURL)
If $sSource Then
    $aTopicNums = StringRegExp($sSource, '(?s)(?i)"topic\.phtml\?topic=(\d+)"', 3)
    _ArrayDisplay($aTopicNums, 'All Topics Found')
EndIf
THANKS SMOKE! Really appreciate it! That's twice today. =)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0