<?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>Technology, programming, design, and everything in-between.</description>
	<lastBuildDate>Fri, 30 Oct 2009 03:09:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>The night sky</title>
		<link>http://www.houseofding.com/2009/08/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&#8217;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&#8217;s up there. This past weekend ‘Nes, some friends and I made a trip up to my family&#8217;s cabin to do just [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;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&#8217;s up there. This past weekend ‘Nes, some friends and I made a trip up to my family&#8217;s cabin to do just that—stare at the&nbsp;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&#8217;ve been wanting to do that for so long!). A few actually turned out&nbsp;decent:</p>
<p><a href="http://www.flickr.com/photos/84315541@N00/3851104766/" onclick="javascript:pageTracker._trackPageview('/outbound/article/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&nbsp;sky</p>
<p><a href="http://www.flickr.com/photos/84315541@N00/3851235362/" onclick="javascript:pageTracker._trackPageview('/outbound/article/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&nbsp;cabin</p>
<p><a href="http://www.flickr.com/photos/84315541@N00/3850310119/" onclick="javascript:pageTracker._trackPageview('/outbound/article/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&nbsp;town</p>
<p>We spent a lot of time looking through <a href="http://www.flickr.com/photos/28912335@N07/sets/72157614512429547/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.flickr.com/photos/28912335@N07/sets/72157614512429547/');">Jeff&#8217;s telescope</a> and imagers (I&#8217;m really fighting the urge to go out an buy one!). It was so dark and clear the <a href="http://xelar2.tumblr.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/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&nbsp;exploring.</p>
<p><em>Photos in this post &copy; Christian Dinger—all rights&nbsp;reserved.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.houseofding.com/2009/08/the-night-sky/feed/</wfw:commentRss>
		<slash:comments>0</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/</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&#160;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&#8217;ve recently adopted put in place a system that allows subject matter experts to be in more control of [...]]]></description>
			<content:encoded><![CDATA[<h3>The&nbsp;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&#8217;ve recently adopted put in place a system that allows subject matter experts to be in more control of their&nbsp;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., &#8220;here&#8217;s some text; put it on the web&#8221;.  While this proved to be true, we quickly discovered that non-web folks don&#8217;t always produce valid <span class="caps">HTML</span>.  Kind of a no-brainer.  This problem seems to be the classic trade off between poor content and poor&nbsp;<span class="caps">HTML</span>.</p>
<h3>The&nbsp;solution</h3>
<p>To combat this, we&#8217;ve put in place a workflow that provides our technical team a non-intrusive way of monitoring this web content.  We&#8217;ve built a script that generates an <span class="caps">ATOM</span> 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 <span class="caps">W3C</span> validation.  This way, we can do &#8216;technical editorial&#8217; on only the pages that really need&nbsp;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 <span class="caps">ATOM</span>&nbsp;feed).</p>
<h3>recently_modified.rb</h3>
<p>Download&nbsp;<a href="/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/</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&#8217;ve unsubscribed from Valassis&#8217; mailing list.  Valassis owns and operates the RedPlum brand and is responsible for most of my unwanted&#160;mail. Now I get all of my coupony goodness from the grocery store or [...]]]></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&#8217;ve <a href="http://www.advo.com/consumersupport.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.advo.com/consumersupport.html');">unsubscribed from Valassis&#8217; mailing list</a>.  Valassis owns and operates the RedPlum brand and is responsible for most of my unwanted&nbsp;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/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.redplum.com/');">RedPlum&#8217;s&nbsp;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/</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&#160;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" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=285073074&amp;mt=8');">WordPress app</a> for the iPhone. Pretty&nbsp;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/</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&#160;dolor. Hendrerit consequat feugait [...]]]></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&nbsp;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&nbsp;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&nbsp;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>
