<?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>Peter J Harrison &#187; Plugins</title>
	<atom:link href="http://www.peterjharrison.me/category/plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.peterjharrison.me</link>
	<description>PHP Web Developer &#38; Designer : Cardiff &#38; Shrewsbury</description>
	<lastBuildDate>Fri, 30 Jul 2010 18:50:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>My Xbox Profile : WordPress Plugin</title>
		<link>http://www.peterjharrison.me/2010/01/my-xbox-profile-wordpress-plugin/</link>
		<comments>http://www.peterjharrison.me/2010/01/my-xbox-profile-wordpress-plugin/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 21:47:59 +0000</pubDate>
		<dc:creator>Peter J Harrison</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Xbox]]></category>
		<category><![CDATA[Xbox Gamercard]]></category>
		<category><![CDATA[Xbox Live]]></category>

		<guid isPermaLink="false">http://www.peterjharrison.me/?p=195</guid>
		<description><![CDATA[Now this is a WordPress Plugin that I have been meaning to create for sometime now. After writing a similar application for my old website I always wanted to create a Xbox Live Gamercard Plugin for WordPress for everyone to use. So here is the first version of the plugin, its quite simple with only [...]]]></description>
			<content:encoded><![CDATA[<p>Now this is a WordPress Plugin that I have been meaning to create for sometime now. After writing a similar application for my old website I always wanted to create a Xbox Live Gamercard Plugin for WordPress for everyone to use. So here is the first version of the plugin, its quite simple with only a few options but the biggest feature about it is that it is completely customisable using CSS.</p>
<p><span id="more-195"></span></p>
<p style="text-align: center;"><a href="http://www.peterjharrison.me/wp-content/uploads/2010/01/levelledup_gamercard.jpg"><img class="size-full wp-image-203 aligncenter" title="Levelledup Xbox 360 Gamercard" src="http://www.peterjharrison.me/wp-content/uploads/2010/01/levelledup_gamercard.jpg" alt="" width="216" height="162" /></a></p>
<p>To begin with I have to say a huge thank you to <a title="Duncan Mackenzie" href="http://duncanmackenzie.net/" target="_blank">Duncan Mackenzie</a> for providing the<a title="Xbox Live Data Service" href="http://duncanmackenzie.net/blog/put-up-a-rest-api-for-xbox-gamertag-data/default.aspx" target="_blank"> Xbox Live Data Service</a> which powers the information in this plugin because without his work this plugin wouldn&#8217;t be possible.</p>
<p>So heres a brief description on how this plugin works. As I meantion above the plugin pulls in your Gamercard details in from the <a title="Xbox Live Data Service" href="http://duncanmackenzie.net/blog/put-up-a-rest-api-for-xbox-gamertag-data/default.aspx" target="_blank">Xbox Live Data Service</a> using the  PHP DOMDocument::load function. Then using the DOMDocument::getElementsByTagName function it pulls in the sperate pieces of information it requires.</p>
<p>Now that I have all the Gamercard details I then created the new Gamercard using semantic HTML and style it with a seperate CSS file.</p>
<p>Ok so enough of all the techy part, let me talk you through steps of getting this added to your website.</p>
<h3>Installation</h3>
<ol>
<li>Login to your dashboard and under &#8216;Plugins&#8217; click &#8216;Add New&#8217;.</li>
<li>In the serach box type &#8216;My Xbox Profile&#8217; and then click &#8216;Search Plugins&#8217;.</li>
<li>Find the plugin in the list (should be the first one) and click install on the right hand side.</li>
<li>When the lightbox window opens click the red &#8216;Install Now&#8217; button.</li>
<li>Once the installation has finished click &#8216;Activate Plugin&#8217; next to the &#8216;Actions&#8217; .</li>
</ol>
<h3>Changing Settings</h3>
<p>Now that you have installed the plugin you should now see a &#8216;My Xbox Profile&#8217; link under the &#8216;Settings&#8217; tab in your admin dashboard. If you click the link you should see the page below.</p>
<p style="text-align: center;"><a href="http://www.peterjharrison.me/wp-content/uploads/2010/01/myxboxprofile_admin.jpg"><img class="size-medium wp-image-196 aligncenter" title="My Xbox Profile Admin Settings" src="http://www.peterjharrison.me/wp-content/uploads/2010/01/myxboxprofile_admin-300x131.jpg" alt="" width="300" height="131" /></a></p>
<p><strong>Gamertag Details: </strong>In this section you need to enter your current Xbox Live Gamertag into the box provided.</p>
<p><strong>Advanced Settings (Optional):</strong> There are currently a few additional settings that you can configure, I have listed them below.</p>
<ul>
<li>Show Recent Games &#8211; You have the ability to show or hide the recent games section on the Gamercard.</li>
<li>Recent Game Image Size &#8211; If you are displaying the recent games then you can have the images in 2 different font sizes. (<em>Please note if you are using the default stylesheet then this setting must be set to 32px</em>)</li>
<li>Use JQuery &#8211; I have added this setting to allow you to remove the JQuery files if you see them duplicated in the head section of your website.</li>
</ul>
<h3>Placing the Gamercard on Your Website</h3>
<p>There are two ways in which you can add Gamercard to your website.</p>
<p><strong>In Your Theme (Template Tag)</strong></p>
<p>You have the ability to add the Gamercard to any part of your theme by using the following code:</p>
<pre class="brush: php;">&lt;?php echo myxboxprofile(); ?&gt;</pre>
<p><strong>In Your Post/Page (Shortcode)</strong></p>
<p>If you dont want to add it to your theme then you can add it to any post or page on your website using the shortcode below (without the spaces).</p>
<pre>[ myxboxprofile ]</pre>
<h3>Additional Customisation<strong> </strong></h3>
<p>Now that you have installed and setup the plugin you will need to customise the Gamercard to fit the style or your website.</p>
<p>Within the plugin folder you will find a folder called &#8216;CSS&#8217;, in this folder you will find a file called &#8216;myxboxprofile.css&#8217;. This is the file that applies the design to your Gamercard once it is place on your website.</p>
<p>I have commented this file so you are free to change the look and feel of your Gamercard to suit your own website.</p>
<h3>Conclusion</h3>
<p>Im pretty please with this plugin and hopefully it will get used quite a bit, mainly because it is very customisable from a design point of view. I am going to come back to this plugin and develop it a further in the future but I wanted to see if there was much of a demand it first.</p>
<p>I have a few ideas on the direction I would like to take this plugin and here are a few of my ideas for the next version.</p>
<ul>
<li>Include the use of templates for differnet layouts of Gamercards</li>
<li>The ability to create custom templates</li>
<li>Uterlise more of the information in the Data Service.</li>
</ul>
<p>If you have any ideas of yourself then please do let me know and I will add the to the feature list.</p>
<p>Hopefully I have explained everything you will need to know about this plugin, but if not then please do leave a comment below.</p>
<h3>Download</h3>
<p>The download is now available from <a title="My Xbox Profile WordPress Plugin" href="http://wordpress.org/extend/plugins/my-xbox-profile/" target="_blank">WordPress.org</a>, please feel free to give it a try.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.peterjharrison.me/2010/01/my-xbox-profile-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Category Ajax Chain Select : WordPress Plugin</title>
		<link>http://www.peterjharrison.me/2009/08/category-ajax-chain-select-wordpress-plugin/</link>
		<comments>http://www.peterjharrison.me/2009/08/category-ajax-chain-select-wordpress-plugin/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 22:45:38 +0000</pubDate>
		<dc:creator>Peter J Harrison</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Category]]></category>
		<category><![CDATA[Chain Select]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.peterjharrison.me/?p=164</guid>
		<description><![CDATA[Well after working with WordPress for about 4 years now, I have finally got around to developing my very first WordPress plugin. Category Ajax Chain Select plugin pretty much does exactly what it says, it creates a chain select based off the category hierarchy in your WordPress install. This plugin came about because for once [...]]]></description>
			<content:encoded><![CDATA[<p>Well after working with WordPress for about 4 years now, I have finally got around to developing my very first WordPress plugin. Category Ajax Chain Select plugin pretty much does exactly what it says, it creates a chain select based off the category hierarchy in your WordPress install.<span id="more-164"></span></p>
<p>This plugin came about because for once I couldn&#8217;t find a plugin that already had this functionality for WordPress, so I thought it should be a simple plugin to get me going. At present it is very basic, using a template tag below, you can place the chain selects any where on the your page template and then style it using CSS.</p>
<pre>chainselect_getcategories();</pre>
<p>The plugin also has the ability to pass the category level through, so if you wanted 3 levels of categories to show you could use the template tag as (by default it will always show 2 levels of categories if no value is past):</p>
<pre>chainselect_getcategories(3);</pre>
<p>I will continue to work on this plugin over time and add new features such as page codes so that you can add the select boxes stright into your posts &amp; pages. In the meantime if there are any plugin developers out there that would like to help me develop this plugin then please do get in touch.</p>
<p>The plugin is now live on <a title="Wordpress" href="http://wordpress.org" target="_blank">WordPress.org</a> and is called <a title="Category Ajax Chain Selects" href="http://wordpress.org/extend/plugins/category-ajax-chain-selects/" target="_blank">Category Ajax Chain Select</a>.</p>
<p><span class="note">PLEASE BEWARE THIS PLUGIN WILL ONLY WORK IF YOU ARE USING <a title="Wordpress Using Permalinks" href="http://codex.wordpress.org/Using_Permalinks" target="_blank">%category%</a> IN YOUR PERMALINK</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.peterjharrison.me/2009/08/category-ajax-chain-select-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
