This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Classic Theme
Thottbot Theme
XML update request for Recipes
Post Reply
Return to board index
Post by
JamesKilton
I'd like to request an addition to the XML of Recipes (those with <class> of "Recipe") that links to the spell said recipe teaches.
When dealing with other profession items, like the
Frostweave Bag
, there's a createdBy field that links to the Tailoring spell:
http://www.wowhead.com/?item=41599&xml
->
<createdBy>
<spell id="56007" name="Frostweave Bag" icon="INV_Misc_Bag_EnchantedMageweave" minCount="1" maxCount="1">
<reagent id="41511" name="Bolt of Imbued Frostweave" quality="2" icon="INV_Fabric_Frostweave_ImbuedBolt" count="6"/>
<reagent id="38426" name="Eternium Thread" quality="1" icon="INV_Misc_Thread_01" count="2"/>
</spell>
</createdBy>
which allows one to link to the appropriate spell:
http://www.wowhead.com/?spell=56007
For Recipes, could a similar field be put in place? I'm thinking the following.
Given
http://www.wowhead.com/?item=33307&xml
it would be very helpful to me to see (taken from the HTML page, this would be under the "Teaches" tab):
<teaches>
<spell id="..." name="Enchant Weapon - Executioner" ...>
</spell>
</teaches>
Thanks for your time, and thanks for the work you guys do here.
Post by
JamesKilton
Yes? No? Is there a better place to request such changes to the website?
I'm building a profession management system for my guild. For all professions except Enchanting, I can have the person use the ?item link of an item and I can grab the appropriate ?spell item from the XML (I really like the ?spell's tooltips, they include mats). I cannot do this for Enchanting and for now will have to request the person to enter in both the ?item and ?spell because ?spell links do not have XML at all and thus I can't easily query for information I need.
Thanks
Post by
Lockslap
Yes? No? Is there a better place to request such changes to the website?
I'm building a profession management system for my guild. For all professions except Enchanting, I can have the person use the ?item link of an item and I can grab the appropriate ?spell item from the XML (I really like the ?spell's tooltips, they include mats). I cannot do this for Enchanting and for now will have to request the person to enter in both the ?item and ?spell because ?spell links do not have XML at all and thus I can't easily query for information I need.
Thanks
I am developing an similar script and have found that you can use Wowhead's search engine to get the information you need from spells. Parsing the search results using PCRE (PHP) seems to work effectively. Its not perfect, but it works.
Post by
JamesKilton
I am developing an similar script and have found that you can use Wowhead's search engine to get the information you need from spells. Parsing the search results using PCRE (PHP) seems to work effectively. Its not perfect, but it works.
That is an idea that's crossed my mind. I guess I'll start with that. Thanks.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.