This is how I get my fishing exp off of RuneScape's highscore list, using PHP: <?php
//Get the source of highscores and replace newlines
$str = str_replace("\n", "", file_get_contents("http://hiscore-web.runescape.com/lang/en/aff/runescape/hiscorepersonal.cgi?username=Antony_7"));
//String to match in $str - used with in preg_match
$search = "/.{0,10}<\/td><\/tr>/i";
//An array of strings of extra junk that is matched with preg_match
$clear = array("", "");
//Find that match - http://us2.php.net/preg_match
preg_match($search, $str, $match);
//replace a few extra junk(refer to $clear) that was matched
$final_exp = str_replace($clear, "", $match[0]);
echo $final_exp;
?> It's not the prettiest and probably not the most efficient code, but it works.