<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Marenkay.com &#187; Interface Design</title>
	<atom:link href="http://www.marenkay.com/tag/interface-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.marenkay.com</link>
	<description>developer, father, gamer, and nerd.</description>
	<lastBuildDate>Thu, 03 Jun 2010 10:19:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>WoW armory plugin refined</title>
		<link>http://www.marenkay.com/tipsresources/programming/wow-armory-plugin-refined/</link>
		<comments>http://www.marenkay.com/tipsresources/programming/wow-armory-plugin-refined/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 14:16:17 +0000</pubDate>
		<dc:creator>Daniel S. Reichenbach</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Armory]]></category>
		<category><![CDATA[Interface Design]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.marenkay.com/?p=70</guid>
		<description><![CDATA[I know it&#8217;s just plain old teasing, but hey &#8230; here you go. The WoW armory plugin has received a lot of heavy lifting during this weekend and now sports a plugin administration which perfectly fits into the default administrative interface included in WordPress 2.5 and newer. As you can see the plugin will now [...]]]></description>
			<content:encoded><![CDATA[<p>I know it&#8217;s just plain old teasing, but hey &#8230; here you go. The WoW armory plugin has received a lot of heavy lifting during this weekend and now sports a plugin administration which perfectly fits into the default administrative interface included in WordPress 2.5 and newer.</p>

<p><span id="more-70"></span></p>

<p><img src="http://www.marenkay.com/wp-content/uploads/2008/10/wow-armory-options-refined-550x386.png" alt="Refined configuration dialog" /></p>

<p>As you can see the plugin will now tell you if your hosting servers&#8217; PHP installation is capable of pulling data from the armory, and will show a  pleasant status message on the options page. Other notable changes include the removal of the cache options. Why? We have WordPress, thus we have a database. What for would you want a file cache? Plus file caching comes with the need to set file permissions to allow your hosting server storing cache files. Potential security risks shall be avoided.</p>

<p>Nothing else to see. If you run WordPress in debug mode, you will notice the armory plugin also has one. Be warned, the armory plugin will parse <em>all</em> (did I say all? Thats 30k items) and cache their data and tooltips in your WordPress database. This will take some time. Most likely ten to fifteen minutes.</p>

<p>My local item cache now contains 23222 (valid aka. real) items and is taking 17.8MB of disk space. Of course, all data saved as serialised XML data in MySQL.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marenkay.com/tipsresources/programming/wow-armory-plugin-refined/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WoW Armory plugin progress</title>
		<link>http://www.marenkay.com/tipsresources/programming/wow-armory-plugin-progress/</link>
		<comments>http://www.marenkay.com/tipsresources/programming/wow-armory-plugin-progress/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 13:43:52 +0000</pubDate>
		<dc:creator>Daniel S. Reichenbach</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Armory]]></category>
		<category><![CDATA[Interface Design]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.marenkay.com/?p=65</guid>
		<description><![CDATA[Yesterday I posted a few bits and pieces about connecting a WordPress blog with the World of Warcraft armory, promising more details, and here they are. I have worked on a few items and finished up the administrative side of the plugin. As pictures speak louder than words here is a screenshot of the current [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I posted a few bits and pieces about connecting a WordPress blog with the World of Warcraft armory, promising more details, and here they are. I have worked on a few items and finished up the administrative side of the plugin.</p>

<p><span id="more-65"></span></p>

<p>As pictures speak louder than words here is a screenshot of the current option panel for the armory plugin in WordPress.</p>

<p><img src="http://www.marenkay.com/wp-content/uploads/2008/10/wow-armory-options-550x356.png" alt="WoW Armory plugin options" /></p>

<p>Currently you can choose which armory you want to fetch data from. This &#8211; for now &#8211; is restricted to the US armory and the EU armory, with a few languages supported (English, German, French, and Spanish). Additionally you can choose if you want to allow armory links inside post, pages, and comments. E.g. you could allow links only in your own content, but not in user created comments.</p>

<p>Finally, there is working support for caching armory data in XML files. These will be saved into a folder inside the armory plugin. I plan to extend this to support your WordPress database, but this needs a few additional lines of PHP code.</p>

<p>Speaking of PHP, I have decided to base my plugin on an existing PHP class library named <a href="http://sourceforge.net/projects/phparmory/">phpArmory</a>. Library development sadly has slowed down in the last few months but I managed to fix all features that did not work, so the library now is fully aware of any locale the armory supports, and can fetch characters, guilds, and items without any errors. Caching with file and database backends has been tested and works. Cheers for me. I will upload the fixed phpArmory class once I have this plugin displaying tooltips on this site.</p>

<p>Expect more details and a 0.1 release within the next few hours.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marenkay.com/tipsresources/programming/wow-armory-plugin-progress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Developing an interface for the WoW Armory</title>
		<link>http://www.marenkay.com/tipsresources/programming/developing-an-interface-for-the-wow-armory/</link>
		<comments>http://www.marenkay.com/tipsresources/programming/developing-an-interface-for-the-wow-armory/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 17:14:58 +0000</pubDate>
		<dc:creator>Daniel S. Reichenbach</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Armory]]></category>
		<category><![CDATA[Interface Design]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.marenkay.com/?p=17</guid>
		<description><![CDATA[When Blizzard Entertainment released the World of Warcraft armory in March 2007, the player base quickly separated into one half being angry and the other half being pretty much exited. You either have to love it, or hate it. With my blog back to life, I decided to join the forces of the armory lovers. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.marenkay.com/wp-content/uploads/2008/10/100px-world-of-warcraft.png" alt="World of Warcraft" /></p>

<p>When <a href="http://www.blizzard.co.uk/">Blizzard Entertainment</a> released the <a href="http://eu.wowarmory.com/">World of Warcraft armory</a> in March 2007, the player base quickly separated into one half being angry and the other half being pretty much exited. You either have to love it, or hate it. With my blog back to life, I decided to join the forces of the armory lovers.</p>

<p><span id="more-17"></span></p>

<p>While preparing a few articles I noticed that I have quite a few mentions of items and characters in my posts, and what could be nicer than making these items and characters visible for my readers without requiring them to browse to another website? Sure, it is not a <em>must have</em> thing, but it is a convenience which adds a bit to the overall feeling. So I decided to start [developing a plugin](http://codex.wordpress.org/Writing_a_Plugin] for the <a href="http://wordpress.org/development/2008/03/wordpress-25-brecker/">recently released WordPress 2.5</a> which I use to create my blog.</p>

<p>Before jumping into my favourite text editor it seemed like a good plan to blog about the plugin, in order to describe what I want it to do, and how it should work. Having a plan is a Good Thing&#8482; as many may remember from software engineering courses.</p>

<h2>What do we need?</h2>

<p>Quite a few features seem to be obvious when you look at what data the armory presents.</p>

<ul>
<li>item links: the ability to edit our posts, pages, and comments and turning item names into nice item tooltips, just like they look when you mouse over an item in the game client.</li>
<li>character links: in the game client, you can SHIFT-click on any character name you read in chat, and the game client will print the basic character data like name, race, class, level, and current zone. It would be nice, to sign posts or comments with the character name and have a tooltip display the basic character values.</li>
</ul>

<h2>What would be nice to have?</h2>

<p>Above these, there are some other features which smell like being worth the effort to implement them.</p>

<ul>
<li>full integration with WordPress 2.5+: <a href="http://wordpress.org/development/2008/03/wordpress-25-brecker/">WordPress 2.5 &#8211; &#8220;Brecker&#8221;</a> comes with a lot of revamped administrative features and AJAX support. I&#8217;d love to have the plugin make use of that. This includes AJAX for pulling of item and character data from the armory and dynamically adding the tooltips where possible, and also includes making use of the new <a href="http://codex.wordpress.org/Shortcode_API">Shortcode API</a>.</li>
<li>caching of character and item data: yes, we all know it. Both the game realms and the armory have maintenance schedules and thus downtimes. Since it would suck to have no tooltips, the plugin should cache all data it has received from the armory. This has two benefits: it saves bandwidth for items we already have seen, and in case the armory is down, we still can have sexy tooltips.</li>
</ul>

<h2>What we do not want to miss?</h2>

<p>I am used to care a lot about features, but much less about usability when it comes to toying with fun stuff, thus a little reminder to me follows.</p>

<ul>
<li>automatic installation and removal of the plugin: everything should be free of work for the user. The plugin should install itself without requiring user interaction, and it should remove itself without requiring interaction, plus it should clean up before it leaves the house.</li>
<li>sane defaults: there are actually only a few options for such a plugin where a user might want to make a choice. There is the US armory, and the EU armory. The armory is available only in a few locales, not in all locales you can have your WordPress configured for, and the user might want to decide if he wants a file based cache, or if he would like to use the already existing WordPress database.</li>
</ul>

<p>Did I miss any feature or requirement? Nothing comes to my mind yet, but if you have any suggestion add a comment and get to talk with me.</p>

<h2>What next?</h2>

<p>I have already built a basic framework for the plugin which is active and running in this blog. As you might notice once you open this sites HTML source, there are already a few lines added by the plugin for the AJAX tooltips, and a small style sheet for the visual look of these tooltips.</p>

<pre><code class="html">&lt;link rel="stylesheet" href="http://www.marenkay.com/wp-content/themes/marenkay.com/style.css" type="text/css" media="screen" /&gt;
&lt;script type="text/javascript" src="http://www.marenkay.com/wp-content/plugins/wow-armory/js/overlib.js"&gt;&lt;/script&gt;
</code></pre>

<p>Currently the plugin can pull data for characters and items from the armory, but it yet lacks a display function. I am still working on the configuration screen, as I do not want this plugin to require you editing PHP files. According to the WordPress developer documentation, this would suck anyway.</p>

<p>Expect an initial release on Saturday. I hope some people will volunteer for testing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marenkay.com/tipsresources/programming/developing-an-interface-for-the-wow-armory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
