Thread: How to?
View Single Post
Old 11-11-2003, 06:24 AM   #5
gth
Member
 
Join Date: Nov 2003
Posts: 50
gth is on a distinguished road
Poor Fr0g - not much help so far, eh?

What you are looking for is on various PHP help forums across the 'net - this is a very common question.  You are looking for a function called fopen() or file_get_contents().  If it sounds like I'm not 100% sure it's only because I'm trying to plan my approach to this exact same problem, with one sticking point:

I'd be surprised if TMS doesn't mind if, every time someone views a page on my site, my server downloads the TMS index - just to grab two numbers for my page ?!

I am hopeful that maybe a lesser detailed page exists somewhere on TMS that just lists the top 50 in a very basic format for others to work out their position and that of the prior mud.  So what about it, huh?  Any hidden URLs on TMS?

Without such a page, the painful task for you, mr. webmaster, is to use PHP to grope your way through all of the HTML on the ranking web page of TMS (whichever rank page your mud is listed on, hopefully) -- and grab the rank and votes of your mud and the one listed immediately before it.

Good luck!


PS:
gth is offline   Reply With Quote