<?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/"
	>

<channel>
	<title>Brian Craig</title>
	<atom:link href="http://brianacraig.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://brianacraig.com/blog</link>
	<description>A place for all of my stuff.</description>
	<pubDate>Tue, 19 May 2009 01:48:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A SmugMug &#8220;Photostream&#8221;</title>
		<link>http://brianacraig.com/blog/2009/02/05/a-smugmug-photostream/</link>
		<comments>http://brianacraig.com/blog/2009/02/05/a-smugmug-photostream/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 17:22:05 +0000</pubDate>
		<dc:creator>brian</dc:creator>
		
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://brianacraig.com/blog/?p=44</guid>
		<description><![CDATA[I love SmugMug, but I'll admit it, I've always been a bit jealous of my Flickr friends' photostreams.  It's such an easy way to show people what's new no matter where it gets categorized.

I've gone ahead and put together my own version of of the photostream using JavaScript, and I've made it available here for anyone who wants a "Photostream" for their SmugMug homepage.  I've put together my own version of a photostream for your SmugMug homepage.]]></description>
			<content:encoded><![CDATA[<p><strong>2009-05-18 Update:</strong> I&#8217;ve refreshed the code with a few new features like a loading screen and better support for some SmugMug themes other than the default.</p>
<p>I love SmugMug, but I&#8217;ll admit it, I&#8217;ve always been a bit jealous of my Flickr friends&#8217; photostreams.  It&#8217;s such an easy way to show people what&#8217;s new no matter where it gets categorized.</p>
<p>I&#8217;ve gone ahead and put together my own version of of the photostream using the SmugMug public RSS feeds and a little bit of JavaScript.  Here&#8217;s what it looks like on my homepage.</p>
<div id="attachment_52" class="wp-caption aligncenter" style="width: 560px"><a href="http://brianacraig.com/blog/wp-content/uploads/2009/02/smugmug-photostream.png"><img class="size-full wp-image-52" title="smugmug-photostream-scaled" src="http://brianacraig.com/blog/wp-content/uploads/2009/02/smugmug-photostream-scaled.png" alt="A photostream for SmugMug." width="550" height="153" /></a><p class="wp-caption-text">A photostream for SmugMug.</p></div>
<h4>Want to add one to your SmugMug Page?</h4>
<p><strong>First</strong>, download this <a href="/assets/photostream.zip" target="_blank">file</a> and extract the two files that you find inside.  (<a href="/assets/photostream.zip" target="_blank">photostream.zip</a>)</p>
<div id="attachment_48" class="wp-caption alignright" style="width: 310px"><a href="http://brianacraig.com/blog/wp-content/uploads/2009/02/smugmug-css.png"><img class="size-medium wp-image-48" title="smugmug-css" src="http://brianacraig.com/blog/wp-content/uploads/2009/02/smugmug-css-300x139.png" alt="Adding Customizations to the CSS section." width="300" height="139" /></a><p class="wp-caption-text">Adding Customizations to the CSS section.</p></div>
<p><strong>Second</strong>, copy the contents of the Style.css file into the &#8220;CSS&#8221; section of the SmugMug Control Panel -&gt; Customize -&gt; Site-Wide Customization page.</p>
<p> </p>
<p style="clear: both;"> </p>
<div id="attachment_47" class="wp-caption alignright" style="width: 310px"><a href="http://brianacraig.com/blog/wp-content/uploads/2009/02/smugmug-head.png"><img class="size-medium wp-image-47" title="smugmug-head" src="http://brianacraig.com/blog/wp-content/uploads/2009/02/smugmug-head-300x139.png" alt="Adding contents of the JavaScript file to the Head section." width="300" height="139" /></a><p class="wp-caption-text">Adding contents of the JavaScript file to the Head section.</p></div>
<p><strong>Third</strong>, open the JavaScript.js file, change value of the SmugMugNickname variable to your SmugMug nickname, and update the number of photos you want to be shown.  (Four works well with the default SmugMug theme.)  Then, copy the contents of JavaScript.js into the &#8220;Head&#8221; section of the Site-Wide Customization page.</p>
<p> </p>
<p style="clear: both;"><strong>You&#8217;re done!</strong> Click &#8220;Update&#8221; and reload your SmugMug homepage!</p>
<h4>The Caveats</h4>
<p>Out of the box, this shows four images across on the default template.  If you&#8217;re using something other than the default template, you might need to edit the value of the &#8220;margin-right&#8221; property at the very top of the CSS file.</p>
<p>If you&#8217;re using the original size thumbnails, you&#8217;ll probably want to update all of the instances of 150px in the CSS to be 100px.  From what I can tell, the SmugMug original option for the thumbnails fit within a 100 x 100 pixel box.</p>
<p>Finally, I&#8217;ve done my best to use the same styles that SmugMug uses, but I haven&#8217;t tested it on very many of their themes, so please let me know if you run into problems!</p>
]]></content:encoded>
			<wfw:commentRss>http://brianacraig.com/blog/2009/02/05/a-smugmug-photostream/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A Place for All of My Stuff</title>
		<link>http://brianacraig.com/blog/2009/01/31/a-place-for-all-of-my-stuff/</link>
		<comments>http://brianacraig.com/blog/2009/01/31/a-place-for-all-of-my-stuff/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 15:55:26 +0000</pubDate>
		<dc:creator>brian</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://brianacraig.com/blog/?p=20</guid>
		<description><![CDATA[I&#8217;ve been working on a few projects that I wanted to share, so I&#8217;ve created a place consolidate all of my online stuff.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on a few projects that I wanted to share, so I&#8217;ve created a place consolidate all of my online stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://brianacraig.com/blog/2009/01/31/a-place-for-all-of-my-stuff/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

