collapse collapse

* Recent News

Meta Connect 2024 by Tbone
[September 25, 2024, 01:37:22 pm]


Fifth Matrix Film Announced! by Lithium
[April 07, 2024, 09:49:37 pm]


Quest Headsets Will No Longer Require Facebook Account by Tbone
[July 07, 2022, 03:17:21 pm]


New Matrix Online? "Matrix Awakens" UE5 Demo by Tbone
[December 28, 2021, 01:05:59 pm]

* Recent Posts

FA in DC? by Subb
[November 01, 2024, 03:55:27 pm]


Meta Connect 2024 by Tbone
[September 25, 2024, 01:37:22 pm]


Fifth Matrix Film Announced! by Lithium
[April 07, 2024, 09:49:37 pm]


2024: New PC for VR! by Tbone
[April 06, 2024, 12:22:30 pm]


MOVED: Fifth Matrix Film Announced! by Tbone
[April 06, 2024, 12:18:27 pm]


Holiday Fun by Tbone
[March 01, 2024, 09:09:44 pm]


Quest 2 Link Best Settings (Finally Better Than Rift S) by Tbone
[November 27, 2023, 04:57:46 pm]


randomness by Jeyk
[November 27, 2023, 09:42:30 am]

Author Topic: Steam Group XML  (Read 6942 times)

Offline Tbone

  • FA FOUNDER
  • Administrator
  • *****
  • Join Date: Apr 2004
  • Posts: 9973
  • Probably Rifting
    • View Profile
    • http://www.thefuriousangels.com
Steam Group XML
« on: February 08, 2010, 05:03:27 pm »
I'm trying to create a block on our site that will show members who are logged into steam, what game they are playing, etc. After doing some research, it was hinted that all of this is really easy to code using XML. I'm not having much luck. I've found the link with the data I need:

http://steamcommunity.com/groups/followtheangel/memberslistxml/?xml=1

I just don't know how to fetch/parse that data into something useful. Copying someone else's code, I was able to do this:

http://followtheangel.org/tbone/test.php

I want a nice list like we had the other week with my friends' list. A lot of the info I'm getting is coming from this thread:

http://forums.steampowered.com/forums/showthread.php?t=968539

Any ideas? Or can someone find somewhere where this has already been done?

Offline Tbone

  • FA FOUNDER
  • Administrator
  • *****
  • Join Date: Apr 2004
  • Posts: 9973
  • Probably Rifting
    • View Profile
    • http://www.thefuriousangels.com
Re: Steam Group XML
« Reply #1 on: February 08, 2010, 05:17:59 pm »
The only help the steam forums gave me was this link:

http://us2.php.net/xml

lol...

Offline Ash

  • VETERAN ANGEL
  • *******
  • Join Date: Jul 2005
  • Posts: 1690
    • View Profile
Re: Steam Group XML
« Reply #2 on: February 08, 2010, 06:53:34 pm »
What caused the original Steam block to stop working in the first place?

"Do not pray for easy lives. Pray to be stronger men"

Offline Lithium

  • Webmaster
  • Administrator
  • *****
  • Join Date: May 2004
  • Posts: 3041
    • View Profile
    • http://followtheangel.org
Re: Steam Group XML
« Reply #3 on: February 08, 2010, 07:27:01 pm »
The first link only gives half the information you need.

You then need the XML data for every user id. (ie, if they are online, what games they are in)

Which you can do via this: http://steamcommunity.com/profiles/76561197969860577/?xml=1

If you can get that via a link you can use some XSL Transformations to print the data how you want. Or you can do the 'transfomation' through php--which is how I'd probably go about it.

I'll write you something for this maybe later tonight if I have time.

Don't believe everything you think.

Offline Tbone

  • FA FOUNDER
  • Administrator
  • *****
  • Join Date: Apr 2004
  • Posts: 9973
  • Probably Rifting
    • View Profile
    • http://www.thefuriousangels.com
Re: Steam Group XML
« Reply #4 on: February 08, 2010, 07:35:05 pm »
That information is available on their profiles. I imagine if you can fetch their ID number from the member list, you can input that into something that gives you all of their profile information, not just their name.

The XML link for profiles is http://steamcommunity.com/profiles/76561197993560336?xml=1

Just replace the number with the ID you want. So in theory, you should be able to use the memberlist to generate the the IDs, and then fetch that into the XML link above to fetch the profiles of each member and then generate data from each of those. It just sounds complicated to me, but I'm guessing that's how it is done.

And Yotogi, the last block was hosted on the developer's website. For some reason, he took all of the stuff related to this project down off of his site. It's not in English, so I couldn't find a reason why.

EDIT: I see you found it, nevermind!

Offline Lithium

  • Webmaster
  • Administrator
  • *****
  • Join Date: May 2004
  • Posts: 3041
    • View Profile
    • http://followtheangel.org
Re: Steam Group XML
« Reply #5 on: February 11, 2010, 08:19:26 pm »
If you look to the left, you'll see the steam block that I made.

It shouldn't slow things down, much, if at all. I made it do the 25+ web calls it requires so that they run in parallel. Therefore, it loads pretty quick.

Don't believe everything you think.

Offline Tbone

  • FA FOUNDER
  • Administrator
  • *****
  • Join Date: Apr 2004
  • Posts: 9973
  • Probably Rifting
    • View Profile
    • http://www.thefuriousangels.com
Re: Steam Group XML
« Reply #6 on: February 11, 2010, 09:29:58 pm »
Very nice Lith!

Offline Broin

  • Second-in-Command
  • VETERAN ANGEL
  • *******
  • Join Date: Jul 2004
  • Posts: 2978
    • View Profile
Steam Group XML
« Reply #7 on: February 11, 2010, 09:44:30 pm »
Hell the awesome thing is that if someone is in a game you can actually click a join link and your steam and game will load up.

Go ahead, make my day.

Offline Tbone

  • FA FOUNDER
  • Administrator
  • *****
  • Join Date: Apr 2004
  • Posts: 9973
  • Probably Rifting
    • View Profile
    • http://www.thefuriousangels.com
Steam Group XML
« Reply #8 on: February 11, 2010, 10:13:48 pm »
Yeah, with this, I really hope we can get all of FA on Steam and stay easily connected, regardless of the games being played.

Offline Eroz

  • VETERAN ANGEL
  • *******
  • Join Date: May 2004
  • Posts: 2015
    • View Profile
Steam Group XML
« Reply #9 on: February 12, 2010, 01:28:23 pm »
What do you need to invite me to the group?
"Have you ever tried to dismantle a snowball?" - Linus, Peanut's Gang.

Offline ArchNemesis

  • VETERAN ANGEL
  • *******
  • Join Date: May 2004
  • Posts: 1804
    • View Profile
Steam Group XML
« Reply #10 on: February 12, 2010, 01:53:51 pm »
I think you just find the group and request to join. If that's not the case, friend Tbone and he should be able to add you.

I LOVE steam. I link all my games on it so i don't have a diry desktop filled with icons AND i can chat with anyone while ingame. Along with this, I can join anyone that pops into TF2 or any other Steam-based game just by seeing that little notification on the bottom right saying that they are playing. Steam may have been terrible back in the day but it's grown into a wonderful program that helps not only with keeping tabs of your games but also keeping community intertwined with it.

Offline Eroz

  • VETERAN ANGEL
  • *******
  • Join Date: May 2004
  • Posts: 2015
    • View Profile
Steam Group XML
« Reply #11 on: February 12, 2010, 03:21:13 pm »
I am friends with Tbone, and the group is by invite only. I want my invite damn it.
"Have you ever tried to dismantle a snowball?" - Linus, Peanut's Gang.

Offline Tbone

  • FA FOUNDER
  • Administrator
  • *****
  • Join Date: Apr 2004
  • Posts: 9973
  • Probably Rifting
    • View Profile
    • http://www.thefuriousangels.com
Steam Group XML
« Reply #12 on: February 12, 2010, 09:40:08 pm »
What's your name on Steam, b/c I don't have an Eroz as a friend...

Offline Eroz

  • VETERAN ANGEL
  • *******
  • Join Date: May 2004
  • Posts: 2015
    • View Profile
Steam Group XML
« Reply #13 on: February 13, 2010, 12:22:55 am »
I've been changing my online moniker as of late, it's Lotier now.
"Have you ever tried to dismantle a snowball?" - Linus, Peanut's Gang.

Offline Tbone

  • FA FOUNDER
  • Administrator
  • *****
  • Join Date: Apr 2004
  • Posts: 9973
  • Probably Rifting
    • View Profile
    • http://www.thefuriousangels.com
Steam Group XML
« Reply #14 on: February 13, 2010, 12:31:00 am »
Gotcha. Yeah, how was I to know when I was like 15 that the username I would choose for AOL would stick with me for the freakin rest of my life...lol.

 

 

* Discord

Calendar

November 2024
Sun Mon Tue Wed Thu Fri Sat
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 [27] 28 29 30

No calendar events were found.

* Who's Online

  • Dot Guests: 134
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

Social