<?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>The House of Ding &#187; Uncategorized</title>
	<atom:link href="http://www.houseofding.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.houseofding.com</link>
	<description></description>
	<lastBuildDate>Thu, 05 Jan 2012 03:08:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Flickr developers don’t use vim</title>
		<link>http://www.houseofding.com/2011/03/flickr-developers-dont-use-vim/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=flickr-developers-dont-use-vim</link>
		<comments>http://www.houseofding.com/2011/03/flickr-developers-dont-use-vim/#comments</comments>
		<pubDate>Sun, 13 Mar 2011 20:08:40 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.houseofding.com/?p=417</guid>
		<description><![CDATA[I just discovered that you can use vim-esque (‘j’ and ‘k’) keyboard shortcuts when viewing a photostream. Neat, but backwards! Gmail shortcuts were obviously vim-inspired, ‘j’ for next, ‘k’ for previous. Flickr implemented these backwards and my vim-trained fingers keep getting confused!]]></description>
			<content:encoded><![CDATA[<p>I just discovered that you can use vim-esque (‘j’ and ‘k’) keyboard shortcuts when viewing a photostream. Neat, but backwards! Gmail shortcuts were obviously vim-inspired, ‘j’ for next, ‘k’ for previous. Flickr implemented these backwards and my vim-trained fingers keep getting confused!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.houseofding.com/2011/03/flickr-developers-dont-use-vim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bellagio, Italy</title>
		<link>http://www.houseofding.com/2010/09/bellagio-italy/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bellagio-italy</link>
		<comments>http://www.houseofding.com/2010/09/bellagio-italy/#comments</comments>
		<pubDate>Thu, 30 Sep 2010 13:35:13 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.houseofding.com/?p=331</guid>
		<description><![CDATA[Belaggio is a tiny resort village on the mountainous shores of Lake Como. There’s not a lot to do there other than exploring little shops, eating, and enjoying the view. This was a good thing. It forced us to relax a bit. Day one (September 23) This was a lazy day. We walked around the [...]]]></description>
			<content:encoded><![CDATA[<p>Belaggio is a tiny resort village on the mountainous shores of Lake Como. There’s not a lot to do there other than exploring little shops, eating, and enjoying the view. This was a good thing. It forced us to relax a bit.</p>
<h2>Day one (September 23)</h2>
<p>This was a lazy day. We walked around the town and the marina and took a lot of pictures. It started raining in the afternoon and it never let up, so we retreated to the hotel and grabbed some dinner in one of the few restaurants that decided to remain open. Really terrible food this time. You can’t win ‘em all.</p>
<h2>Day two (September 24)</h2>
<p>Our second full day in Belaggio was kind if lazy too. We took a ferry to Mennaggio, another little resort town on Lake Como, but it ended up being more of the same. We had a nice long lunch there though and there were good photo opportunities from the ferry. I had talked Nes out of a day trip to Milan and, as usual, she was probably right. We had fun anyway. </p>
<p>That night we returned to Belaggio and  revisited the restaurant we ate at our first night. This time we had black squid ink gnocchi and sausage risotto. Good stuff.</p>
<h2>Day three (September 25)</h2>
<p>On our third day our itinerary took us to Genova (via Milan) so we had a quick breakfast and headed out. The train system in Italy has remained a little mysterious, so we wanted to make sure we made all of our connections. Back to the city!</p>
<p><a href="http://www.flickr.com/photos/84315541@N00/5038272251/" title="Bellagio at sunset by cdinger, on Flickr"><img src="http://farm5.static.flickr.com/4132/5038272251_aaa1025a2f.jpg" width="500" height="374" alt="Bellagio at sunset" /></a></p>
<p class="caption">Bellagio at sunset</p>
<p><a href="http://www.flickr.com/photos/84315541@N00/5038278013/" title="Bellagio, Italy by cdinger, on Flickr"><img src="http://farm5.static.flickr.com/4133/5038278013_f05f530598.jpg" width="374" height="500" alt="Bellagio, Italy" /></a></p>
<p class="caption">Typical street in Bellagio–lots of stairs</p>
<p><a href="http://www.flickr.com/photos/84315541@N00/5038905208/" title="Menaggio, Italy by cdinger, on Flickr"><img src="http://farm5.static.flickr.com/4105/5038905208_7b609c87fb.jpg" width="500" height="374" alt="Menaggio, Italy" /></a></p>
<p class="caption">Menaggio and its lakeside promenade; the IPhone’s HDR setting sometimes does strange things, but it’s often the only way to make photos work at all.</p>
<p><a href="http://www.flickr.com/photos/84315541@N00/5038909374/" title="Italian Alps from Bellagio by cdinger, on Flickr"><img src="http://farm5.static.flickr.com/4132/5038909374_917c23bc53.jpg" width="500" height="374" alt="Italian Alps from Bellagio" /></a></p>
<p class="caption">Italian Alps from Bellagio</p>
]]></content:encoded>
			<wfw:commentRss>http://www.houseofding.com/2010/09/bellagio-italy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The night sky</title>
		<link>http://www.houseofding.com/2009/08/the-night-sky/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-night-sky</link>
		<comments>http://www.houseofding.com/2009/08/the-night-sky/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 21:40:31 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[astronomy]]></category>
		<category><![CDATA[cabin]]></category>
		<category><![CDATA[photography]]></category>

		<guid isPermaLink="false">http://www.houseofding.com/?p=242</guid>
		<description><![CDATA[It’s been so long since I stared for hours at a starry sky and realized how truly insignificant we are. The light pollution and distractions of the city make it difficult to appreciate what’s up there. This past weekend ‘Nes, some friends and I made a trip up to my family’s cabin to do just [...]]]></description>
			<content:encoded><![CDATA[<p>It’s been so long since I stared for hours at a starry sky and realized how truly insignificant we are. The light pollution and distractions of the city make it difficult to appreciate what’s up there. This past weekend ‘Nes, some friends and I made a trip up to my family’s cabin to do just that—stare at the sky. </p>
<p>The weather was perfectly clear and uncharacteristically calm and I got the chance to take some long exposures of the stars (I’ve been wanting to do that for so long!). A few actually turned out decent:</p>
<p><a href="http://www.flickr.com/photos/84315541@N00/3851104766/" title="A starry night at the cabin by cdinger, on Flickr"><img src="http://farm4.static.flickr.com/3442/3851104766_6f3123a328.jpg" width="500" height="333" alt="A starry night at the cabin" /></a><br />
Facing south; Milky Way visible through the center of the sky</p>
<p><a href="http://www.flickr.com/photos/84315541@N00/3851235362/" title="Jupiter and the milky way by cdinger, on Flickr"><img src="http://farm4.static.flickr.com/3489/3851235362_bf6ff9153b.jpg" width="500" height="358" alt="Jupiter and the milky way" /></a><br />
South again at a wider-angle; Jupiter is that bright spot above the cabin</p>
<p><a href="http://www.flickr.com/photos/84315541@N00/3850310119/" title="Stars over Lake Traverse by cdinger, on Flickr"><img src="http://farm4.static.flickr.com/3425/3850310119_07f3ac5ed0.jpg" width="500" height="327" alt="Stars over Lake Traverse" /></a><br />
Looking north over Lake Traverse; light pollution from a small town</p>
<p>We spent a lot of time looking through <a href="http://www.flickr.com/photos/28912335@N07/sets/72157614512429547/">Jeff’s telescope</a> and imagers (I’m really fighting the urge to go out an buy one!). It was so dark and clear the <a href="http://xelar2.tumblr.com/">Alex</a> was even able to pick out the Andromeda galaxy with his naked eye. I really hope to return soon and do some more exploring.</p>
<p><em>Photos in this post © Christian Dinger—all rights reserved.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.houseofding.com/2009/08/the-night-sky/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ATOM/RSS feed for recently modified Dreamweaver pages</title>
		<link>http://www.houseofding.com/2008/09/rss-feed-for-recently-modified-dreamweaver-pages/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss-feed-for-recently-modified-dreamweaver-pages</link>
		<comments>http://www.houseofding.com/2008/09/rss-feed-for-recently-modified-dreamweaver-pages/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 23:30:08 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.houseofding.com/?p=14</guid>
		<description><![CDATA[The problem Where I work, there is a certain enormous website that we maintain. Traditionally, content has moved from subject matter experts to the editors and then to the web team. In the spirit of simplifying processes, we’ve recently adopted put in place a system that allows subject matter experts to be in more control [...]]]></description>
			<content:encoded><![CDATA[<h3>The problem</h3>
<p>Where I work, there is a certain enormous website that we maintain.  Traditionally, content has moved from subject matter experts to the editors and then to the web team.  In the spirit of simplifying processes, we’ve recently adopted put in place a system that allows subject matter experts to be in more control of their content.</p>
<p>Initially, as with most CMSs, we expected this to dramatically reduce the about of repetitive work imposed on the web professionals, e.g., “here’s some text; put it on the web”.  While this proved to be true, we quickly discovered that non-web folks don’t always produce valid HTML.  Kind of a no-brainer.  This problem seems to be the classic trade off between poor content and poor HTML.</p>
<h3>The solution</h3>
<p>To combat this, we’ve put in place a workflow that provides our technical team a non-intrusive way of monitoring this web content.  We’ve built a script that generates an ATOM feed of recently modified pages on our web sites.  This feed tells us who modified which page, when, and whether or not the page passes a W3C validation.  This way, we can do ‘technical editorial’ on only the pages that really need it.</p>
<p>We run this every 30 minutes via a cron job.  The output is routed to a recently_modified.xml file in the website (this is the ATOM feed).</p>
<h3>recently_modified.rb</h3>
<p>Download <a href="http://www.houseofding.com/recently_modified.rb">recently_modified.rb</a></p>
<pre>require 'rubygems'
require 'xmlsimple'
require 'erb'
require 'hpricot'
require 'open-uri'

@base_path = File.expand_path($0).gsub(/lib\/recently_modified.rb/, '')
@base_url = "http://example.com/"

template = %q{&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;feed xmlns="http://www.w3.org/2005/Atom"&gt;
	&lt;title&gt;Recently modified example.com pages&lt;/title&gt;
 	&lt;link href="http://example.com/lib/recently_modified.xml" rel="self"/&gt;
 	&lt;updated&gt;&lt;%= Time.now %&gt;&lt;/updated&gt;
 	&lt;author&gt;
  	&lt;name&gt;Web Team&lt;/name&gt;
   	&lt;email&gt;webteam@example.com&lt;/email&gt;
	&lt;/author&gt;
	&lt;id&gt;urn:uuid:60a76c80-d1e9-01d9-b91d-0003939e0af6&lt;/id&gt;
	&lt;% @files.each do |file| %&gt;
	&lt;%
	  file.gsub!(@base_path, '')
	  info = get_modified_info(file)
	  url = @base_url + file.gsub(@base_path, '')
	%&gt;
	&lt;entry&gt;
      &lt;title&gt;/&lt;%= file %&gt;&lt;/title&gt;
      &lt;link href="http://example.com/&lt;%= file %&gt;"/&gt;
      &lt;updated&gt;&lt;%= Time.at(info['date'].to_i) %&gt;&lt;/updated&gt;
      &lt;summary&gt;Modified by &lt;%= info['name']%&gt; (&lt;%= info['email'] %&gt;)
      at &lt;%= Time.at(info['date'].to_i) %&gt;.  This file has &lt;%= is_valid?(url) ? "passed" : "failed" %&gt;
      W3C markup validation: http://validator.w3.org/check?uri=&lt;%= url %&gt;.&lt;/summary&gt;
   &lt;/entry&gt;
	&lt;% end %&gt;
&lt;/feed&gt;
}

def is_valid?(url)
  doc = Hpricot(open("http://validator.w3.org/check?uri=#{url}"))
  return (doc/"title").inner_html.gsub(/.*\[/mis, '').gsub(/\].*/mis, '') == "Valid"
end

def get_modified_info(file)
  if file.index('/')
    info_file = @base_path + file.gsub(/\/[^\/]*$/, '') + '/_notes/' + file.gsub(/^.*\//, '').strip + '.mno'
  else
    info_file = @base_path + '_notes/' + file.gsub(/^.*\//, '').strip + '.mno'
  end

  data = XmlSimple.xml_in(info_file)
  ret = Hash.new

  data['infoitem'].each do |info|
    ret['name'] = info['value'] if info['key'] == 'ccLastSubmitter'
    ret['email'] = info['value'] if info['key'] == 'ccLastSubmitterEmail'
    ret['date'] = info['value'] if info['key'] == 'ccLastPublishDate'
  end

  return ret
end

@files = `find #{@base_path} -mmin -60 | grep .html$`
puts ERB.new(template).result</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.houseofding.com/2008/09/rss-feed-for-recently-modified-dreamweaver-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opt-out!</title>
		<link>http://www.houseofding.com/2008/08/opt-out/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=opt-out</link>
		<comments>http://www.houseofding.com/2008/08/opt-out/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 23:01:00 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.houseofding.com/?p=10</guid>
		<description><![CDATA[In an attempt to reduce the stacks of direct mail advertising and coupons that accumulate in my kitchen between recycling days, I’ve unsubscribed from Valassis’ mailing list.  Valassis owns and operates the RedPlum brand and is responsible for most of my unwanted mail. Now I get all of my coupony goodness from the grocery store [...]]]></description>
			<content:encoded><![CDATA[<p>In an attempt to reduce the stacks of direct mail advertising and coupons that accumulate in my kitchen between recycling days, I’ve <a href="http://www.advo.com/consumersupport.html">unsubscribed from Valassis’ mailing list</a>.  Valassis owns and operates the RedPlum brand and is responsible for most of my unwanted mail.</p>
<p>Now I get all of my coupony goodness from the grocery store or online—not in my mailbox.  If your really miss your RedPlum coupons, you can even get them online at <a href="http://www.redplum.com/">RedPlum’s website</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.houseofding.com/2008/08/opt-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress for iPhone</title>
		<link>http://www.houseofding.com/2008/07/woedpress-for-iphone/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=woedpress-for-iphone</link>
		<comments>http://www.houseofding.com/2008/07/woedpress-for-iphone/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 19:36:02 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.houseofding.com/2008/07/woedpress-for-iphone/</guid>
		<description><![CDATA[Just testing out the WordPress app for the iPhone. Pretty cool.]]></description>
			<content:encoded><![CDATA[<p>Just testing out the <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=285073074&amp;mt=8">WordPress app</a> for the iPhone. Pretty cool.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.houseofding.com/2008/07/woedpress-for-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ahoy hoy!</title>
		<link>http://www.houseofding.com/2008/07/hello-world/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hello-world</link>
		<comments>http://www.houseofding.com/2008/07/hello-world/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 21:35:32 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.houseofding.com/?p=1</guid>
		<description><![CDATA[Illum tation nulla iriure dolore iusto facilisis praesent dignissim. Suscipit nulla, dolore magna te nulla duis diam praesent eros in lorem in et, lobortis tation dolor dolor facilisis, ut commodo enim. Vero, euismod augue ad exerci autem velit eum ex nisl consectetuer adipiscing volutpat eros vel quis in vel te quis suscipit dolor. Hendrerit consequat [...]]]></description>
			<content:encoded><![CDATA[<p>Illum tation nulla iriure dolore iusto facilisis praesent dignissim. Suscipit nulla, dolore magna te nulla duis diam praesent eros in lorem in et, lobortis tation dolor dolor facilisis, ut commodo enim. Vero, euismod augue ad exerci autem velit eum ex nisl consectetuer adipiscing volutpat eros vel quis in vel te quis suscipit dolor.</p>
<p>Hendrerit consequat feugait quis nostrud, qui wisi duis at exerci dolor et dolore dolor velit ut nostrud amet zzril ipsum facilisis ut vel blandit illum at. Ea feugiat elit feugiat ipsum, in duis ex minim nisl luptatum duis iusto wisi odio zzril. Autem praesent consequat molestie nisl nulla luptatum vulputate ea hendrerit. Ut nostrud vero ut volutpat minim vel, enim molestie accumsan in nonummy ad lorem qui feugait nulla duis delenit iusto molestie eu magna, illum sit.</p>
<p>Iriure te vel feugait lobortis ut ullamcorper suscipit luptatum veniam feugait. Nulla qui vulputate odio aliquip in tation illum ullamcorper, sed, ut eum et minim, feugiat ullamcorper dolore. Iriure vero erat, nibh vero consectetuer adipiscing eum duis, iusto augue duis, ea blandit et in dolore tincidunt esse, eum tincidunt ea cons.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.houseofding.com/2008/07/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

