TibiaWiki is great, most items include an itemid. The itemids should be fetched and stored along with the item name when building the loot list. The implementation should continue to be as respectful as possible to tibiawiki resources. Making a request for every item page would be very slow and would require over 6000 requests. Instead we should make a new page on the wiki which includes all items and lists their names and itemids in a single table. The DPL_Table template has a parameter to cache the table.
TibiaWiki is great, most items include an itemid. The itemids should be fetched and stored along with the item name when building the loot list. The implementation should continue to be as respectful as possible to tibiawiki resources. Making a request for every item page would be very slow and would require over 6000 requests. Instead we should make a new page on the wiki which includes all items and lists their names and itemids in a single table. The DPL_Table template has a parameter to cache the table.
WIP DPL_Table