[Skip to Main Content]
此站点大量使用JavaScript。
请在您的浏览器中启用JavaScript。
XML update request for Recipes
发表回复
返回主列表
发布者
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.
发布者
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
发布者
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.
发布者
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.
发表回复
您没有登录。请
登录
发表回复或
注册
如果您还没有账号。