<?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>Polevaultweb</title>
	<atom:link href="http://www.polevaultweb.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.polevaultweb.com</link>
	<description>Web Design and Development</description>
	<lastBuildDate>Fri, 18 May 2012 13:46:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Sniffing the WordPress Plugin API</title>
		<link>http://www.polevaultweb.com/2012/03/sniffing-the-wordpress-plugin-api/</link>
		<comments>http://www.polevaultweb.com/2012/03/sniffing-the-wordpress-plugin-api/#comments</comments>
		<pubDate>Sat, 17 Mar 2012 18:47:18 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.polevaultweb.com/?p=386</guid>
		<description><![CDATA[During some recent troubleshooting of WordPress events being called in the plugin Instagrate to WordPress for a &#8230; <a href="http://www.polevaultweb.com/2012/03/sniffing-the-wordpress-plugin-api/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>During some recent troubleshooting of WordPress events being called in the plugin <a title="Instagrate to WordPress" href="http://wordpress.org/extend/plugins/instagrate-to-wordpress/">Instagrate to WordPress</a> for a bug fix release, I came across a useful plugin on the WordPress repository built especially for plugin developers by <a href="http://jeffsayre.com/">Jeff Sayre</a> &#8211; <a title="WordPress Hook Sniffer" href="http://wordpress.org/extend/plugins/wordpress-hook-sniffer/">WordPress Hook Sniffer.</a></p>
<h3>Sniffer what?</h3>
<p>Like a network packet analyser (or sniffer), the WordPress Hook Sniffer intercepts and logs a stream of data. In this case the data is the hook events from the Plugin API that WordPress runs on a request. The plugin outputs the stream of events and the sequence they are fired to either a text file or the screen.</p>
<p>WordPress allows plugin developers to &#8216;hook&#8217; custom functions onto the core events. Hooks can be in the form of Actions and Filters.</p>
<h3>What is an Action?</h3>
<p>An Action is a specific point in the WordPress core sequence of loading events. A plugin can hook multiple functions to multiple actions.</p>
<p>For example, your plugin needs to add a link to its settings page under the &#8216;Settings&#8217; menu. You would create a function to add an options page:</p>
<pre>
public static function add_settings_menu() { 

     add_options_page( 'Instagrate to WordPress',
                       'Instagrate to WordPress',
                        1,
                       'instagrate-to-wordpress,
                       'settings_page');

}
</pre>
<p>You would then &#8216;hook&#8217; the function &#8216;add_settings_menu&#8217; onto the <strong>admin_menu</strong> action:</p>
<pre>
add_action('admin_menu', 'add_settings_menu');
</pre>
<p>Check the <a href="http://codex.wordpress.org/Function_Reference/add_options_page">WordPress add_options_page→</a></p>
<h3>What is a Filter?</h3>
<p>A Filter is a way of changing certain text that WordPress uses before it is served up to screen or written to the database. This is very helpful for plugin and theme developers.</p>
<p>A classic example is the changing the length of the excerpt of a post. You would create a function to return a custom excerpt length:</p>
<pre>
function pvw_excerpt_length($length) {

       return 35; 

}
</pre>
<p>You would then &#8216;hook&#8217; the function &#8216;pvw_excerpt_length&#8217; onto the <strong>excerpt_length</strong> filter:</p>
<pre>
add_filter('excerpt_length', 'pvw_excerpt_length');
</pre>
<h3>Configuring the plugin</h3>
<p>The plugin is very simple to set up. First radio button group allows you to enable or disable the logging. The next part allows you to configure the output options:</p>
<p><img src="http://www.polevaultweb.com/wp-content/uploads/2012/03/hook_sniff_1.png" alt="WP Hook Sniffer Options" title="WP Hook Sniffer Options" width="272" height="229" class="frame" /></p>
<div class="clear"></div>
<p>There is a detailed description of each option <a href="http://jeffsayre.com/2010/04/29/introducing-wordpress-hook-sniffer-a-developer-plugin/">here</a>, but you really want to be selecting all to get a clear picture of what is going on. And lastly set the output location of the sniffing. Output to file for easier analysis in a text editor.</p>
<h3>The Analysis</h3>
<p>The output is comprehensive. The first section lists all the added action and filter hooks. It&#8217;s always best to check your function is being hooked into the correct function:</p>
<pre>
317: add_action( 'wp_loaded', 'instagrate_to_wordpress::auto_post_images' ) Called from: /.../wp-content/plugins/instagrate-to-wordpress/instagrate-to-wordpress.php | line #: 60 --> Time Added: 1331855684.0738
</pre>
<p>Then check out the &#8216;Action and Filter Function Array&#8217; section. This lists the array of hooks and the functions hooked into them, in order. The real crux of the analysis is the section which lists the &#8216;Action Event Firing Sequence&#8217;. This has a timestamped list of all the actions that are fired. This is very helpful in working out what&#8217;s happening where, when and why. For example, an early version of the plugin had it&#8217;s main function hooked into the <strong>loop_start</strong> so it only added new posts when the blog page was requested. However, this was poor approach and resulted in the function being called multiple times on page when widgets were in play that also used the loop.</p>
<p>After playing around with the <strong>init</strong> and <strong>wp_loaded</strong> hooks, but realised that the function was getting called on every page load, admin, post, category, everything. That&#8217;s when after trawling the WordPress API reference I came across the <strong>template_redirect</strong> hook. This is the earliest hook point during the page load that can interrogate the WordPress core to work out what type of page is being served. You can use the function <strong>is_home()</strong> to check if it&#8217;s the blog page that is being loaded and action your script accordingly.</p>
<p>The bug fix is still on going, but discovering this plugin has added another level of visibility into the inner workings of the WordPress core and is a must for any plugin or theme developer.</p>
<h3>Further reading</h3>
<p><a href="http://codex.wordpress.org/Plugin_API">WordPress Plugin API→</a><br />
<a href="http://codex.wordpress.org/Plugin_API/Action_Reference">WordPress Plugin API Reference→</a><br />
<a href="http://jeffsayre.com/2010/04/29/introducing-wordpress-hook-sniffer-a-developer-plugin/">Introducing WordPress Hook Sniffer: a Developer Plugin→</a><br />
<a href="http://jeffsayre.com/2010/04/29/wordpress-hooks-barbs-and-snags/">WordPress Hooks, Barbs, and Snags→</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.polevaultweb.com/2012/03/sniffing-the-wordpress-plugin-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Koder &#8211; Web Development App on iPad</title>
		<link>http://www.polevaultweb.com/2012/02/koder-web-development-app-on-ipad/</link>
		<comments>http://www.polevaultweb.com/2012/02/koder-web-development-app-on-ipad/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 22:40:06 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.polevaultweb.com/?p=290</guid>
		<description><![CDATA[After recently buying an iPad for some responsive website testing I started to look into good web &#8230; <a href="http://www.polevaultweb.com/2012/02/koder-web-development-app-on-ipad/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After recently buying an iPad for some responsive website testing I started to look into good web development apps for quick changes to sites or development of new ones while on the move. Doing a google search for &#8220;best web development iPad apps&#8221; I came across <a href="http://itunes.apple.com/us/app/koder/id439271237?mt=8&amp;ls=1">Koder</a>.</p>
<p>Reading some of the previous reviews and checking out the app&#8217;s site <a href="http://www.koderapp.com">www.koderapp.com</a> it looked like it did exactly what I was looking for. Local, Dropbox and FTP integration and synchronisation. Inbuilt browser and syntax highlighting in what looked like a powerful text editor for the iPad. Some negative reviews about crashing and issues with the previewing slightly put me off, however a newer version <strong>1.2.2</strong> had since been released which apparently addressed these issues.</p>
<p>So I took the plunge and downloaded it. For just £3.99 or $5.99 in America, this is a steal for the features and functionality you get. On first load I was impressed with the UI and ability to theme and style the editor&#8217;s look. The file browser sidebar is collapsible so you can edit the files in full screen mode. As I am a Coda user on the Mac it was nice to see a similar snippets area for frequently used code &#8216;clips&#8217;.</p>
<p>After playing around with some files on my FTP server I went to preview the files. I was pleasantly surprised to see Firebug as an option in the browser (I hadn&#8217;t read the features fully!) it&#8217;s great to be able to debug files on the fly like this. I&#8217;m not sure how well the touch screen works with Firebug, as you could end up clicking on the wrong thing again and again.</p>
<p>On the whole this is a featured packed app that is a great iPad solution to website changes on the fly. Of course this will not replace Coda on my MBP but that is not why I have downloaded it. If you want a strong iPad app for text editing and website changes then go get it for a small £3.99.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.polevaultweb.com/2012/02/koder-web-development-app-on-ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plugins and Support</title>
		<link>http://www.polevaultweb.com/2012/02/plugins-and-support/</link>
		<comments>http://www.polevaultweb.com/2012/02/plugins-and-support/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 10:21:25 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.polevaultweb.com/?p=285</guid>
		<description><![CDATA[So my first plugin has been out there in the WordPress wild for 5 weeks now and &#8230; <a href="http://www.polevaultweb.com/2012/02/plugins-and-support/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So my first <a href="http://wordpress.org/extend/plugins/instagrate-to-wordpress/" title="Instagrate to WordPress" target="_blank">plugin</a> has been out there in the WordPress wild for 5 weeks now and it&#8217;s been an exciting and challenging period. It&#8217;s been great to see and hear about the plugin being used. It is also brilliant to see my girlfriend use it on her blog, as the plugin was inspired by her need to integrate Instagram and WordPress in the simplest and quickest way.</p>
<p>Like any product released to the public it has had its bugs and issues. I think I underestimated its uptake and therefore was slightly unprepared for the amount of feedback and contact I had. In order to support the plugin better I have set up a <a href="http://www.polevaultweb.com/support/">support forum</a> for primarily the <a href="http://www.polevaultweb.com/support/forum/instagrate-to-wordpress-plugin/">Instagrate plugin</a>, but later for other plugins that are released.</p>
<p>The forum is built using the <a href="http://wordpress.org/extend/plugins/bbpress/" target="_blank">bbPress plugin</a> from the creators of <a href="http://wordpress.org" target="_blank">WordPress</a>. It also has been extended by the plugins <a href="http://wordpress.org/extend/plugins/bbpress-wp-tweaks/" target="_blank">bbPress WP Tweaks</a> for sidebar goodness and <a href="http://wordpress.org/extend/plugins/bbpress-new-topic-notifications/" target="_blank">bbPress New Topic Notifications</a> for email notifications.</p>
<p>I look forward to developing the plugin further in response to many great feature requests. I also intend to develop and release other plugins, so keep an eye out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.polevaultweb.com/2012/02/plugins-and-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Instagrate to WordPress &#8211; a new WordPress plugin</title>
		<link>http://www.polevaultweb.com/2012/01/a-new-wordpress-plugin/</link>
		<comments>http://www.polevaultweb.com/2012/01/a-new-wordpress-plugin/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 22:46:11 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[automatic]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[instagram]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.polevaultweb.com/?p=164</guid>
		<description><![CDATA[We have just released a new plugin for the WordPress platform &#8211; Instagrate to WordPress. Twitter has &#8230; <a href="http://www.polevaultweb.com/2012/01/a-new-wordpress-plugin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We have just released a new plugin for the WordPress platform &#8211; <a href="http://wordpress.org/extend/plugins/instagrate-to-wordpress/">Instagrate to WordPress.</a></p>
<p>Twitter has it. Facebook has it. Flickr has it. Tumblr has it. Posterous has it. Foursquare has it. Now WordPress can have Instagram integration too! This plugin brings together the wonderful image sharing tool Instagram and your WordPress blog.</p>
<p>No more manual embedding Instagram images into your posts, let this plugin take care of it all. Install the plugin. Log in to Instagram, pick your default WordPress post settings, and you are done. Take a photo or lots on Instagram. The next time someone visits your site, a new post will be created with your each photo from Instagram.</p>
<p>Check out the plugin page for more details <a title="Instagrate to WordPress plugin page" href="http://www.polevaultweb.com/plugins/instagrate-to-wordpress/">here</a> and on the <a title="WordPress Plugin Directory" href="http://wordpress.org/extend/plugins/instagrate-to-wordpress/">WordPress plugin directory</a>.</p>
<p><a class="button blue" href="http://downloads.wordpress.org/plugin/instagrate-to-wordpress.zip"> Download Plugin </a> <a class="button grey" href="http://wordpress.org/extend/plugins/instagrate-to-wordpress/"> Plugin on WordPress </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.polevaultweb.com/2012/01/a-new-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>I Love Dropbox</title>
		<link>http://www.polevaultweb.com/2011/12/i-love-dropbox/</link>
		<comments>http://www.polevaultweb.com/2011/12/i-love-dropbox/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 20:58:17 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.polevaultweb.com/?p=88</guid>
		<description><![CDATA[Dropbox is a free service that allows you to store your files in the cloud, giving you &#8230; <a href="http://www.polevaultweb.com/2011/12/i-love-dropbox/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Dropbox is a free service that allows you to store your files in the cloud, giving you easy access from mulitple computers and devices. The syncing of files is effortless and incredibly helpful.</p>
<p>I signed up back when it first came out but have only really been using it in the last six months. It is amazing. Simple and effective and most of all free. 2GB when you sign up. The paid plans seem reasonable, but for what I use it for at the moment, unnecessary. I make use of their awesome referral scheme which gives both people 250mb free extra on signup and install. Here is my referer link <a href="http://db.tt/Y1ovFX6" target="_blank">http://db.tt/Y1ovFX6</a> (of course).</p>
<p>Go, sign up, change files, sync and enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.polevaultweb.com/2011/12/i-love-dropbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dribbble Invite Giveaway &#8211; Closed</title>
		<link>http://www.polevaultweb.com/2011/12/dribbble-invite-giveaway/</link>
		<comments>http://www.polevaultweb.com/2011/12/dribbble-invite-giveaway/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 13:12:13 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[dribbble]]></category>
		<category><![CDATA[giveaway]]></category>

		<guid isPermaLink="false">http://pvw.polevaultweb.com/?p=66</guid>
		<description><![CDATA[This giveaway is now closed. Congratulations Matt Miller Dribbble is a show and tell site for designers &#8230; <a href="http://www.polevaultweb.com/2011/12/dribbble-invite-giveaway/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><div class="message">
<p>This giveaway is now closed. Congratulations <a href="http://dribbble.com/ItsMillerTime65" title="Matt Miller's Dribbble page" target="_blank">Matt Miller</a></p>
</div>
<p><a title="Dribbble" href="http://dribbble.com" target="_blank">Dribbble</a> is a show and tell site for designers and illustrators to share their work and (hopefully) receive constructive criticism and/or praise.</p>
<p>I have recently received an invite to draft someone to the community and thought I would partake in the now cliched process of giving the invite away on the basis of portfolio submissions.</p>
<p>So if you want to be in with a chance to get drafted make sure you are a prospect on the site, comment on this post with your Dribbble username and a link to your portfolio. Depending on the uptake, I will review the submissions in a couple of weeks and then dish out the draft to someone.</p>
<p>Simple as that.</p>
<p>And go!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.polevaultweb.com/2011/12/dribbble-invite-giveaway/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>New Look</title>
		<link>http://www.polevaultweb.com/2011/12/new-look/</link>
		<comments>http://www.polevaultweb.com/2011/12/new-look/#comments</comments>
		<pubDate>Sun, 25 Dec 2011 13:52:19 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://pvw.polevaultweb.com/?p=26</guid>
		<description><![CDATA[Finally Polevaultweb has a new look. A hand crafted new design and WordPress theme. This is something &#8230; <a href="http://www.polevaultweb.com/2011/12/new-look/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Finally Polevaultweb has a new look. A hand crafted new design and WordPress theme. This is something designers wrestle with constantly; the inescapable urge to produce redesign after redesign of their portfolio, with little chance of any design getting coded and released. Finally I have broken that cycle and here it is. Done.</p>
<p>For sentimental sake here is the previous version of <a href="http://archive.polevaultweb.com">polevaultweb.com</a></p>
<p>As I write this post I am satisfied with the design and happy with the execution. I only hope it stays that way.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.polevaultweb.com/2011/12/new-look/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.536 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-18 14:39:20 -->

