Access to the XML pages, info inside...

W

-Wedge-

Guest
Ok,

If your one of the people that think GOA is taking a bit too long with info on how to access the XML pages... I decided to check which files got accessed...

So, if you want to get a listing of all the guilds:
http://www.camelot-europe.com/herald/servers/Excalibur/guild_list.php?realm=alb
http://www.camelot-europe.com/herald/servers/Excalibur/guild_list.php?realm=hib
http://www.camelot-europe.com/herald/servers/Excalibur/guild_list.php?realm=mid

Want to get a specific guild:
http://www.camelot-europe.com/herald/servers/Excalibur/guilds/391.xml
(the number == guild number)

The directories (/servers/Excalibur) are case sensetive....

You can probably exchange Excalibur for any server name... And you can (of course) forget about support from GOA ;)

I'll be experimenting with this tomorrow...
 
M

mele-nko

Guest
i hope some1 makes a herald like site soon, without the gadget..with the info i want

:)

Or u could patiently wait till goa makes one ^^
 
T

Thorarin

Guest
Well, messed around with most of the XML today, but I had to reinstall a network sniffer to get the guild list XML... Of course I could have checked BW first, doh :)

So far I've made a script that updates character info on our website Database, but no herald-like general interface (yet). I might add it in the near future, if I feel bored :)
 
W

-Wedge-

Guest
Was pretty easy getting the URL's, I just installed a proxy server and enabled logging :D

Oohwell, I was thinking of the same system (update char info on the site)... But havent quite been that bored yet ;)
 
P

- Pathfinder -

Guest
Anyone know how up to date these stats are, anyway? A casual calculation revealed that we're missing around 900k RP :p
 
W

-Wedge-

Guest
The stats are about 3 days old now... And they are accurate...

Do a /gc info to see your guild rp's... Note that any RP's gained by someone in a previous guild are NOT added to the new guild's total.... (you cant just add the rp's from all the people in the guild)

Only the actual RP's that are gained IN the guild are added... And then they are pretty accurate...

Making the Brethren (atm) the number 17th Guild on Excalibur :clap:
(By total Rp's)
 
P

- Pathfinder -

Guest
I did :) When I went to bed last night we had around 7.2 mil RP; according to GOA we have 6.3 :p
 
W

-Wedge-

Guest
Nice amount ;)

But that could have been gotten in the last 3 days... We have about 50k more then whats listed on the herald too... (we havent RvR'ed a lot)
 
P

- Pathfinder -

Guest
Since the rest of the info seems to be accurate, that seems likely. Gee, some of our members must've been farming lately :m00:
 
W

-Wedge-

Guest
Yep the rest seems pretty accurate.... I'm 44 in the guild listing, and I got that on Sunday...
 
P

- Pathfinder -

Guest
But if it's three days old, that begs the question WTH do they update? :p
 
A

Alrindel

Guest
On the US Herald, they try to update the guilds every 72 hours (although it often takes longer than that).
 
P

Pi0z

Guest
I've written a parser for the guild XML in PHP (did it this morning), which uses the XPath XML class (GPL) so if there's enough interest I can tidy the code up with suitable documentation for usage and make it publically available.

Output can be seen here (very rough, but you get the idea)

http://argon.burstfire.net/pioneer/daoc.php

Just now, the function does two things: grabs guild info (see top table on page) and grabs the guild member info (see bottom table) - if anyone has any suggestions for additional functionality, post here and I'll see what I can do. As long as the XML data is there, I can pretty much do anything.

Got a feeling I am probably reinventing the wheel, but nm. ;)

- Pi0z
Prydwen/Midgard
Melodia the Skald <Purple Warriors>, lvl40.5
 
H

helis

Guest
Originally posted by Gef


Nice logo :p

Yeah, don't you think.. makes you wish that i NEVER swap over to do graphics full time. Like i said, i never spend more than 5 minutes on things - gives me more time for DAOC.... :)
 
I

Israfael

Guest
I don't suppose anyone fancies dropping me a quick email / pm explaining the basics of XML and how the feck I can use it on a guild website?

:p

I can hope...
 
I

Israfael

Guest
Here's a slightly easier one - how do I find out the ID of my guild?

EDIT - IGNORE ME, I found it :p
 
O

old.Yomar

Guest
Bug in XML

Actually there's a bug in the XML. There are 10 more members than stated in activechars.
 
T

Thorarin

Guest
That's because those 10 are not active... That is, they are flagged as 2_Weeks or Inactive.
 
P

Pouget

Guest
I'd like to have a look at the code as well. I could do it myself, but this would save time, which I could spend playing DAOC :).
 
O

old.Yomar

Guest
How do get node name?

How do I get the name of the node itself (not an attribute) using VBScript?

I want the script to stop listing members as soon as it arrives at
<alliancelist>

How do I do this?

Problem is I must use VBScript, as my server does not support PHP or ASP.
 
M

matax

Guest
If possible can anyone let me have some example code for pulling the guild details out of the XML and formatting them for my web site please?

Still learning web stuff :)
 
M

matax

Guest
Thanks Alrindel - now to see if I can get it to work (well once my guild becomes available anyway!) :)
 
T

Takhasis

Guest
Here's my version of the details - all done in php on our Guild Website.

If anyone is interested in the code let me know, it can be set up for any guild in a matter of seconds :) will trade code for a GA bow (only jokin!!)

www.aesirs.co.uk

oh, yeh, click on the members page link ;)
 

Users who are viewing this thread

Top Bottom