Roxen.git / server / config_interface / boxes / megatokyo.pike

version» Context lines:

Roxen.git/server/config_interface/boxes/megatokyo.pike:18:    string data;    string contents = "";       if( !(data = .Box.get_http_data("www.megatokyo.com",80,"GET / HTTP/1.0" ) ))    contents = "Fetching data from megatokyo...";    else    {    string img;    string status;    -  sscanf( data, "%*sstrips/%s.gif", img ); +  sscanf( data, "%*sstrips/%s.png", img );    sscanf( data, "%*s<!--%*sstuff you%*s - start -->%s<!--", status );       if( !img )    return ("<box type='"+box+"' title='"+box_name+"'>"+data+"</box>");    if( !status )    status = "";    array st = status/"<br>";    string tmp;    status = "<font size=-1>";    if( sizeof( st ) > 4 )