<?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>Development Blog &#187; plugin</title>
	<atom:link href="http://blog.yeticode.co.uk/tag/plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.yeticode.co.uk</link>
	<description>John Tindell's Blog For Development Related Things</description>
	<lastBuildDate>Mon, 09 Jan 2012 01:21:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Bazaar Plugin for OnTime Integration</title>
		<link>http://blog.yeticode.co.uk/2010/04/bazaar-plugin-for-ontime-integration/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bazaar-plugin-for-ontime-integration</link>
		<comments>http://blog.yeticode.co.uk/2010/04/bazaar-plugin-for-ontime-integration/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 22:26:01 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Development Log]]></category>
		<category><![CDATA[bzr]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ontime]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blog.yeticode.co.uk/?p=683</guid>
		<description><![CDATA[I was playing around with bazaar, whilst reviewing distributed version control systems (DVCS), and created a simple plugin for use with axosoft&#8217;s ontime. The plugin parses the commit message and links the files to the related task, defect or feature. Install Download the tar file from [download id="3"] Extract and run the installer using the [...]]]></description>
			<content:encoded><![CDATA[<p>I was playing around with <a href="http://bazaar.canonical.com/">bazaar</a>, whilst reviewing distributed version control systems (DVCS), and created a simple plugin for use with <a href="http://www.axosoft.com/ontime">axosoft&#8217;s ontime</a>. The plugin parses the commit message and links the files to the related task, defect or feature.<br />
<br/></p>
<h3>Install</h3>
<p>Download the tar file from [download id="3"]<br />
Extract and run the installer using the following:</p>
<pre>
tar -vxzf bzr-ontime-0.0.1.tar.gz
cd bzr-ontime-0.0.1
sudo python setup.py install
</pre>
<p><br/></p>
<h3>Configure</h3>
<p>Setup the database connection information.<br />
<strong>/etc/bzr-ontime.conf</strong></p>
<pre>[ontime]
server=your-mssql-server
username=sa
password=p4ssw0rd
database=ontime
</pre>
<p><br/></p>
<h3>Confirm Installation</h3>
<pre>bzr hooks
</pre>
<p>If the plugin is installed correct you should see the plugin listed under the post_commit section.</p>
<h3>Related Reading</h3>
<table>
<tr>
<td>
<a href="http://www.amazon.co.uk/gp/product/1590593561?ie=UTF8&#038;tag=worldoverride-21&#038;linkCode=as2&#038;camp=1634&#038;creative=19450&#038;creativeASIN=1590593561"><img border="0" src="http://static.yeticode.co.uk/blog/images/dive_into_python.jpg"></a><img src="http://www.assoc-amazon.co.uk/e/ir?t=worldoverride-21&#038;l=as2&#038;o=2&#038;a=1590593561" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
</td>
</tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.yeticode.co.uk/2010/04/bazaar-plugin-for-ontime-integration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pirate Day! Arr</title>
		<link>http://blog.yeticode.co.uk/2009/09/pirate-day-arr/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pirate-day-arr</link>
		<comments>http://blog.yeticode.co.uk/2009/09/pirate-day-arr/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 23:18:04 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Development Log]]></category>
		<category><![CDATA[pirate]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.yeticode.co.uk/?p=575</guid>
		<description><![CDATA[So talk like a pirate day is coming around soon and saw a brilliant method of converting web pages from boring English to cool Pirate talk. So having nothing better to do at the moment I knocked up a small plugin that will convert your blog posts to pirate talk on the 19th, to give [...]]]></description>
			<content:encoded><![CDATA[<p>So talk like a pirate day is coming around soon and saw a <a href="http://developer.yahoo.net/blog/archives/2009/09/ahoy_mates_conv.html">brilliant method of converting web pages from boring English to cool Pirate talk</a>. So having nothing better to do at the moment I knocked up a small plugin that will convert your blog posts to pirate talk on the 19th, to give your readers something nice to look at.</p>
<p>Plugin can be found at <a href="http://wordpress.org/extend/plugins/pirate-talk/">http://wordpress.org/extend/plugins/pirate-talk/</a></p>
<p>Feel free to make it better.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.yeticode.co.uk/2009/09/pirate-day-arr/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Plugin Crazy!</title>
		<link>http://blog.yeticode.co.uk/2009/07/plugin-crazy/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=plugin-crazy</link>
		<comments>http://blog.yeticode.co.uk/2009/07/plugin-crazy/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 02:00:17 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Development Log]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.yeticode.co.uk/?p=512</guid>
		<description><![CDATA[So after creating my first proper plugin, post-to-facebook, I decided to have a go at creating another one. This one was created after I set up a blog for my dad to post updates and photos to so that he wouldn&#8217;t have to resend the same emails to different people. The after giving him a [...]]]></description>
			<content:encoded><![CDATA[<p>So after creating my first proper plugin, <a href="http://blog.yeticode.co.uk/post-to-facebook">post-to-facebook</a>, I decided to have a go at creating another one. This one was created after I set up a blog for my dad to post updates and photos to so that he wouldn&#8217;t have to resend the same emails to different people. The after giving him a brief overview of how to post items and upload photos I noticed that the images he was uploaded were to large to be correctly displayed, when using the light box plugin. So from this I decided to write a plugin that would allow for the maximum size an uploaded image can be, and if it is larger it is resized. I&#8217;ll submit it to wordpress for download. This plugin is ideal for people who don&#8217;t want to worry about resizing their images before they post them to wordpress, this is ideal with. The plugin homepage is can be found on the page <a href="http://blog.yeticode.co.uk/resize-on-upload-plugin">resize-on-upload-plugin</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.yeticode.co.uk/2009/07/plugin-crazy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8216;Post to Facebook&#8217; WordPress Plugin</title>
		<link>http://blog.yeticode.co.uk/2009/07/post-to-facebook-wordpress-plugin/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=post-to-facebook-wordpress-plugin</link>
		<comments>http://blog.yeticode.co.uk/2009/07/post-to-facebook-wordpress-plugin/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 21:35:18 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Development Log]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.yeticode.co.uk/?p=449</guid>
		<description><![CDATA[After wanting to be able to post stuff to my facebook account from my blog for no other reason than &#8220;I Can&#8221;, I looked around at the plugins that exist at the moment. The ones that I found worked but they were not what I wanted. The closest I got was the plugin Publish To [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="post-to-facebook screenshot" style="float: left" src="http://static.yeticode.co.uk/blog/images/posts/post_to_facebook_screenshot.png"/></p>
<p>After wanting to be able to post stuff to my facebook account from my blog for no other reason than &#8220;I Can&#8221;, I looked around at the plugins that exist at the moment. The ones that I found worked but they were not what I wanted. The closest I got was the plugin <a href="http://wordpress.org/extend/plugins/publish-to-facebook/">Publish To Facebook</a>. What I didn&#8217;t like about this plugin was that it highjacked the publish/update button. What I wanted was the ability to press a button and publish to facebook for only the posts that choose. So I decided to write my own plugin, that add a button to the edit page to do just this.</p>
<p>The can for the moment the source code can be checked out from bazaar repository, then simply upload the folder to the wp-content/plugins and you&#8217;re good to go. If you don&#8217;t like or use bazaar you can download the tar ball.</p>
<p><b>Download: </b><a href="http://static.yeticode.co.uk/blog/downloads/post-to-facebook.tar.gz">post-to-facebook.tar.gz</a></p>
<pre>
bzr branch <a href="http://bzr.yeticode.co.uk/post-to-facebook" rel="nofollow">http://bzr.yeticode.co.uk/post-to-facebook</a>
</pre>]]></content:encoded>
			<wfw:commentRss>http://blog.yeticode.co.uk/2009/07/post-to-facebook-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Simple SVN WordPress Widget</title>
		<link>http://blog.yeticode.co.uk/2009/04/simple-svn-wordpress-widget/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=simple-svn-wordpress-widget</link>
		<comments>http://blog.yeticode.co.uk/2009/04/simple-svn-wordpress-widget/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 17:43:15 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Off Topic]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.yeticode.co.uk/?p=123</guid>
		<description><![CDATA[After getting bored on working on my final year project I decided to take a look at creating widgets word my blog. There are SVN hooks on my repositories that store the commit details in a SQL database. I thought I would create a widget that would pull out the last message and display it. [...]]]></description>
			<content:encoded><![CDATA[<p>After getting bored on working on my final year project I decided to take a look at creating widgets word my blog. There are SVN hooks on my repositories that store the commit details in a SQL database. I thought I would create a widget that would pull out the last message and display it. </p>
<pre name="code" class="php">
/*
Plugin Name: LastCommit
Plugin URI: <a href="http://blog.yeticode.co.uk/" rel="nofollow">http://blog.yeticode.co.uk/</a>
Description: Gets Last Commit Message
Author: John Tindell
Version: 1
Author URI: <a href="http://blog.yeticode.co.uk/" rel="nofollow">http://blog.yeticode.co.uk/</a>
*/
function lastCommit_widget() {

	$server = 'localhost';
	$link = mssql_connect($server, 'username', '************');
	echo '
<li class="widget">';
	echo "
<h2>Last Commit</h2>

";
	if($link)
	{
		mssql_select_db('svnyeti', $link);
		$query = mssql_query('select top 1 * from SVNLog order by liLogEntryPk desc', $link);
		$row = mssql_fetch_array($query);
		print '
<p ><i>' . $row['lszLogEntry'] . '</i></p >';
	}
	echo ' </li>

';
}
function init_lastCommit(){
	register_sidebar_widget("LastCommit", "lastCommit_widget");
}
add_action("plugins_loaded", "init_lastCommit");
</pre>
<p>When I get more time I will develop this a bit more.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.yeticode.co.uk/2009/04/simple-svn-wordpress-widget/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

