I have been working on pulling data from warcraft III clan rosters, and now that I have a functioning module. I'd like some help cleaning it up.
The Source
The Script
The Output
The html source ended up being a lot more messy than I would have hoped, but I can't do much about that. What I can do is try to clean up this script a bit, if you guys see anything that could be made more efficient let me know. (I'm sure there is plenty.)
Currently I have no plans to cache the data. To my knowledge battle.net does not have the same limitations on it as wowarmory.com. This means it *shouldn't* hurt me to pull live data. If it turns out I need to write a cache I have a system for xml cacheing right now, html can't be much harder to store. I'm hopeing to get this script cleaned up so I can spread it around the warcraft III community, I'm sure someone is going to find it useful.
The Source
The Script
The Output
The html source ended up being a lot more messy than I would have hoped, but I can't do much about that. What I can do is try to clean up this script a bit, if you guys see anything that could be made more efficient let me know. (I'm sure there is plenty.)
Currently I have no plans to cache the data. To my knowledge battle.net does not have the same limitations on it as wowarmory.com. This means it *shouldn't* hurt me to pull live data. If it turns out I need to write a cache I have a system for xml cacheing right now, html can't be much harder to store. I'm hopeing to get this script cleaned up so I can spread it around the warcraft III community, I'm sure someone is going to find it useful.
