For the last few days I have been working on an achievements Widget for Blogger. Wordpress has a plug-in but there is just nothing for Blogger. There is even interest over at Blog Azeroth. I am not going to let it stop me. If I can't find something premade, I will try and do it myself.
Work in Progress.
I started by looking at the importing my characters achievement URL from Armory into Excel.
http://www.wowarmory.com/character-achievements.xml?r=Nagrand&cn=Razorbaxftw
I found the information I was after, which was the id and title of the achievement tree. This is what the XML Looks like.
achievement categoryId="169" dateCompleted="2009-07-14T09:01:00+10:00" desc="Become a Grand Master in first aid." icon="spell_holy_sealofsacrifice" id="135" points="10" title="Grand Master in First Aid"
Learning Java and XML.
I now had to learn how to pull data out of an XML sheet and display it in HTML. Java looks like the way to go. I experimented a lot with the code and finally came up with the information I was after. After three days of work on this, I have however, hit a stumbling block. I can get the code to work in a webpage by itself, but it won’t work as a HTML/Java Gadget.
Want to Help?
I made a post over at the Dual Boxing forum, since there are a lot of programmers that participate, so if you want to help out or offer any advise, check the post out here and either reply or leave a comment here.
Razorbax
5 comments:
It would be awesome if you could get that working - I'd love to use it on my blog.
Well it works Stand alone, but will not work in blogger. Its something to do with pulling XML data from a diferent domain. Unfortunatly it looks like it's not do-able.
Hmmm, I'm thinking of doing something like run the XML through a Yahoo! Pipe to get an RSS feed, and then displaying the RSS feed within a blogger gadget. It's not great, bt it's something...
I'd love to have an achievement roll on my blog too, I'll let you know if I get it working.
Hey Razor, what's the javascript you have for those armory mouseovers?
Its Wowhead.
http://blogazeroth.com/viewtopic.php?f=2&t=1764
:)
Good luck with the Widget!
Post a Comment