Howdy all.
I've been going nuts trying to figure this out. I'm still a novice at coding, so I figured I'd turn to the masters.
I play a MMO called "City of Heroes." Some people created an XML feed of the the games server status. They are allowing anyone to use the feed on their website and said that users can modify the XML feed to add/remove servers that you do not wish to show on your website.
The snag is that I'm not sure how to do it and the creators of the XML feed have gone missing and haven't returned my email.
So I ask you all for help as my website needs this feed and my re-launch is in two days.
This is the XML feed: http://sgspaces.net/server_status/srvstat.xml
The XML shows the following:
I understand that's just the info from the game server and they are all currently "up."
But I have no idea what to do with the XML feed and how to edit so that it only shows
<server name="Union" status="Up" />
<server name="Defiant" status="Up" />
<server name="Zukunft" status="Up" />
<server name="Virtue" status="Up" />
Since these are the main servers my guild plays on, having the rest of the servers will only take up unneeded space on the site.
How would I go about adding just the info I need from the XML? Someone I talked to said that I'd probably have to add the XML to php, but I have no idea how to go about that. On top of that, I have no idea on how to pull the feed for just the servers I need.
Yeah, I know... dorky to ask about something for an MMO website. But I've asked everywhere with no responce.
Hoping someone here can feel my plight and take pity on me and help a poor gamer out
I've been going nuts trying to figure this out. I'm still a novice at coding, so I figured I'd turn to the masters.
I play a MMO called "City of Heroes." Some people created an XML feed of the the games server status. They are allowing anyone to use the feed on their website and said that users can modify the XML feed to add/remove servers that you do not wish to show on your website.
The snag is that I'm not sure how to do it and the creators of the XML feed have gone missing and haven't returned my email.
So I ask you all for help as my website needs this feed and my re-launch is in two days.
This is the XML feed: http://sgspaces.net/server_status/srvstat.xml
The XML shows the following:
Code:
<?xml version="1.0" encoding="iso-8859-1" ?> - <servers timestamp="2011-09-11 13:20:18" timezone="UTC"> <server name="Live Login" status="Up" /> <server name="Freedom" status="Up" /> <server name="Justice" status="Up" /> <server name="Pinnacle" status="Up" /> <server name="Virtue" status="Up" /> <server name="Liberty" status="Up" /> <server name="Guardian" status="Up" /> <server name="Infinity" status="Up" /> <server name="Protector" status="Up" /> <server name="Victory" status="Up" /> <server name="Champion" status="Up" /> <server name="Triumph" status="Up" /> <server name="Union" status="Up" /> <server name="Defiant" status="Up" /> <server name="Zukunft" status="Up" /> <server name="Vigilance" status="Up" /> <server name="Test Login" status="Up" /> <server name="Training Room" status="Up" /> <server name="Beta Login" status="Up" /> <server name="Beta Server" status="Up" /> </servers>
But I have no idea what to do with the XML feed and how to edit so that it only shows
<server name="Union" status="Up" />
<server name="Defiant" status="Up" />
<server name="Zukunft" status="Up" />
<server name="Virtue" status="Up" />
Since these are the main servers my guild plays on, having the rest of the servers will only take up unneeded space on the site.
How would I go about adding just the info I need from the XML? Someone I talked to said that I'd probably have to add the XML to php, but I have no idea how to go about that. On top of that, I have no idea on how to pull the feed for just the servers I need.
Yeah, I know... dorky to ask about something for an MMO website. But I've asked everywhere with no responce.
Hoping someone here can feel my plight and take pity on me and help a poor gamer out

Comment