Conquer Club

pagesource based turn notifier

Archival storage to keep things organized and uncluttered. Can't find what you need? Search for old topics here.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.

pagesource based turn notifier

Postby a.sub on Mon Jun 22, 2009 9:49 pm

so the turn notifiers that i have tried (which i will admit are few) are based off the RSS feed which can be off to up to 5 minutes from what ive seen
not helpful if you are waiting for a speeder to fill up
so i figured why not make one based on the page source
if you view the page source of the my games page you can see when your turn is ready
<li class="status_green">

<b> <a class="rank p r8" title="Sergeant 1st Class a.sub's Profile" href="forum/memberlist.php?mode=viewprofile&amp;u=103879">a.sub</a>
<a class="rating" title="Sergeant 1st Class a.sub's Ratings" href="player.php?mode=ratings1&amp;username=a.sub">4.9</a>
</b> </li>

idk if this is possible or how to write scripts but if one was written that looks for
<li class="status_green">

<b> <a class="XXX" title="XXX" href="XXX">USERNAME</a>
<a class="rating" title="XXX" href="XXX">XXX</a>
</b> </li>

where all the XXX can be anything but the username in RED is what the user typed in, it could act as real time turn notifier.

is this possible?
User avatar
Cadet a.sub
 
Posts: 1834
Joined: Thu Jun 14, 2007 2:07 am

Re: pagesource based turn notifier

Postby chipv on Tue Jun 23, 2009 12:22 am

Turn Watch does this on every page load.
User avatar
Lieutenant chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: pagesource based turn notifier

Postby a.sub on Tue Jun 23, 2009 12:29 am

chipv wrote:Turn Watch does this on every page load.

oh i didnt know that
thanks :)
User avatar
Cadet a.sub
 
Posts: 1834
Joined: Thu Jun 14, 2007 2:07 am


Return to Tool Archives

Who is online

Users browsing this forum: No registered users