Simple Syndication
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:
<script type="text/javascript" src="http://www.aionarmory.com/js/extooltips.js"></script> -
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:
Items:<a href="http://www.aionarmory.com/item.aspx?id=100900189">Abominable Cruelty</a> (Abominable Cruelty)
NPCs:<a href="http://www.aionarmory.com/npc.aspx?id=203132">Nemia</a> (Nemia)
Spells:<a href="http://www.aionarmory.com/spell.aspx?id=965">Healing Light I</a> (Healing Light I)
Customizing Links
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:
Abominable Cruelty
And to aiondb-item-full-large:
Abominable Cruelty