<?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>trumpetboy</title>
	<atom:link href="http://fullrefresh.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://fullrefresh.com</link>
	<description>Geeky musings of Bryan Davis...</description>
	<lastBuildDate>Mon, 09 May 2011 05:35:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Where to begin?</title>
		<link>http://fullrefresh.com/blog/2011/05/09/where-to-begin/</link>
		<comments>http://fullrefresh.com/blog/2011/05/09/where-to-begin/#comments</comments>
		<pubDate>Mon, 09 May 2011 05:27:19 +0000</pubDate>
		<dc:creator>Bryan</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://trumpetboy.com/?p=626</guid>
		<description><![CDATA[Been crazily busy the past few weeks &#8211; since last I posted, I&#8217;ve launched 3 big WordPress site projects! In the course of that, I&#8217;ve written a few new plugins and learnt all sorts of jQuery goodness. I was a &#8230; <a href="http://fullrefresh.com/blog/2011/05/09/where-to-begin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Been crazily busy the past few weeks &#8211; since last I posted, I&#8217;ve launched 3 big WordPress site projects! In the course of that, I&#8217;ve written a few new plugins and learnt all sorts of jQuery goodness. I was a jQuery newbie until about 3 weeks ago. I&#8217;ve been missing out for a long time!</p>
<p>I have a lot to blog in the next little while. Now the dust has settled for a bit, I might have time to spruce up this site too. Certainly going to try&#8230;</p>
<p>I still haven&#8217;t finished the <a title="Importing Artistdata events to WordPress" href="http://trumpetboy.com/blog/2011/04/04/importing-artistdata-events-to-wordpress/">Artistdata-WordPress import I mentioned recently</a>, but I have built a display plugin which has proven mighty useful. Includes a handy sidebar widget. You can see it in action on <a href="http://benallison.com" target="_blank">BenAllison.com</a>. I intend to package that up properly and get it submitted to the WP Plugin repository &#8211; hopefully this week if I have time.</p>
<p>Another useful script I figured out recently was a custom AddThis button for WP blogs. Much simpler and more effective than the AddThis official plugin I found. That&#8217;s also in action on Ben&#8217;s site and <a href="http://pittsburghjazzlive.com" target="_blank">Pittsburgh JazzLive International</a>.</p>
<p>Question is: which of these do you want to hear about first? Answers in the comments please&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://fullrefresh.com/blog/2011/05/09/where-to-begin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nested WordPress Loops!</title>
		<link>http://fullrefresh.com/blog/2011/04/22/nested-wordpress-loops/</link>
		<comments>http://fullrefresh.com/blog/2011/04/22/nested-wordpress-loops/#comments</comments>
		<pubDate>Fri, 22 Apr 2011 07:20:42 +0000</pubDate>
		<dc:creator>Bryan</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://trumpetboy.com/?p=623</guid>
		<description><![CDATA[In the course of a site project I was working on today, I found myself needing to (and successfully managing to) nest multiple WordPress queries. Talk about an &#8220;aha moment&#8221; figuring that one out! What exciting geeky stuff did you &#8230; <a href="http://fullrefresh.com/blog/2011/04/22/nested-wordpress-loops/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In the course of a site project I was working on today, I found myself needing to (and successfully managing to) nest multiple WordPress queries. Talk about an &#8220;aha moment&#8221; figuring that one out!</p>
<p>What exciting geeky stuff did you do today?</p>
]]></content:encoded>
			<wfw:commentRss>http://fullrefresh.com/blog/2011/04/22/nested-wordpress-loops/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Style WordPress Navigation Menus</title>
		<link>http://fullrefresh.com/blog/2011/04/17/how-to-style-wordpress-navigation-menus/</link>
		<comments>http://fullrefresh.com/blog/2011/04/17/how-to-style-wordpress-navigation-menus/#comments</comments>
		<pubDate>Sun, 17 Apr 2011 17:31:26 +0000</pubDate>
		<dc:creator>Bryan</dc:creator>
				<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://trumpetboy.com/?p=620</guid>
		<description><![CDATA[I wish I&#8217;d known how to add class names to WP menu items about three projects ago! &#160;]]></description>
			<content:encoded><![CDATA[<p>I wish I&#8217;d known how to <a href="http://www.wpbeginner.com/wp-themes/how-to-style-wordpress-navigation-menus/" target="_blank">add class names to WP menu items</a> about three projects ago!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://fullrefresh.com/blog/2011/04/17/how-to-style-wordpress-navigation-menus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5 Entities</title>
		<link>http://fullrefresh.com/blog/2011/04/09/html5-entities/</link>
		<comments>http://fullrefresh.com/blog/2011/04/09/html5-entities/#comments</comments>
		<pubDate>Sat, 09 Apr 2011 05:56:50 +0000</pubDate>
		<dc:creator>Bryan</dc:creator>
				<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://trumpetboy.com/?p=616</guid>
		<description><![CDATA[I noticed something interesting about HTML entities under HTML5. Namely &#8211; the &#38;plus; (for +) that I&#8217;ve been using for years no longer works in all browsers. Firefox is fine but Safari and Opera display the full entity code. I &#8230; <a href="http://fullrefresh.com/blog/2011/04/09/html5-entities/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I noticed something interesting about HTML entities under HTML5. Namely &#8211; the &amp;plus; (for +) that I&#8217;ve been using for years no longer works in all browsers. Firefox is fine but Safari and Opera display the full entity code. I found that the numeric equivalent &amp;#43; works fine. Just FYI&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://fullrefresh.com/blog/2011/04/09/html5-entities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Importing Artistdata events to WordPress</title>
		<link>http://fullrefresh.com/blog/2011/04/04/importing-artistdata-events-to-wordpress/</link>
		<comments>http://fullrefresh.com/blog/2011/04/04/importing-artistdata-events-to-wordpress/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 05:46:22 +0000</pubDate>
		<dc:creator>Bryan</dc:creator>
				<category><![CDATA[asides]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://trumpetboy.com/?p=608</guid>
		<description><![CDATA[Fascinating project on the go. A client who prefers to use Artistdata to manage his Show dates would like, in a perfect world, to fill his info into Artistdata but have his shows imported into WordPress from his Artistdata XML &#8230; <a href="http://fullrefresh.com/blog/2011/04/04/importing-artistdata-events-to-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Fascinating project on the go. A client who prefers to use <a href="http://artistdata.com">Artistdata</a> to manage his Show dates would like, in a perfect world, to fill his info into Artistdata but have his shows imported into WordPress from his Artistdata XML feed. Once in WP, they can be commented upon; hence the import, rather than just parsing the XML with PHP and displaying. It&#8217;s proving an intriguing challenge to get working and, of course, it needs to be done yesterday!</p>
<p>Has anybody reading this done this before? It&#8217;d be ideal if there was an existing plugin to take care of this. If not, I guess I&#8217;ll have to commit it to a plugin, once I figure it out&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://fullrefresh.com/blog/2011/04/04/importing-artistdata-events-to-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Formerly Known As&#8230;</title>
		<link>http://fullrefresh.com/blog/2011/04/01/formerly-known-as/</link>
		<comments>http://fullrefresh.com/blog/2011/04/01/formerly-known-as/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 17:00:59 +0000</pubDate>
		<dc:creator>Bryan</dc:creator>
				<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://trumpetboy.com/?p=602</guid>
		<description><![CDATA[In an effort to shake things up, in my own mind as much as anywhere else, I&#8217;m considering dropping the TrumpetBoy monicker under which I&#8217;ve occasionally blogged during the past several years. I&#8217;ve changed the title to my own name, &#8230; <a href="http://fullrefresh.com/blog/2011/04/01/formerly-known-as/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In an effort to shake things up, in my own mind as much as anywhere else, I&#8217;m considering dropping the TrumpetBoy monicker under which I&#8217;ve occasionally blogged during the past several years. I&#8217;ve changed the title to my own name, while I decide. I&#8217;ve reset this site&#8217;s theme to default while I&#8217;m at it. Sometimes you just need a change&#8230;</p>
<p>Will it stick? Will I ever post again? Will I release the half dozen or so WordPress plugins I&#8217;ve built lately? Will I ever get around to reposting my portfolio? Will I finally redesign the theme? I&#8217;d like to answer all these questions, and soon, but all things will probably be superseded by work&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://fullrefresh.com/blog/2011/04/01/formerly-known-as/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Move and Position The WordPress WYSIWYG Visual Editor</title>
		<link>http://fullrefresh.com/blog/2011/03/25/how-to-move-and-position-the-wordpress-wysiwyg-visual-editor/</link>
		<comments>http://fullrefresh.com/blog/2011/03/25/how-to-move-and-position-the-wordpress-wysiwyg-visual-editor/#comments</comments>
		<pubDate>Fri, 25 Mar 2011 17:31:43 +0000</pubDate>
		<dc:creator>Bryan</dc:creator>
				<category><![CDATA[asides]]></category>

		<guid isPermaLink="false">http://trumpetboy.com/?p=600</guid>
		<description><![CDATA[How to Move and Position The WordPress WYSIWYG Visual Editor A great article that came in most useful today! &#160;]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.farinspace.com/move-and-position-wordpress-visual-editor/">How to Move and Position The WordPress WYSIWYG Visual Editor</a></p>
<p>A great article that came in most useful today!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://fullrefresh.com/blog/2011/03/25/how-to-move-and-position-the-wordpress-wysiwyg-visual-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Custom Feeds</title>
		<link>http://fullrefresh.com/blog/2011/03/25/wordpress-custom-feeds/</link>
		<comments>http://fullrefresh.com/blog/2011/03/25/wordpress-custom-feeds/#comments</comments>
		<pubDate>Fri, 25 Mar 2011 15:39:12 +0000</pubDate>
		<dc:creator>Bryan</dc:creator>
				<category><![CDATA[asides]]></category>

		<guid isPermaLink="false">http://trumpetboy.com/?p=597</guid>
		<description><![CDATA[&#8220;Controlling and customising RSS feeds in WordPress&#8221; A great article today on Roger Johansson&#8217;s 456 Berea St about controlling the syndication feeds generated by WordPress. I have a feeling it&#8217;ll come in useful sometime soon! &#160;]]></description>
			<content:encoded><![CDATA[<p>&#8220;<a href="http://www.456bereastreet.com/archive/201103/controlling_and_customising_rss_feeds_in_wordpress/">Controlling and customising RSS feeds in WordPress</a>&#8221;</p>
<p>A great article today on Roger Johansson&#8217;s 456 Berea St about controlling the syndication feeds generated by WordPress. I have a feeling it&#8217;ll come in useful sometime soon!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://fullrefresh.com/blog/2011/03/25/wordpress-custom-feeds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Doc Severinsen &#8211; &#8220;Stardust&#8221;</title>
		<link>http://fullrefresh.com/blog/2011/02/20/doc-severinsen-stardust/</link>
		<comments>http://fullrefresh.com/blog/2011/02/20/doc-severinsen-stardust/#comments</comments>
		<pubDate>Sun, 20 Feb 2011 16:19:49 +0000</pubDate>
		<dc:creator>Bryan</dc:creator>
				<category><![CDATA[videolinks]]></category>

		<guid isPermaLink="false">http://trumpetboy.com/?p=595</guid>
		<description><![CDATA[I was reminded, recently, of this great performance from The Tonight Show with Johnny Carson. Doc Severinsen sounds incredible, as always, and Tommy Newsom&#8217;s arrangement blows me away! This is one of my favourite examples of how a great big &#8230; <a href="http://fullrefresh.com/blog/2011/02/20/doc-severinsen-stardust/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><object width="500" height="400"><param name="movie" value="http://www.youtube.com/e/cusms_vKpP4"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/e/cusms_vKpP4" type="application/x-shockwave-flash" width="500" height="400" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>I was reminded, recently, of this great performance from The Tonight Show with Johnny Carson. Doc Severinsen sounds incredible, as always, and Tommy Newsom&#8217;s arrangement blows me away! This is one of my favourite examples of how a great big band should sound.</p>
]]></content:encoded>
			<wfw:commentRss>http://fullrefresh.com/blog/2011/02/20/doc-severinsen-stardust/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook Tabs &#8211; autosizing iFrames</title>
		<link>http://fullrefresh.com/blog/2011/02/15/facebook-tabs-autosizing-iframes/</link>
		<comments>http://fullrefresh.com/blog/2011/02/15/facebook-tabs-autosizing-iframes/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 17:37:58 +0000</pubDate>
		<dc:creator>Bryan</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://trumpetboy.com/?p=581</guid>
		<description><![CDATA[Last week, Facebook rolled out an available upgrade of their Pages system. Included was the ability to import outside content to Page Tabs via iframes, like Application Canvas pages, rather than the previous FBML Javascript inclusion. That worked reasonably well, &#8230; <a href="http://fullrefresh.com/blog/2011/02/15/facebook-tabs-autosizing-iframes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last week, Facebook rolled out an available upgrade of their Pages system. Included was the ability to import outside content to Page Tabs via <code>iframe</code>s, like Application Canvas pages, rather than the previous FBML Javascript inclusion. That worked reasonably well, but disallowed certain page features and made it complicated when trying to dynamically generate content using Flash &#8211; audio/videos players etc. It also, and more importantly for me, severely limited the extent to which Javascript could be used in the imported content. Not cool!</p>
<p>I&#8217;ve been testing out some possibilities for Page Tabs over the weekend and kept running into a particular problem; namely setting the size of the <code>iframe</code> I was importing to so it didn&#8217;t have scrollbars within the page. It seems that the default <code>iframe</code> size is 495&#215;800 pixels &#8211; narrower than the FBML method which had a container width of 520px. The width I can live with, but I couldn&#8217;t figure out how to set <code>height: auto</code> for the container &#8211; hence the scrollbars. The Facebook Developers documentation is a hopeless mess and doesn&#8217;t seem to have been updated for the new tabs. It turns out that the method is basically the same as for previous iterations of the Facebook Javascript SDK &#8211; it&#8217;s just that the documentation didn&#8217;t give me a clue about the correct syntax required to make things happen! It took much googling to finally figure it out &#8211; hopefully this post will make that easier for others!</p>
<p>This is what worked for me. Just add it after the opening <code>body</code> tag on your imported page.</p>
<pre>&lt;div id="fb-root"&gt;&lt;/div&gt;
&lt;script type="text/javascript"&gt;
window.fbAsyncInit = function() {

FB.init({appId: '{your App ID here}',
status: true,
cookie: true,
xfbml: true});
FB.Canvas.setAutoResize();
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
}());
&lt;/script&gt;</pre>
<p>This snippet will call the include Javascript library from Facebook and then Initialise and AutoResize your container on your Facebook Page Tab. You need to add your own App ID &#8211; it&#8217;s listed among the settings when you create your application in Facebook.</p>
<p>Enjoy&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://fullrefresh.com/blog/2011/02/15/facebook-tabs-autosizing-iframes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

