Datamining the WoW Armory: How are they doing it?

Hi, I’m working on a project that needs to get information out of the wowarmory. I’m not a programmer, but I’m working with one, and we were trying to figure out how sites like or get their information. Any help would be much appreciated, thanks!!

If you look at the page source for a character on the Armory, it’s mostly just a bunch of XML, easily parsed by any old XML library. To get a character’s strength, for example, you’d just feed it the XML and look up an XPath of something like “/characterInfo/characterTab/baseStats/strength/@effective”.

PHP has built-in libraries for querying a URL for content, and digesting and spitting out XML. You could even have most of the heavy lifting for the XML digestion done by a XSL template (i.e. a flat file you can mess with without having to dive back into the PHP code).

Thanks guys!!!

You might want to read this thread over at EJ :