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

Favorites

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

Recent Achievements

Blogroll Highlights

  • Udder Madness
  • Partouf’s Log
  • Of Teeth and Claws
  • An Old Druid’s New Druid
  • Cenarion Musings

Categories

Archives

I blog Azeroth. Do you?

Creative Commons License

Featured Post

Featured: Mailbag: Leatherworking vs. Tailoring in WotLK

In light of the paradigm shift where neither Tailoring or Leatherworking creates Bind on Pickup epics, here’s help deciding between the additional benefits of these two production tradeskills.

Read More | All Featured Posts

Recent Posts

  • Living Seed, Replenish, and Gift of the Earthmother
  • Guest Post: Leveraging Shadowmeld
  • 2008: A Retrospective
  • U.S. and Canada: Save 20.09% on Resto4Life Tree Shirts!

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

Living Seed, Replenish, and Gift of the Earthmother (13)

Werebeef
I don’t think viewing living seed as a % of total healing is really the best way to look at it. It’s great for helping a player that is at very low health get back up to very high health and do so quickly. You don’t look at nature’s swiftness as a percentage of overall healing. I don’t think it makes that much sense here either. It’s also a talent that is better when the content is hard, when you have less overhealing. There’s also something...

Kalfurion
Hi Phae, long time no talk. I want to point out that I’m 0/0/71 and I love it. I don’t really find the talents in the balance tree to be that useful for my needs. I’m in a raiding guild as I’m sure you know and the three talents you spoke about suit my needs so well. My rogues, DK’s and our feral druid love me when I keep a rejuv on them for replenish. I’ve joined pugs and people look at my spec and make silly jokes and I don’t know why,...

Kiryn
I really like Replenish, personally. I find myself with far more mana regen than I need in most boss fights, so mana conservation isn’t much of an issue for me. I don’t even know why I carry mana potions if I never use them, and I’m far more likely to be innervating the priests than myself. I often treat rejuv-swiftmend as a near-instant 8k heal on a 15 second cooldown. It isn’t cheap, but it can bring someone back from the brink of death in a little over a second...

Perrin
Phae, One thing that needs to be pointed out clearly to everyone is the misconception about “After spell haste” and the tooltip for GotEM. GotEM removes 0.3 seconds from your GCD. It doesn’t matter if its applied after or before spell haste, because its a factor of the 1.5 BASE GCD. Spell Haste is also a factor of the 1.5 BASE GCD. Therefore they don’t affect each other. The tooltip says 20%, but unlike the usual use of % based talents, the reduction is additive...

Phaelia
@Flynx: Thanks for the link - I’ve added it above to help flesh out the section about GotEM and spell haste! And I’m never sure whether information like this would be better suited to the Healing role forum or the Druid forum. >.< @Pike: I’m glad to hear that you’re still leveling your Druid. I imagine there is a lot of overlap between Hunter fans and Druid fans! (After all, as a Druid, you’re your own pet!) @Pfooti: Thank you! I’m glad you found it...
Guest Post: Leveraging Shadowmeld (22)

Riverwish
As far as i’m aware they changed it so that when you meld in a raid instance you don’t leave combat so you can’t drink/eat or reset pot cooldowns in a raid bossfight, this is why you have to be quite lucky at escaping combat in a raid situation. I did manage to escape for Patchwerk numerous times but other bosses are trickier, I think it depends really on who your fighting and what room you’re in :) All these things can be done in 5 mans though. Riverwishs...

Vreenash
Thanks for posting this up Phae :) Keep the ideas flowing guys. It’s good to hear the different ideas and situations you’ve all been using shadowmeld in. Here’s another one for you: While leveling my way to 78 (still with the ground mount in northrend), there were quests that required killing a normal mob boss. They were usually in the centre of a town, camp or cave. Instead of killing all the mobs on the way to boss, just mount up and run directly to him....

Bearess
One note about SM that should be brought up. Yes it will bring you out of the fight in a lot of cases, but some bosses can still find you. AOE attacks will bring you out of a SM. So watch that. I learned that the hard way when Instructor Razuvious broke loose, and I skittered off a corner and SM. His next “victim” was too close to me when he let out his “Distrupting Shout” and I became next on his list. Figured I’d drop a line since it is a weakness to SM...

Arcaedus
Great info! I’ve often used SM to get out of combat when soloing but have put it to limited use in the instance/raid environment. @Riverwish: I’m not sure that you have to be the last player alive/targetable. I’ve had both successful and unsuccessful attempts with SM hiding on a wipe. My main example is on Patchwork. When multiple tanks go down and its a sure wipe, you are able to run behind one of the pillars and meld. As long as no one drags Patchy to you he should...
2008: A Retrospective (9)

Melchoir
Ever since I came back 1/2 year ago from a forced 2-year hiatus from WoW, I’ve been frequenting your blog. You’ve provided us with a wealth of great information and analysis. Thanks to you, my Grid actually gives me useful information beyond how much healing I need to pour into the box. Also, your comments on the Belkin Nostromo N52 TE got me interested enough to try one out for myself. So far, it has improved my healing response time and even saved my groups from a few...
© 2008 Resto4Life. Some Rights Reserved. Original theme by Dezinerfolio. Respecced by Phaelia.