I don't know the first thing about XML. So, I need help please.
Basically I just want to add some XML to my guild website so that I can list who is in the guild, their guild rank, class, level and tradeskill.
If anyone would be kind enough to post a reply showing the correct XML for this, I would be most grateful. Thanks.
XML question
The XML files are stored at something like:
http://daoc.goa.com/herald/servers/Pryd ... umber).xml
so
http://daoc.goa.com/herald/servers/Pryd ... ds/333.xml
would be an example.
IIRC there is another list which shows which number refers to which guild but don't remember
.
http://daoc.goa.com/herald/servers/Pryd ... umber).xml
so
http://daoc.goa.com/herald/servers/Pryd ... ds/333.xml
would be an example.
IIRC there is another list which shows which number refers to which guild but don't remember

Prydwen
Lairiodd Level 50 Nightshade and Legendary Grandmaster Smith (1065) check prices here
Lairirian Level 50 Mana Mentalist and Legendary Spellcrafter (TDD)
Lairgreybark Level 50 Arb Animist
Lairmindlock Level 50 Bard (TDD)
Camlann
Lairthall Level 35+ Friar
Stocking one 99% of most of the useful spellcrafting gems at Houses 3304 and 3306
Over 150 gems at 99% stocked
Lairiodd Level 50 Nightshade and Legendary Grandmaster Smith (1065) check prices here
Lairirian Level 50 Mana Mentalist and Legendary Spellcrafter (TDD)
Lairgreybark Level 50 Arb Animist
Lairmindlock Level 50 Bard (TDD)
Camlann
Lairthall Level 35+ Friar
Stocking one 99% of most of the useful spellcrafting gems at Houses 3304 and 3306
Over 150 gems at 99% stocked
If words like xml, parsing, arrays, php means nothing to you, please ignore Chapter I and go directly to Chapter II
Chapter I
First, you look for an ID your guild has:
http://camelot-europe.goa.com/herald/se ... ds_hib.xml
<guild guild_id="1034" name="Moondogs" rp="0"/>
So, your guild XML is located at:
http://camelot-europe.goa.com/herald/se ... s/1034.xml
Now, here's the hard part. The easiest way to parse this data on a website is by a PHP script. First you need a web host that supports PHP (which free host services or free web space provided by your ISP most likely do not support). Second you need a PHP script to do it, or write one yourself (and you don't want to try that, if you have no PHP experience). There was a script, that did parse GOA's XMLs ( http://www.purpledragons.net/xml/ ), however since the latest XML structure changes I'm not sure it still does. TBH, I had no time to check if GOA's current XML structure is actualy the same as the one in US, so in case it it, you may aswell use some PHP scripts written for US servers.
Chapter II
For the case of simple home made guild websites like yours Gandelf, this solution I believe will be the best; simply use your guild info from a site like Duskwave or DAoC stats, and include it in your home site via iframe.
You can do that simply by putting this HTML code in an apropriate part of your web site:
[HTML]<iframe src="http://www.duskwave.com/daoc/viewguild.php?id=291" width="550" height="600"></iframe>[/HTML]
Chapter I
First, you look for an ID your guild has:
http://camelot-europe.goa.com/herald/se ... ds_hib.xml
<guild guild_id="1034" name="Moondogs" rp="0"/>
So, your guild XML is located at:
http://camelot-europe.goa.com/herald/se ... s/1034.xml
Now, here's the hard part. The easiest way to parse this data on a website is by a PHP script. First you need a web host that supports PHP (which free host services or free web space provided by your ISP most likely do not support). Second you need a PHP script to do it, or write one yourself (and you don't want to try that, if you have no PHP experience). There was a script, that did parse GOA's XMLs ( http://www.purpledragons.net/xml/ ), however since the latest XML structure changes I'm not sure it still does. TBH, I had no time to check if GOA's current XML structure is actualy the same as the one in US, so in case it it, you may aswell use some PHP scripts written for US servers.
Chapter II
For the case of simple home made guild websites like yours Gandelf, this solution I believe will be the best; simply use your guild info from a site like Duskwave or DAoC stats, and include it in your home site via iframe.
You can do that simply by putting this HTML code in an apropriate part of your web site:
[HTML]<iframe src="http://www.duskwave.com/daoc/viewguild.php?id=291" width="550" height="600"></iframe>[/HTML]
Hep, treated MMORPG addict, on the way to master his uni
Morana, one of a few Rangers, that did not Zerg. Retired for good.
Morana, one of a few Rangers, that did not Zerg. Retired for good.
HappyG wrote:Chapter II
For the case of simple home made guild websites like yours Gandelf, this solution I believe will be the best]<iframe src="http://www.duskwave.com/daoc/viewguild.php?id=291" width="550" height="600"></iframe>[/html]
Thanks for that HappyG.
I tried it and it worked fine. The only thing is though, it only lists the top 10 characters for some reason. Do you know if it's possible to display the whole guild and if so, how?
Also, the line that you quote:
<guild guild_id="1034" name="Moondogs" rp="0"/>
[/quote]
How come it shows zero Realm Points, when I know that we have somewhere in the region of 4,000+ ? Duskwave says we have 4,743.
Thanks
Gandelf
You can display any webpage this way, Duskwave does not offer such list, but you can aswell include pirotess:
[HTML]<iframe src="http://daoc.pirotess.org/?func=guilds_s ... &realm=hib" width="550" height="600"></iframe>[/HTML]
[HTML]<iframe src="http://daoc.pirotess.org/?func=guilds_s ... &realm=hib" width="550" height="600"></iframe>[/HTML]
Hep, treated MMORPG addict, on the way to master his uni
Morana, one of a few Rangers, that did not Zerg. Retired for good.
Morana, one of a few Rangers, that did not Zerg. Retired for good.
It's just what XML said at a time I wrote it. XML is updated once a day, so it is always lagging behind for a couple of RPs.Gandelf wrote: How come it shows zero Realm Points, when I know that we have somewhere in the region of 4,000+ ? Duskwave says we have 4,743.
Hep, treated MMORPG addict, on the way to master his uni
Morana, one of a few Rangers, that did not Zerg. Retired for good.
Morana, one of a few Rangers, that did not Zerg. Retired for good.