ID:1482456
 
(See the best response by A.T.H.K.)
Code:
proc
RetrievePage(page,type)
switch(type)
if("mtitle") page = "http://www.byond.com/members/[page]"
var/list/http[]=world.Export(page)
if(!http)
world << "FAIL @ [page]"
return html_encode(file2text(http["CONTENT"]))
Joined(member) //member = "Prf X"
var/p = RetrievePage(member,"mtitle")
var/ptitle = copytext(p, findtext(p,"<tr><th><div>Joined:</div></th><td><div>")+length({"<tr><th><div>Joined:</div></th><td><div>"}), findtext(p, "</div></td></tr>"))
world<<"Joined: [ptitle]"// Joined: Mar 27 2007
return ptitle


Problem description:
I'm trying to get the date a player join BYOND but it gives me the whole page instead of just the date
Best response
I would do it something like this

mob/verb/test()
/* grab info from members
http://www.byond.com/members/athk?format=text */

var/list/http = world.Export("http://byond.com/members/[page]?format=text&long=true&num_posts=1")
if(!http)
world << "Unable to connect to the hub."
else
var/c = file2text(http["CONTENT"])
var/savefile/s = new
s.ImportText("/", c)
s.cd = "general"
world << "Joined BYOND on [s["joined"]]"//display when the member joined BYOND
Thank you
Should probably cache that savefile and renew it every so often depending if the information you are grabbing will ever change? Otherwise multiple uses at the same time may give you a bit of lag.