This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Classic Theme
Thottbot Theme
Wowhead tooltip - options/customization/documentation?
Post Reply
Return to board index
Post by
Woodgnome
I am looking for some more extended info about the Wowhead tooltip (
http://www.wowhead.com/tooltips
).
The tooltip is great, no doubt about that, but as a web developer I would like to know if it's possible to fetch the same data in a more manageable format, so I can play around with it on my site - build my own tooltip for instance?
The "&xml" property that applies to items is a good step along the way, but sadly only applies to items. Is there any way to get similar data for spells, etc.? Maybe in JSON format?
Did a bit of debugging and found that adding the "&power" property will return the script the tooltip itself uses and that actually contains the HTML, but with limited use of classes/styles. I can RegEx the HTML out of that response easy enough, but on a more general level I was wondering if there is some kind undocumentet API that I can take advantage of? More options than "&power", ways to get classes in the HTML to allow for easier CSS styling or something along those lines?
Maybe a non-uglified/closure compiled version of the tooltip script?
Post by
Woodgnome
Anyone?
Post by
rahael
i'm not actually a programmer, so i don't have a good answer to your question. however, have you tried working with the
blizzard battlenet API
?
Post by
Woodgnome
Aye, been there, done that.
The problem with the Blizzard API is that it doesn't support anything but item info. No spells, no mob abilities, nothing else than items x(
Well, at least not as far as I know of.
Post by
Ashelia
SpiffyJr, one of our devs, told me to say that you have seen all the data we have unfortunately. :(
Post by
Woodgnome
SpiffyJr, one of our devs, told me to say that you have seen all the data we have unfortunately. :(
Aww :< Guess I'll have to make do with the tooltip script as is.
Post by
Woodgnome
Oh btw., a little follow up: any plans on making spell/recipe/etc. info available in XML feeds in any near future?
Post by
Ashelia
Our devs were in Vegas this week, so I think I can get you an answer by Monday afternoon! Sorry for the delay :)
Post by
Woodgnome
Playing around a bit with custom tooltips again - any update on my question regarding XML feeds for other things than items?
Got another followup question as well:
Would it be possible for you guys to group tooltip requests into a single request? I'm running a small auction house page that easily displays 100 items - and fetching the tooltips in 100 separate requests both causes the page to finish loading very slowly and stresses your servers more.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.