Syndicating content from AionArmory is simple. Follow this two-step process, and you're done.
Put the following code into the HEAD section of the HTML document:
- Your site is now ready for AionArmory syndication! Whenever you want to include an item tooltip in a news story, comment, or forum post, all you need to do is create a AionArmory link to the item. Here's are some examples:
Links can be customized by applying a "class" attribute to the anchor tag. Here are some of the options we currently offer.
- Auto label: If you would like your links to have the item name and rarity color automatically applied for you, simply use the class attribute: "aiondb-item-text".
For example: <a class="aiondb-item-text" href="http://www.aionarmory.com/item.aspx?id=435134">Unknown Item</a> will display Unknown Item
- Links with Icons: To include an icon with your link, as well as the label, use one of the following three class attributes: "aiondb-item-full-small" for a small icon, "aiondb-item-full-medium" for a medium icon, or "aiondb-item-full-large" for a large icon.
For example: <a class="aiondb-item-full-small" href="http://www.aionarmory.com/item.aspx?id=100900189">Abominable Cruelty</a> will display Abominable Cruelty
Changing the class attribute to aiondb-item-full-medium will produce:
And to aiondb-item-full-large: