• Home
  • Guides
  • Resources
  • Privacy Policy
  • Blogroll
  • Contact
  • Authors
  • Tree Shirts
  • Subscribe via RSS
  • Subscribe via E-Mail
  • Tree Shirts
  • Recent Comments
  • Mana Regen Calc.
  • The World Tree

I <3 the
Nostromo N52TE

Favorites

  • /hug
  • 4 Haelz
  • Banana Shoulders
  • Big Bear Butt
  • BigRedKitty
  • Gray Matter
  • Greedy Goblin
  • Leafshine: Lust for Flower
  • Of Teeth and Claws
  • Out of Mana
  • Think Tank
  • Tree Bark Jacket
  • Unbearably HoT
  • Yet Another Warlock Nerf
  • View Full Blogroll

Recent Achievements

Blogroll Highlights

  • Rawrbitchrawr
  • Tallyswift: The Swiss Army Cow
  • Resto4Life
  • Omen of Clarity
  • Vendor Trash

Categories

Archives

Resto4Life is regularly featured at the Daily Druid!
I blog Azeroth. Do you?

Creative Commons License

Featured Post

Featured: Inscription for Druids

Wondering how the new Inscription tradeskill will affect Druids in Wrath of the Lich King? View the full list of currently available and datamined Glyphs for Balance, Feral, and Restoration Druids here!

Read More | All Featured Posts

Recent Posts

  • Phaelia’s Vestments of the Sprouting Seed
  • Resto4Life Farewell Photo Album
  • Resto4Life Says “Farewell” on Twisted Nether
  • Some Follow-Up

Phaelia How-To: Add Item and Spell Tooltips to your Blog

Published on November 2, 2007 by Phaelia
Blog
10 Comments

So I was out in Teldrassil, killing Young Nightsabers for the Balance of Nature quest when look what dropped:

Apostle of Argus
Binds when picked up
Two-HandStaff
145 - 323 DamageSpeed 3.20
(73.2 damage per second)
+62 Stamina
+59 Intellect
Durability 120 / 120
Requires Level 70
Equip: Increases healing done by up to 486 and damage done by up to 162 for all magical spells and effects.
Equip: Restores 23 mana per 5 sec.

No, not really. But it looks pretty nice, doesn’t it? If you’re wondering how I did that, you aren’t alone. A couple of visitors have written in recently inquiring about my item links, and I’m finally willing to share my secret. Note that there are other ways to include World of Warcraft items in your blog, one of which is the item links method recently highlighted by Big Bear Butt (original credits to Okoloth). But if in-line displays are more your cup of tea, and you’re interested in trying it for yourself, read on, plucky blogger!

The WoWHead Item and Spell Parser (WISP) is a small Windows application that Valenna of Parry! Dodge! Spin! and I co-developed in VB.NET to allow us to attractively display items and spells on our blog, using code automatically acquired from the WoWHead web site. To use it, you will need the following:

  • The ability to use WoWHead.com (the program requires a valid WoWHead address to parse)
  • Web space to host images (using images hosted on the WoWHead site would be an unfair abuse of their bandwidth — don’t do it, please)
  • A text editor like Notepad to edit the configuration document
  • WinZip or another program that allows you to open and extract Zip files
  • The Microsoft .NET Framework 1.0+ (I believe that this is a requirement and can be acquired through Windows Update)

Instructions:

  1. Download WISP.zip. (Doesn’t include an installer, much less a keylogger.)
  2. Extract the contents of the *.zip file into a folder.
  3. Use a text editor such as Notepad to open the Wisp.exe.config file.
  4. Edit the ImageStoreLocation variable to point to the web directory where you’ll be storing images, including spell and item icons.
  5. If you use Blogger and have it configured to automatically Convert Line Breaks, ensure that the ReadableHTML option is set to FALSE or NO. (Why?)
  6. Save your changes and close the config document.

Before you can begin generating item tooltips, you’ll need to download, save, and upload the images used by WISP. You’ll also need to add a set of CSS styles to your blog’s stylesheet. You should only have to perform these steps once:

  1. Open the application by double clicking on the executable file, WISP.exe.
  2. At the bottom of the first window is a button labelled CSS Styles. Click it to open a form that contains the CSS that you will need to use for your site (customized with the URL you set up earlier). There’s a button below the CSS pane labelled Copy CSS that will copy all of the CSS to your clipboard so you can easily paste it into your Blogger or WordPress template/stylesheet.
  3. Select each of the six images listed at the bottom of the Styles window and click the Open button. This will open the images on WoWHead so that you can save them to upload to your own web space.
  4. Click the Close button to return to the main window.

Creating an Item or Spell Link:

  1. Visit WoWHead.com and find the item or spell for which you want to generate a tooltip. Copy the URL of the page.
  2. From the main window of WISP, click the Paste button at the top of the screen (you can also do so manually by clicking inside the URL box).
  3. Click the Parse button.
  4. HTML code should automatically be generated in the Parsed HTML pane. Click on the Copy HTML button below this pane to copy it to your clipboard.
  5. Paste the copied HTML into your blog editor (be sure you aren’t editing in WYSIWYG mode).
  6. Important: An image URL should populate at the bottom of the form (labelled “Hosted Image”). Click the “Open” button beside this field to open the image in a new window so that you can save it and FTP it to the directory you specified in your config file.
  7. Save/Publish your post when you’re done.

Additional Notes for Blogger Users:

By default, Blogger converts your line breaks into the appropriate line break and paragraph tags. Unfortunately, this presents difficulties when working with tables and other HTML formatting that it helps to be able to see when coding. WISP can output HTML that contains line breaks and extra spaces to make the HTML more readable. If you have the Convert Line Breaks option turned on in the Formatting settings of your blog, be sure to switch ReadableHTML option to FALSE so that your output doesn’t include this additional spacing.

Additional Notes for WordPress Users:

WordPress users will need to install a plugin that tells WordPress not to automatically reformat your posts. Otherwise, WordPress will automatically eat the code necessary for displaying your items properly. The plugin that I use is called WP Unformatted, and once it’s installed you will need to add a Custom Field named “sponge” with a value of “1″ to any post where you intend to include one or more items or spells.

Related Posts

  • Welcome to the New Resto4Life!
  • Druids vs. Priests
  • How-To: Set up a Custom Avatar for Resto4Life
Categories: Blog

10 Comments

Make A Comment | Set My Avatar
  • Gravatar Athryn

    Very awesome stuff. I only wish there was something like this for bbcode and message boards, as I would love to link to wowhead instead of allakhazam.

    2:55 pm on 11/2/07
  • Gravatar Leiandra

    I’m fairly certain there’s a setting that you can change the source of itemstats to be wowhead instead of allakhazam, but it’s been awhile since I looked into it, and I was fine with our guild forums being “linked” to Allakhazam at the time I set it up. Hmm… maybe I’ll have to look into that.

    3:47 pm on 11/2/07
  • Gravatar Kestrel

    I may have to work on this. For some reason, I can NOT get ItemStats to work for me. :(

    4:54 pm on 11/2/07
  • Gravatar Phaelia

    @Kestrel: Embarassingly, me either. Which stinks because I’d really like to have the option to do either one. I was hoping perhaps upgrading my WordPress to the latest release would help me.

    6:01 pm on 11/2/07
  • Gravatar sailoreagle

    You are fantastic. :D Thanks for sharing!

    7:04 pm on 11/2/07
  • Gravatar Kapoue

    For the image, you can use the ones on http://www.worldofwarcraft.com, at least that’s what I was doing when I was making my own tooltips.

    http://www.wowarmory.com/images/icons/51×51/inv_helmet_94.jpg

    Kapoue
    Earthen Ring

    9:35 am on 11/3/07
  • Gravatar Jon@tbk

    I’ve thrown together a small tutorial for setting up ItemStats on Wordpress with Wowhead support over at http://www.thebronzekettle.com/?p=37 .

    12:29 pm on 11/7/07
  • Gravatar Phaelia

    @Jon@tbk: Thank you so much for linking this guide! I’m afraid I’m having the issue you mention at the bottom where I need to run the database script, but don’t have access to my database. I’ve installed phpadmin but can’t figure out how to configure it. Unfortunately, my web space host sold me to another company and I’ve had little luck with my support requests. =( Nonetheless, I will continue working on it - thank you once again for the guide!

    10:40 pm on 11/9/07
  • Gravatar Gnomus

    Hi, is there any way for you to make the source code available for your parser? im looking at doing something similar and this would save me some time :)

    3:21 pm on 2/6/08

Trackbacks

  1. Winged

Comments RSS Feed   TrackBack URL

Leave a comment

 

Recent Comments

Phaelia’s Vestments of the Sprouting Seed (45)

stillsong
Hey Phaelia I was so delighted during raid time this week to receive these vestments. Since first reading about them I wanted to wear them. I told the story of them when I recieved them so everybody would know they were named after you and your unborn baby. They loved this. How is everything going? Is your baby born?

Михаил Кузьмин
Ну и что, результат есть ?

vessel
just won your BOE for a very small bid of 50 dkp after reading your blog for centuries. /dance thanks for the good fortunes.

talv
woohoo, got mine today, congratulations on everything and thanks for getting my healing where it needs to be to get them =)

Jim
Congrats! We have another on the way in a month. Time to master the balancing act again. Jims last blog post..“Am I Ready for Heroics? Am I Ready for Naxx?”
Rumored Hero Class: Arch Druid (16)

Shon
@alan sounds like a cool idea, maybe like the little pikmin things with a huge army of ants doing battle for you, too bad it would prolly be too much for others processing to have 5 people in a raid that had 100 pets each running around fighting.
Guest Post: So You Want to Rip Some Face? (37)

Galani
Armor Pen has been updated, and it is now over powered…Stacking this is now the best way to drasticly increase your dps, don’t go out of your way to get it, most uldar feral gear has a healthy amount of Arm. Pen. As well stacking some AP gems is very usefull.
Mailbag: Preferred Tank (7)

ysoph
Our bear friends are relevant soakers due to HP they have, but lack of avoidance (except of dodge of course) makes them harder to heal. But at least it means less overheal :-) Pallys are great trash tankers but might face problems with spellers due to OOM or just a lack of spell defend abilities. If your group is about to kill raid boss with some spell abilities, high constant melee damage and bleed/spell resistances better get decent warrior.
So You Think You Can Blog … You’re Right! (36)

Everwrath
Hi, great post and good resources, but could you possibly correct the link to wowmodelviewer.org as it’s missing the wow. The domain you are linking to is a spamvertising domain with popups galore which could possibly end up being wholly inappropriate. Ta! Everwraths last blog post..50 Mount Achievement
Pre-Raid Gear: Head, Shoulder, Chest, Hands, Legs, Feet (32)

Phaelia
@Ramzi: Because they’re Bind on Equip, as stated in their description.
© 2009 Resto4Life. Some Rights Reserved. Original theme by Dezinerfolio. Respecced by Phaelia.