Hi everyone!
I'd like to suggest making a public script for tooltips like WoWHead's.
This could help people writing character guides, class guides, etc.
Is this possible without overloading the database?
Turtle WoW Database Tooltips
Re: Turtle WoW Database Tooltips
Database is protected by cloudflare. Requests for tooltips are pretty straightforward (unlike search queries) and are probably cached in CF. So if you send request for tooltip, you don't interact with database directly.
Xudo - tauren warrior 19 Sergeant armory.
I don't raid and rank, so you can not bother asking.
Nerf high level enchants on low level gear
Add lvl requirement to bandages
Best and optimal gear for 10-19 twinks
Have fun not only at 60.
I don't raid and rank, so you can not bother asking.
Nerf high level enchants on low level gear
Add lvl requirement to bandages
Best and optimal gear for 10-19 twinks
Have fun not only at 60.
Re: Turtle WoW Database Tooltips
I haven't worked with CloudFlare. So we won't be able to get a response from the DB or from a hypothetical CF cache on a third party anyway?Database is protected by cloudflare.
Or did you mean we wouldn't be able to get the data ourselves using web scraping? I wouldn't want to resort to such a method if the devs have plans to provide access to tooltips "API".
Re: Turtle WoW Database Tooltips
Yeah cloudflare would likely get in the way of any attempt to recreate this using the web db. I looked over the javascript and the devs would have to set up an API to get thumbnails and json data from the DB.Ltanailov wrote: ↑Fri Jun 21, 2024 11:20 pmI haven't worked with CloudFlare. So we won't be able to get a response from the DB or from a hypothetical CF cache on a third party anyway?Database is protected by cloudflare.
Or did you mean we wouldn't be able to get the data ourselves using web scraping? I wouldn't want to resort to such a method if the devs have plans to provide access to tooltips "API".
The wowhead tooltip stuff doesnt seem to be open source, but it could be modified to support it with the Twow database.
I like the functionality, and it would be cool to have these types of tooltips in patch notes and forum posts, but its likely too little of a benefit for the busy devs to work on.
Re: Turtle WoW Database Tooltips
The Turtle WoW database is based on AoWoW (open source), which in turn has built-in functionality to allow third parties to include hints on their sites.
Developers probably won't have to develop this functionality from scratch. Unfortunately, it may need some serious tweaking due to the fact that the version expected by AoWoW is 3.3.5 (WotLK) and the fact that Turtle WoW uses CloudFlare.
I'd be very happy if any of the developers can comment on this.
Re: Turtle WoW Database Tooltips
Nice Find! I poked around and this should work. It looks like the TWOW database does support this functionality out of the box!Ltanailov wrote: ↑Sat Jun 22, 2024 11:17 amThe Turtle WoW database is based on AoWoW (open source), which in turn has built-in functionality to allow third parties to include hints on their sites.
Developers probably won't have to develop this functionality from scratch. Unfortunately, it may need some serious tweaking due to the fact that the version expected by AoWoW is 3.3.5 (WotLK) and the fact that Turtle WoW uses CloudFlare.
I'd be very happy if any of the developers can comment on this.
You can see it in action when you search an item in the DB and hover over the item icon (e.g. https://database.turtle-wow.org/?search=oil+of+im) and the API response is the same as used by the script. (Cloudflare still gets in the way for me testing this on my machine, but could be whitelisted by twow devs for their own forum)
It should just be a matter of changing a few URLs in the javascript you linked, as well as enabling this from within the forum (guide here) https://wowhead.com/forums/topic/powere ... guide-3464
Re: Turtle WoW Database Tooltips
Developers, please, we need this -> [Torta's Egg] <- to work!Xanwow wrote: ↑Sat Jun 22, 2024 1:24 am...but could be whitelisted by twow devs for their own forum...
It should just be a matter of changing a few URLs in the javascript you linked, as well as enabling this from within the forum (guide here) https://wowhead.com/forums/topic/powere ... guide-3464
![turtle_in_love turtle_in_love](./images/smilies/turtle_in_love.png)