View Single Post
SychO
Junior Member
Join Date: Jan 2016
Old 01-12-2016 , 12:39   Re: Steam Group XML help ?
Reply With Quote #8

let me explain to you what i have exactly done,

Request info from the group XML, the XML shows the members SteamIDs,

and i want to make a page where the group members are shown with their names avatars and stat

like this

PHP Code:

$steamurl 
"http://steamcommunity.com/groups/groupid";


       
$xml file_get_contents($steamurl.'/memberslistxml/');
    if(
strpos($xml,'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01')===FALSE){
    
$parsed simplexml_load_string($xml);

                    foreach (
$parsed->members->steamID64 as $mem) {
                
                
$xml file_get_contents('http://steamcommunity.com/profiles/' .$mem'/?xml=1');
                
$parsed simplexml_load_string($xml); 
and that successfully showed the group members, if you want the online page link i can post it

the problem is that the page takes time loading,, the more members in the group the more load time
SychO is offline