Syndication
This page is a guide on how to set up tooltips with data from wow.team-aaa.com on your own website. Tooltips can be applied on all teams, players and items available on wow.team-aaa.com.
Set up
Setting up the syndication is very easy.
- First, put the following code into the HEAD section of the page:
<script src="http://wow.team-aaa.com/js/syndication.js"></script>
- Then you just need to create links to wow.team-aaa.com and tooltips will be automatically added.
For example, this link
<a href="http://wow.team-aaa.com/team.php?ladder=5&zone=EU&realm=EU-Stormscale&team=Nagas"></a>
will result in this tooltip An example of link
Team tooltips
Team tooltips are available in english and french. Default is english, to set the language, add
"aaa-en" or
"aaa-fr" to the class of the link.
- Simple link: just create a link to the team. For example:
<a href="http://wow.team-aaa.com/team.php?ladder=5&zone=EU&realm=EU-Stormscale&team=Nagas">A team</a>
->
A team
- Auto label: the team name is automatically applied to the link. To do so, add "aaa-text" to the class of the link. For example:
<a class="aaa-text" href="http://wow.team-aaa.com/team.php?ladder=5&zone=EU&realm=EU-Stormscale&team=Nagas"></a>
->
- Auto label and icon: the team name and its zone icon are automatically applied to the link. To do so, add "aaa-icon" to the class of the link. For example:
<a class="aaa-icon aaa-fr" href="http://wow.team-aaa.com/team.php?ladder=5&zone=EU&realm=EU-Stormscale&team=Nagas"></a>
->
Player tooltips
Player tooltips are available in english and french. Default is english, to set the language, add
"aaa-en" or
"aaa-fr" to the class of the link.
- Simple link: just create a link to the player. For example:
<a href="http://wow.team-aaa.com/player.php?zone=US&realm=US-Icecrown&player=Thorrior">A player</a>
->
A player
- Auto label: the player name is automatically applied to the link. To do so, add "aaa-text" to the class of the link. For example:
<a class="aaa-text" href="http://wow.team-aaa.com/player.php?zone=US&realm=US-Icecrown&player=Thorrior"></a>
->
- Auto label and class icon: the player name and its class icon are automatically applied to the link. To do so, add "aaa-icon-class" to the class of the link. For example:
<a class="aaa-icon-class aaa-fr" href="http://wow.team-aaa.com/player.php?zone=US&realm=US-Icecrown&player=Thorrior"></a>
->
- Auto label and zone icon: the player name and its zone icon are automatically applied to the link. To do so, add "aaa-icon-zone" to the class of the link. For example:
<a class="aaa-icon-zone aaa-fr" href="http://wow.team-aaa.com/player.php?zone=US&realm=US-Icecrown&player=Thorrior"></a>
->
Item tooltips
Item tooltips are available in english, french, german, spanish, korean and taiwanese. Default is english, to set the language, add
"aaa-en",
"aaa-fr",
"aaa-de",
"aaa-es",
"aaa-kr" or
"aaa-tw" to the class of the link.
- Simple link: just create a link to the item. For example:
<a href="http://wow.team-aaa.com/item.php?id=32837">Warglaive of Azzinoth</a>
->
Warglaive of Azzinoth<
- Auto label: the item name is automatically applied to the link. To do so, add "aaa-text" to the class of the link.
<a class="aaa-text aaa-fr" href="http://wow.team-aaa.com/item.php?id=32837"></a>
->
- Auto label and color: the item name and the item quality color are automatically applied to the link. To do so, had "aaa-colored-text" to the class of the link. For example:
<a class="aaa-colored-text aaa-de" href="http://wow.team-aaa.com/item.php?id=32837"></a>
->
- Small icon: the icon of the item (small size) is applied to the link. To do so, add "aaa-icon-small" to the class of the link. For example:
<a class="aaa-icon-small aaa-es" href="http://wow.team-aaa.com/item.php?id=32837"></a>
->
- Medium icon: the icon of the item (medium size) is applied to the link. To do so, add "aaa-icon-medium" to the class of the link. For example:
<a class="aaa-icon-medium aaa-kr" href="http://wow.team-aaa.com/item.php?id=32837"></a>
->
- Large icon: the icon of the item (large size) is applied to the link. To do so, add "aaa-icon-large" to the class of the link. For example:
<a class="aaa-icon-large aaa-tw" href="http://wow.team-aaa.com/item.php?id=32837"></a>
->
Limitations
- Team tooltips can only be displayed for teams available on this website.
- Player tooltips can only be displayed for players available on this website.
- Item tooltips can only be displayed for items available on the Blizzard armory.
- The syndication script uses Overlib (http://www.bosrup.com/web/overlib/), if your site does too, problems may occur.
- If your site doesn't use UTF-8 character encryption, some tooltips may not be displayed.
For any suggestions and support requests, please
contact us.