<?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>Vanderbrew</title>
	<atom:link href="http://vanderbrew.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://vanderbrew.com/blog</link>
	<description>The shared bits</description>
	<lastBuildDate>Sun, 04 Apr 2010 17:04:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Bacon grease</title>
		<link>http://vanderbrew.com/blog/2010/04/04/bacon-grease/</link>
		<comments>http://vanderbrew.com/blog/2010/04/04/bacon-grease/#comments</comments>
		<pubDate>Sun, 04 Apr 2010 16:56:23 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Food]]></category>
		<category><![CDATA[bacon]]></category>
		<category><![CDATA[cooking]]></category>
		<category><![CDATA[reuse]]></category>

		<guid isPermaLink="false">http://vanderbrew.com/blog/?p=290</guid>
		<description><![CDATA[Mmmmm&#8230;..bacon grease&#8230; We&#8217;ve been saving bacon grease for a while now and using it in cooking. There is something very satisfying about taking something that you might otherwise throw away and re-using it. We use it frequently in place of butter for greasing a pan to be used on the stovetop. Most recently for pancakes [...]]]></description>
			<content:encoded><![CDATA[<p>Mmmmm&#8230;..bacon grease&#8230;</p>
<p>We&#8217;ve been saving bacon grease for a while now and using it in cooking. There is something very satisfying about taking something that you might otherwise throw away and re-using it. We use it frequently in place of butter for greasing a pan to be used on the stovetop. Most recently for pancakes yesterday morning.</p>
<p>The grease keeps very well in a small glass container in the refrigerator covered with plastic and we simply add more grease to the container whenever we cook bacon on the stove.</p>
<p>We find that the grease provides a wonderful depth of flavor to whatever we cook with it and gives a hint of the smell of bacon.</p>
<p>BTW &#8211; this was typed on my new iPad&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://vanderbrew.com/blog/2010/04/04/bacon-grease/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Project Euler and Math</title>
		<link>http://vanderbrew.com/blog/2010/02/23/project-euler-and-math/</link>
		<comments>http://vanderbrew.com/blog/2010/02/23/project-euler-and-math/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 15:10:21 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[euler]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://vanderbrew.com/blog/?p=284</guid>
		<description><![CDATA[I&#8217;ve always had the sense that there was a lot of math out there that I didn&#8217;t know. There is a great deal of graphics math and crypto math and others that I&#8217;ve never felt I had much reason to explore &#8211; but I recently realized that there&#8217;s value in looking into some of this [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always had the sense that there was a lot of math out there that I didn&#8217;t know. There is a great deal of graphics math and crypto math and others that I&#8217;ve never felt I had much reason to explore &#8211; but I recently realized that there&#8217;s value in looking into some of this other math.</p>
<p>I&#8217;ve known about <a href="http://projecteuler.net/">Project Euler</a> for a while now but only recently did I start trying to solve the problems. My first approach to any problem was just to try to brute force it (I&#8217;ve got a speedy modern computer that can do math well, how long can it take to solve these?) but surprisingly it doesn&#8217;t always work. I find myself having to go out and do research. Learn about techniques and algorithms for solving math problems and apply them in my own code.</p>
<p>It&#8217;s been a wonderfully refreshing lesson in thinking outside my own box. I&#8217;ve found that I don&#8217;t always know the best solution. There are algorithm tools out there that some incredibly smart people have deduced/devised and learning of and about them is very good for my development both professionally and personally.</p>
]]></content:encoded>
			<wfw:commentRss>http://vanderbrew.com/blog/2010/02/23/project-euler-and-math/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add To Yojimbo with AppleScript</title>
		<link>http://vanderbrew.com/blog/2010/02/18/add-to-yojimbo-with-applescript/</link>
		<comments>http://vanderbrew.com/blog/2010/02/18/add-to-yojimbo-with-applescript/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 06:17:20 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[netnewswire]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[yojimbo]]></category>

		<guid isPermaLink="false">http://vanderbrew.com/blog/?p=278</guid>
		<description><![CDATA[I&#8217;ve started using Yojimbo more as an Anything Bucket and I wanted an easy way to get stuff into it. I found several AppleScripts and they were all good, but they were for individual applications. I try to minimize how much I have to think about routine stuff &#8211; I&#8217;d much rather have code that [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve started using Yojimbo more as an <a href="http://shawnblanc.net/2009/09/yojimbo-and-anything-buckets/">Anything Bucket</a> and I wanted an easy way to get stuff into it. I found several AppleScripts and they were all good, but they were for individual applications. I try to minimize how much I have to think about routine stuff &#8211; I&#8217;d much rather have code that just &#8220;does the right thing&#8221; so I set out to meld the scripts into a single one.</p>
<p>I&#8217;m quite happy with the results. I&#8217;ve got a single shortcut setup (⌘⌥Y) in <a href="http://www.red-sweater.com/fastscripts/">FastScripts</a> and I can use it in any of the apps that I need to capture from (Mail, Safari, NetNewsWire).</p>
<p><a href="/blog/wp-content/uploads/2010/02/Add%20To%20Yojimbo.scpt.zip">Direct download link</a></p>
<div class="codecolorer-container applescript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:600px;height:300px;"><div class="applescript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">(*<br />
<br />
Add To Yojimbo Script<br />
<br />
Matt Vanderpol <br />
1.0 - 2010-02-18<br />
<br />
Collects tag info and creates a new web archive or note in Yojimbo. Can cancel from tag<br />
collection screen to cancel action.<br />
<br />
Currently works from:<br />
&nbsp; NetNewsWire - creates web archive<br />
&nbsp; Mail - creates note<br />
&nbsp; Safari - creates web archive<br />
&nbsp; <br />
Notifies via growsl on success or failure.<br />
<br />
Based on work by:<br />
&nbsp; &nbsp; John Gruber (Create Yojimbo Bookmark From NetNewsWire - http://daringfireball.net/misc/2007/05/nnw-to-yojimbo-bookmark)<br />
&nbsp; &nbsp; Jom Correia (Create Yojimbo Note From Apple Mail - http://www.listsearch.com/Yojimbo/Thread/index.lasso?342#2169)<br />
&nbsp; &nbsp; Jim DeVona (Bookmark in Yojimbo - http://anoved.net/software/bookmark-in-yojimbo/)<br />
&nbsp; &nbsp; <br />
<br />
*)</span><br />
<br />
<span style="color: #ff0033; font-weight: bold;">global</span> gScript, gApplication<br />
<br />
<span style="color: #808080; font-style: italic;">-- From: http://daringfireball.net/2009/01/applescripts_targetting_safari_or_webkit</span><br />
<span style="color: #ff0033; font-weight: bold;">on</span> GetCurrentApp<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;System Events&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _app <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #0066ff;">item</span> <span style="color: #000000;">1</span> <span style="color: #ff0033; font-weight: bold;">of</span> <span style="color: #000000;">&#40;</span><span style="color: #ff0033;">every</span> process <span style="color: #ff0033;">whose</span> frontmost <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #0066ff;">true</span><span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">return</span> <span style="color: #0066ff;">name</span> <span style="color: #ff0033; font-weight: bold;">of</span> _app<br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
<span style="color: #ff0033; font-weight: bold;">end</span> GetCurrentApp<br />
<br />
<span style="color: #ff0033; font-weight: bold;">on</span> GetTags<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">-- prompt for tags</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _tags <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _dlog2 <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #0066ff;">display dialog</span> <span style="color: #009900;">&quot;Set tags (if any) for web archive:&quot;</span> <span style="color: #0066ff;">default answer</span> ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;&quot;</span> default button <span style="color: #000000;">2</span> cancel button <span style="color: #000000;">1</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _action2 <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #ff0033;">the</span> button returned <span style="color: #ff0033; font-weight: bold;">of</span> _dlog2<br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">if</span> _action2 <span style="color: #000000;">=</span> <span style="color: #009900;">&quot;&quot;</span> <span style="color: #ff0033;">or</span> _action2 <span style="color: #000000;">=</span> <span style="color: #009900;">&quot;Cancel&quot;</span> <span style="color: #ff0033; font-weight: bold;">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;GrowlHelperApp&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; notify <span style="color: #ff0033; font-weight: bold;">with</span> <span style="color: #0066ff;">name</span> ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;Failure Notification&quot;</span> title ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;Cancel Add&quot;</span> description <span style="color: #009900;">&quot;User cancelled adding item to Yojimbo&quot;</span> <span style="color: #0066ff;">application</span> <span style="color: #0066ff;">name</span> gScript<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">error</span> <span style="color: #0066ff;">number</span> <span style="color: #000000;">-</span><span style="color: #000000;">128</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _answer <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #0066ff;">text</span> returned <span style="color: #ff0033; font-weight: bold;">of</span> _dlog2<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">if</span> _answer <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #ff0033;">not</span> <span style="color: #009900;">&quot;&quot;</span> <span style="color: #ff0033; font-weight: bold;">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> AppleScript<span style="">'</span>s <span style="color: #0066ff;">text</span> <span style="color: #0066ff;">item</span> <span style="color: #0066ff;">delimiters</span> <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #009900;">&quot;, &quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _tags <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #0066ff;">text</span> <span style="color: #0066ff;">items</span> <span style="color: #ff0033; font-weight: bold;">of</span> _answer<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">return</span> _tags<br />
<span style="color: #ff0033; font-weight: bold;">end</span> GetTags<br />
<br />
<span style="color: #ff0033; font-weight: bold;">on</span> GenerateMessageText<span style="color: #000000;">&#40;</span>m<span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Mail&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _sender <span style="color: #ff0033; font-weight: bold;">to</span> sender <span style="color: #ff0033; font-weight: bold;">of</span> m<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _subject <span style="color: #ff0033; font-weight: bold;">to</span> subject <span style="color: #ff0033; font-weight: bold;">of</span> m<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _date <span style="color: #ff0033; font-weight: bold;">to</span> date received <span style="color: #ff0033; font-weight: bold;">of</span> m <span style="color: #ff0033;">as</span> <span style="color: #0066ff;">string</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _contents <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #0066ff;">content</span> <span style="color: #ff0033; font-weight: bold;">of</span> m<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _messageString <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #009900;">&quot;From:&quot;</span> <span style="color: #000000;">&amp;</span> <span style="color: #0066ff;">tab</span> <span style="color: #000000;">&amp;</span> _sender <span style="color: #000000;">&amp;</span> <span style="color: #ff0033; font-weight: bold;">return</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _messageString <span style="color: #ff0033; font-weight: bold;">to</span> _messageString <span style="color: #000000;">&amp;</span> <span style="color: #009900;">&quot;Subject:&quot;</span> <span style="color: #000000;">&amp;</span> <span style="color: #0066ff;">tab</span> <span style="color: #000000;">&amp;</span> _subject <span style="color: #000000;">&amp;</span> <span style="color: #ff0033; font-weight: bold;">return</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _messageString <span style="color: #ff0033; font-weight: bold;">to</span> _messageString <span style="color: #000000;">&amp;</span> <span style="color: #009900;">&quot;Date:&quot;</span> <span style="color: #000000;">&amp;</span> <span style="color: #0066ff;">tab</span> <span style="color: #000000;">&amp;</span> _date <span style="color: #000000;">&amp;</span> <span style="color: #ff0033; font-weight: bold;">return</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _messageString <span style="color: #ff0033; font-weight: bold;">to</span> _messageString <span style="color: #000000;">&amp;</span> <span style="color: #ff0033; font-weight: bold;">return</span> <span style="color: #000000;">&amp;</span> <span style="color: #ff0033; font-weight: bold;">return</span> <span style="color: #000000;">&amp;</span> _contents<br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
<span style="color: #ff0033; font-weight: bold;">end</span> GenerateMessageText<br />
<br />
<span style="color: #ff0033; font-weight: bold;">on</span> AddWebArchive<span style="color: #000000;">&#40;</span>h_URL, _tags, _title<span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Yojimbo&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _new_item <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #000000;">&#40;</span><span style="color: #0066ff;">make</span> <span style="color: #0066ff;">new</span> web archive <span style="color: #0066ff;">item</span> <span style="color: #ff0033; font-weight: bold;">with</span> <span style="color: #0066ff;">contents</span> h_URL<span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; add tags _tags <span style="color: #ff0033; font-weight: bold;">to</span> _new_item<br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;GrowlHelperApp&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; notify <span style="color: #ff0033; font-weight: bold;">with</span> <span style="color: #0066ff;">name</span> ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;Success Notification&quot;</span> title ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;Import Success&quot;</span> description <span style="color: #009900;">&quot;Successfully imported <span style="color: #000000; font-weight: bold;">\&quot;</span>&quot;</span> <span style="color: #000000;">&amp;</span> _title <span style="color: #000000;">&amp;</span> ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;<span style="color: #000000; font-weight: bold;">\&quot;</span> to Yojimbo&quot;</span> <span style="color: #0066ff;">application</span> <span style="color: #0066ff;">name</span> gScript<br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
<span style="color: #ff0033; font-weight: bold;">end</span> AddWebArchive<br />
<br />
<span style="color: #ff0033; font-weight: bold;">on</span> AddNote<span style="color: #000000;">&#40;</span>_contents, _name, _tags<span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">-- create the new note</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Yojimbo&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _new_item <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #000000;">&#40;</span><span style="color: #0066ff;">make</span> <span style="color: #0066ff;">new</span> note <span style="color: #0066ff;">item</span> <span style="color: #ff0033; font-weight: bold;">with</span> <span style="color: #0066ff;">properties</span> <span style="color: #000000;">&#123;</span><span style="color: #0066ff;">contents</span>:_contents, <span style="color: #0066ff;">name</span>:_name<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; add tags _tags <span style="color: #ff0033; font-weight: bold;">to</span> _new_item<br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;GrowlHelperApp&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; notify <span style="color: #ff0033; font-weight: bold;">with</span> <span style="color: #0066ff;">name</span> ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;Success Notification&quot;</span> title ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;Note Created&quot;</span> description ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;&quot;</span> <span style="color: #000000;">&amp;</span> _name <span style="color: #000000;">&amp;</span> <span style="color: #009900;">&quot;&quot;</span> <span style="color: #0066ff;">application</span> <span style="color: #0066ff;">name</span> gScript<br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
<span style="color: #ff0033; font-weight: bold;">end</span> AddNote<br />
<br />
<span style="color: #ff0033; font-weight: bold;">on</span> <span style="color: #0066ff;">run</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> gApplication <span style="color: #ff0033; font-weight: bold;">to</span> GetCurrentApp<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> gScript <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #009900;">&quot;Add To Yojimbo Script&quot;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;GrowlHelperApp&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> <span style="color: #ff0033;">the</span> allNotificationsList <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #000000;">&#123;</span><span style="color: #009900;">&quot;Success Notification&quot;</span>, <span style="color: #009900;">&quot;Failure Notification&quot;</span><span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> <span style="color: #ff0033;">the</span> enabledNotificationsList <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #000000;">&#123;</span><span style="color: #009900;">&quot;Success Notification&quot;</span>, <span style="color: #009900;">&quot;Failure Notification&quot;</span><span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; register <span style="color: #ff0033;">as</span> <span style="color: #0066ff;">application</span> ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gScript all notifications allNotificationsList ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; default notifications enabledNotificationsList ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; icon <span style="color: #ff0033; font-weight: bold;">of</span> <span style="color: #0066ff;">application</span> gApplication<br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">if</span> gApplication <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #009900;">&quot;NetNewsWire&quot;</span> <span style="color: #ff0033; font-weight: bold;">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _tags <span style="color: #ff0033; font-weight: bold;">to</span> GetTags<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;NetNewsWire&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">try</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span><span style="color: #ff0033;">index</span> <span style="color: #ff0033; font-weight: bold;">of</span> selected <span style="color: #0066ff;">tab</span> <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #ff0033;">not</span> <span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span> <span style="color: #ff0033; font-weight: bold;">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _tabNum <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #ff0033;">index</span> <span style="color: #ff0033; font-weight: bold;">of</span> selected <span style="color: #0066ff;">tab</span> <span style="color: #000000;">+</span> <span style="color: #000000;">1</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _tabURLs <span style="color: #ff0033; font-weight: bold;">to</span> URLs <span style="color: #ff0033; font-weight: bold;">of</span> tabs<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> h_URL <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #000000;">&#40;</span><span style="color: #ff0033; font-weight: bold;">get</span> <span style="color: #0066ff;">item</span> _tabNum <span style="color: #ff0033; font-weight: bold;">of</span> _tabURLs<span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _tabTitles <span style="color: #ff0033; font-weight: bold;">to</span> titles <span style="color: #ff0033; font-weight: bold;">of</span> tabs<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _newItemTitle <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #000000;">&#40;</span><span style="color: #ff0033; font-weight: bold;">get</span> <span style="color: #0066ff;">item</span> _tabNum <span style="color: #ff0033; font-weight: bold;">of</span> _tabTitles<span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">my</span> AddWebArchive<span style="color: #000000;">&#40;</span>h_URL, _tags, _newItemTitle<span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">else</span> <span style="color: #ff0033; font-weight: bold;">if</span> <span style="color: #0066ff;">exists</span> selectedHeadline <span style="color: #ff0033; font-weight: bold;">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> h_URL <span style="color: #ff0033; font-weight: bold;">to</span> URL <span style="color: #ff0033; font-weight: bold;">of</span> selectedHeadline<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _newItemTitle <span style="color: #ff0033; font-weight: bold;">to</span> title <span style="color: #ff0033; font-weight: bold;">of</span> selectedHeadline<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">my</span> AddWebArchive<span style="color: #000000;">&#40;</span>h_URL, _tags, _newItemTitle<span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">error</span> <span style="color: #009900;">&quot;No headline is selected.&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">on</span> <span style="color: #ff0033; font-weight: bold;">error</span> error_message <span style="color: #0066ff;">number</span> error_number<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;GrowlHelperApp&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; notify <span style="color: #ff0033; font-weight: bold;">with</span> <span style="color: #0066ff;">name</span> ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;Failure Notification&quot;</span> title ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;Import Failure&quot;</span> description <span style="color: #009900;">&quot;Failed to import <span style="color: #000000; font-weight: bold;">\&quot;</span>&quot;</span> <span style="color: #000000;">&amp;</span> newItemTitle <span style="color: #000000;">&amp;</span> ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;<span style="color: #000000; font-weight: bold;">\&quot;</span> to Yojimbo. &nbsp;Error: &quot;</span> <span style="color: #000000;">&amp;</span> error_message <span style="color: #0066ff;">application</span> <span style="color: #0066ff;">name</span> gScript<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">try</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">else</span> <span style="color: #ff0033; font-weight: bold;">if</span> gApplication <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #009900;">&quot;Mail&quot;</span> <span style="color: #ff0033; font-weight: bold;">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _tags <span style="color: #ff0033; font-weight: bold;">to</span> GetTags<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Mail&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> message viewer <span style="color: #000000;">1</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _messageList <span style="color: #ff0033; font-weight: bold;">to</span> selected messages<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _name <span style="color: #ff0033; font-weight: bold;">to</span> subject <span style="color: #ff0033; font-weight: bold;">of</span> <span style="color: #0066ff;">item</span> <span style="color: #000000;">1</span> <span style="color: #ff0033; font-weight: bold;">of</span> _messageList<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _contents <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #009900;">&quot;&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">repeat</span> <span style="color: #ff0033; font-weight: bold;">with</span> m <span style="color: #ff0033; font-weight: bold;">in</span> _messageList<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _contents <span style="color: #ff0033; font-weight: bold;">to</span> _contents <span style="color: #000000;">&amp;</span> <span style="color: #ff0033; font-weight: bold;">my</span> GenerateMessageText<span style="color: #000000;">&#40;</span>m<span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">repeat</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">my</span> AddNote<span style="color: #000000;">&#40;</span>_contents, _name, _tags<span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">else</span> <span style="color: #ff0033; font-weight: bold;">if</span> gApplication <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #009900;">&quot;Safari&quot;</span> <span style="color: #ff0033; font-weight: bold;">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _tags <span style="color: #ff0033; font-weight: bold;">to</span> GetTags<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Safari&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">-- identify the page to create web archive for, if any&nbsp; </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">try</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> h_URL <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #ff0033;">the</span> URL <span style="color: #ff0033; font-weight: bold;">of</span> <span style="color: #0066ff;">document</span> <span style="color: #000000;">1</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _pageTitle <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #ff0033;">the</span> <span style="color: #0066ff;">name</span> <span style="color: #ff0033; font-weight: bold;">of</span> <span style="color: #0066ff;">document</span> <span style="color: #000000;">1</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">on</span> <span style="color: #ff0033; font-weight: bold;">error</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">return</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">try</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">my</span> AddWebArchive<span style="color: #000000;">&#40;</span>h_URL, _tags, _pageTitle<span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;GrowlHelperApp&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; notify <span style="color: #ff0033; font-weight: bold;">with</span> <span style="color: #0066ff;">name</span> ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;Failure Notification&quot;</span> title ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;Unknown Application&quot;</span> description <span style="color: #009900;">&quot;Don't know how to add to Yojimbo from &quot;</span> <span style="color: #000000;">&amp;</span> gApplication ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066ff;">application</span> <span style="color: #0066ff;">name</span> gScript<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span><br />
&nbsp; &nbsp; <br />
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #0066ff;">run</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://vanderbrew.com/blog/2010/02/18/add-to-yojimbo-with-applescript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>View in Readability AppleScript</title>
		<link>http://vanderbrew.com/blog/2010/02/15/view-in-readability-applescript/</link>
		<comments>http://vanderbrew.com/blog/2010/02/15/view-in-readability-applescript/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 21:05:37 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[readability]]></category>

		<guid isPermaLink="false">http://vanderbrew.com/blog/?p=272</guid>
		<description><![CDATA[I&#8217;ve been using Readability for a while now and it&#8217;s an amazingly cool tool. I highly recommend it for anyone who reads anything online. In the interest of making things easier and more streamlined I&#8217;ve written an AppleScript that can load pages in Readability from various sources. The script is smart and &#8220;does the right [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://lab.arc90.com/experiments/readability/">Readability</a> for a while now and it&#8217;s an amazingly cool tool. I highly recommend it for anyone who reads anything online.</p>
<p>In the interest of making things easier and more streamlined I&#8217;ve written an AppleScript that can load pages in Readability from various sources. The script is smart and &#8220;does the right thing&#8221; based on which app you&#8217;re running. I&#8217;ve only had a need for it from Safari, NetNewsWire and Yojimbo so that&#8217;s all it&#8217;s setup for but it should be easy to extend if you want.</p>
<p>I&#8217;ve got the script hooked up to a shortcut using <a href="http://www.red-sweater.com/fastscripts/">FastScripts</a>.</p>
<p><a href="/blog/wp-content/uploads/2010/02/View%20in%20Readability.scpt.zip">Direct download link</a></p>
<p>You will likely want to update the <code class="codecolorer applescript default"><span class="applescript">JS</span></code> variable to match your own Readability styling.</p>
<div class="codecolorer-container applescript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:600px;height:300px;"><div class="applescript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">(*<br />
<br />
View in Readability Script<br />
<br />
Matt Vanderpol<br />
1.0 - February 15, 2010<br />
<br />
Based largely on Adam Bell's code from http://macscripter.net/viewtopic.php?id=29702<br />
<br />
Supports Safari, NetNewsWire and Yojimbo (bookmarks and web archives. Shows the current<br />
web &quot;document&quot; with Readability (http://lab.arc90.com/experiments/readability/).<br />
<br />
Yojimbo needs to open the URL in Safari because I don't see a way to run JS inside Yojimbo.<br />
<br />
*)</span><br />
<br />
<span style="color: #ff0033; font-weight: bold;">global</span> gScript, gApplication<br />
<span style="color: #ff0033; font-weight: bold;">set</span> gScript <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #009900;">&quot;View in Readability Script&quot;</span><br />
<span style="color: #ff0033; font-weight: bold;">set</span> gApplication <span style="color: #ff0033; font-weight: bold;">to</span> GetCurrentApp<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />
<br />
<span style="color: #808080; font-style: italic;">-- From: http://daringfireball.net/2009/01/applescripts_targetting_safari_or_webkit</span><br />
<span style="color: #ff0033; font-weight: bold;">on</span> GetCurrentApp<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;System Events&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _currentApp <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #0066ff;">item</span> <span style="color: #000000;">1</span> <span style="color: #ff0033; font-weight: bold;">of</span> <span style="color: #000000;">&#40;</span><span style="color: #ff0033;">every</span> process <span style="color: #ff0033;">whose</span> frontmost <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #0066ff;">true</span><span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">return</span> <span style="color: #0066ff;">name</span> <span style="color: #ff0033; font-weight: bold;">of</span> _currentApp<br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
<span style="color: #ff0033; font-weight: bold;">end</span> GetCurrentApp<br />
<br />
<span style="color: #ff0033; font-weight: bold;">set</span> JS <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #009900;">&quot;readStyle='style-newspaper';<br />
&nbsp; &nbsp; readSize='size-medium';<br />
&nbsp; &nbsp; readMargin='margin-wide';<br />
&nbsp; &nbsp; _readability_script=document.createElement('SCRIPT');<br />
&nbsp; &nbsp; _readability_script.type='text/javascript';<br />
&nbsp; &nbsp; _readability_script.src='http://lab.arc90.com/experiments/readability/js/readability.js?x='+(Math.random());<br />
&nbsp; &nbsp; document.getElementsByTagName('head')[0].appendChild(_readability_script);<br />
&nbsp; &nbsp; _readability_css=document.createElement('LINK');<br />
&nbsp; &nbsp; _readability_css.rel='stylesheet';<br />
&nbsp; &nbsp; _readability_css.href='http://lab.arc90.com/experiments/readability/css/readability.css';<br />
&nbsp; &nbsp; _readability_css.type='text/css';<br />
&nbsp; &nbsp; _readability_css.media='all';<br />
&nbsp; &nbsp; document.getElementsByTagName('head')[0].appendChild(_readability_css);<br />
&nbsp; &nbsp; _readability_print_css=document.createElement('LINK');<br />
&nbsp; &nbsp; _readability_print_css.rel='stylesheet';<br />
&nbsp; &nbsp; _readability_print_css.href='http://lab.arc90.com/experiments/readability/css/readability-print.css';<br />
&nbsp; &nbsp; _readability_print_css.media='print';<br />
&nbsp; &nbsp; _readability_print_css.type='text/css';<br />
&nbsp; &nbsp; document.getElementsByTagName('head')[0].appendChild(_readability_print_css);&quot;</span><br />
<br />
<br />
<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;GrowlHelperApp&quot;</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> <span style="color: #ff0033;">the</span> allNotificationsList <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #000000;">&#123;</span><span style="color: #009900;">&quot;Success Notification&quot;</span>, <span style="color: #009900;">&quot;Failure Notification&quot;</span><span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> <span style="color: #ff0033;">the</span> enabledNotificationsList <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #000000;">&#123;</span><span style="color: #009900;">&quot;Success Notification&quot;</span>, <span style="color: #009900;">&quot;Failure Notification&quot;</span><span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; register <span style="color: #ff0033;">as</span> <span style="color: #0066ff;">application</span> ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; gScript all notifications allNotificationsList ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; default notifications enabledNotificationsList ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; icon <span style="color: #ff0033; font-weight: bold;">of</span> <span style="color: #0066ff;">application</span> gApplication<br />
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
<br />
<span style="color: #ff0033; font-weight: bold;">if</span> gApplication <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #009900;">&quot;Safari&quot;</span> <span style="color: #ff0033; font-weight: bold;">then</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">document</span> <span style="color: #000000;">1</span> <span style="color: #ff0033; font-weight: bold;">of</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Safari&quot;</span> <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #0066ff;">do JavaScript</span> JS<br />
<span style="color: #ff0033; font-weight: bold;">else</span> <span style="color: #ff0033; font-weight: bold;">if</span> gApplication <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #009900;">&quot;NetNewsWire&quot;</span> <span style="color: #ff0033; font-weight: bold;">then</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">document</span> <span style="color: #000000;">1</span> <span style="color: #ff0033; font-weight: bold;">of</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;NetNewsWire&quot;</span> <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #0066ff;">do JavaScript</span> JS<br />
<span style="color: #ff0033; font-weight: bold;">else</span> <span style="color: #ff0033; font-weight: bold;">if</span> gApplication <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #009900;">&quot;Yojimbo&quot;</span> <span style="color: #ff0033; font-weight: bold;">then</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Yojimbo&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">-- Can't use JS in Yojimbo so need to open in Safari and run script again</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _selection <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #0066ff;">selection</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">if</span> length <span style="color: #ff0033; font-weight: bold;">of</span> _selection <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #000000;">0</span> <span style="color: #ff0033; font-weight: bold;">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;GrowlHelperApp&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; notify <span style="color: #ff0033; font-weight: bold;">with</span> <span style="color: #0066ff;">name</span> ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;Failure Notification&quot;</span> title ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;Nothing Selected&quot;</span> description <span style="color: #009900;">&quot;No item selected to view in Readability from &quot;</span> <span style="color: #000000;">&amp;</span> gApplication ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066ff;">application</span> <span style="color: #0066ff;">name</span> gScript<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">return</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _item <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #0066ff;">item</span> <span style="color: #000000;">1</span> <span style="color: #ff0033; font-weight: bold;">of</span> _selection<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> h_URL <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #009900;">&quot;&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">try</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> h_URL <span style="color: #ff0033; font-weight: bold;">to</span> source URL <span style="color: #ff0033; font-weight: bold;">of</span> _item<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">on</span> <span style="color: #ff0033; font-weight: bold;">error</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">try</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> h_URL <span style="color: #ff0033; font-weight: bold;">to</span> location <span style="color: #ff0033; font-weight: bold;">of</span> _item<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">try</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">try</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">if</span> h_URL <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #ff0033;">not</span> <span style="color: #009900;">&quot;&quot;</span> <span style="color: #ff0033; font-weight: bold;">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Safari&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066ff;">activate</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066ff;">make</span> <span style="color: #0066ff;">new</span> <span style="color: #0066ff;">document</span> <span style="color: #ff0033; font-weight: bold;">with</span> <span style="color: #0066ff;">properties</span> <span style="color: #000000;">&#123;</span>URL:h_URL<span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">-- Now that document web page is open, call this script again to use readability</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; delay <span style="color: #000000;">2</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> theUNIXPath <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #0066ff;">path to</span> <span style="color: #0066ff;">me</span> <span style="color: #ff0033;">as</span> <span style="color: #0066ff;">alias</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> thePosixPath <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #000000;">&#40;</span><span style="color: #0066ff;">POSIX path</span> <span style="color: #ff0033; font-weight: bold;">of</span> theUNIXPath<span style="color: #000000;">&#41;</span> <span style="color: #ff0033;">as</span> <span style="color: #0066ff;">string</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066ff;">run</span> <span style="color: #ff0033; font-weight: bold;">script</span> <span style="color: #000000;">&#40;</span>thePosixPath<span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;GrowlHelperApp&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; notify <span style="color: #ff0033; font-weight: bold;">with</span> <span style="color: #0066ff;">name</span> ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;Failure Notification&quot;</span> title ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;No URL&quot;</span> description <span style="color: #009900;">&quot;Can't find URL to view in Readability from &quot;</span> <span style="color: #000000;">&amp;</span> gApplication ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066ff;">application</span> <span style="color: #0066ff;">name</span> gScript<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
<span style="color: #ff0033; font-weight: bold;">else</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;GrowlHelperApp&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; notify <span style="color: #ff0033; font-weight: bold;">with</span> <span style="color: #0066ff;">name</span> ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;Failure Notification&quot;</span> title ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&quot;Unknown Application&quot;</span> description <span style="color: #009900;">&quot;Don't know how to view in Readability from &quot;</span> <span style="color: #000000;">&amp;</span> gApplication ¬<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066ff;">application</span> <span style="color: #0066ff;">name</span> gScript<br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://vanderbrew.com/blog/2010/02/15/view-in-readability-applescript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Current Application with AppleScript</title>
		<link>http://vanderbrew.com/blog/2010/02/15/get-current-application-with-applescript/</link>
		<comments>http://vanderbrew.com/blog/2010/02/15/get-current-application-with-applescript/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 19:40:28 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[applescript]]></category>

		<guid isPermaLink="false">http://vanderbrew.com/blog/?p=264</guid>
		<description><![CDATA[My recent applescript development required different action based on what application was currently active. Surprisingly, there is no good result for this from google. I pulled this out of a Daring Fireball code example (Writing AppleScripts That Dynamically Target Either Safari or WebKit) and am showcasing it so that others who are looking for the [...]]]></description>
			<content:encoded><![CDATA[<p>My recent applescript development required different action based on what application was currently active. Surprisingly, there is no good result for this from google. I pulled this out of a <a href="http://daringfireball.net">Daring Fireball</a> code example (<a href="http://daringfireball.net/2009/01/applescripts_targetting_safari_or_webkit">Writing AppleScripts That Dynamically Target Either Safari or WebKit</a>) and am showcasing it so that others who are looking for the functionality can find it without too much effort.</p>
<div class="codecolorer-container applescript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:600px;"><div class="applescript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #ff0033; font-weight: bold;">on</span> GetCurrentApp<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;System Events&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">set</span> _app <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #0066ff;">item</span> <span style="color: #000000;">1</span> <span style="color: #ff0033; font-weight: bold;">of</span> <span style="color: #000000;">&#40;</span><span style="color: #ff0033;">every</span> process <span style="color: #ff0033;">whose</span> frontmost <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #0066ff;">true</span><span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">return</span> <span style="color: #0066ff;">name</span> <span style="color: #ff0033; font-weight: bold;">of</span> _app<br />
&nbsp; &nbsp; <span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span><br />
<span style="color: #ff0033; font-weight: bold;">end</span> GetCurrentApp<br />
<br />
<span style="color: #ff0033; font-weight: bold;">set</span> _app <span style="color: #ff0033; font-weight: bold;">to</span> GetCurrentApp<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://vanderbrew.com/blog/2010/02/15/get-current-application-with-applescript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rebooting the blog</title>
		<link>http://vanderbrew.com/blog/2010/02/15/rebooting-the-blog/</link>
		<comments>http://vanderbrew.com/blog/2010/02/15/rebooting-the-blog/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 19:05:02 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[consumption]]></category>
		<category><![CDATA[creation]]></category>

		<guid isPermaLink="false">http://vanderbrew.com/blog/?p=260</guid>
		<description><![CDATA[After letting it languish for well over a year, I&#8217;ve decided to return to the blog. I&#8217;ve realized that my life is marked by consumption. I&#8217;m subscribed to hundreds of blogs, I listen to audio books, I watch movies and videos online &#8211; but it&#8217;s all passive. There&#8217;s no synthesis. There&#8217;s no creation. I know [...]]]></description>
			<content:encoded><![CDATA[<p>After letting it languish for well over a year, I&#8217;ve decided to return to the blog. I&#8217;ve realized that my life is marked by consumption. I&#8217;m subscribed to hundreds of blogs, I listen to audio books, I watch movies and videos online &#8211; but it&#8217;s all passive. There&#8217;s no synthesis. There&#8217;s no creation.</p>
<p>I know that I&#8217;ve got thoughts and ideas. I know we&#8217;re doing neat things around the house. I know that I&#8217;ve got things to share. I just need to make the effort to do more than simply consume.</p>
<p>With all that in mind, I&#8217;ve upgraded WordPress and installed a new, cleaner theme. I also really stripped down the categories because I felt like they were just too unwieldy. If you find something broken, let me know and I&#8217;ll see what I can do to fix it.</p>
<p>So, keep an eye on this space &#8211; the blog will be more than it was before and the focus will be changing. There will be less of the simple, one-off, un-related posts and more actual content. I&#8217;ve been working on some AppleScripts to help me keep track of stuff that I&#8217;ll be sharing and I&#8217;m going to talk more about what we&#8217;re doing around the house, in addition to internet technology thoughts at large.</p>
]]></content:encoded>
			<wfw:commentRss>http://vanderbrew.com/blog/2010/02/15/rebooting-the-blog/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Life After (Fake) Death</title>
		<link>http://vanderbrew.com/blog/2009/07/19/life-after-fake-death/</link>
		<comments>http://vanderbrew.com/blog/2009/07/19/life-after-fake-death/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 06:39:21 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vanderbrew.com/blog/?p=254</guid>
		<description><![CDATA[When I try to remember how I got here I keep coming back to the day I faked my own death to avoid a meeting with my lawyer.]]></description>
			<content:encoded><![CDATA[<p>When I try to remember how I got here I keep coming back to the day I faked my own death to avoid a meeting with my lawyer.</p>
]]></content:encoded>
			<wfw:commentRss>http://vanderbrew.com/blog/2009/07/19/life-after-fake-death/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prince of Fun and Hijinks</title>
		<link>http://vanderbrew.com/blog/2009/07/13/prince-of-fun-and-hijinks/</link>
		<comments>http://vanderbrew.com/blog/2009/07/13/prince-of-fun-and-hijinks/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 05:44:43 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vanderbrew.com/blog/?p=253</guid>
		<description><![CDATA[Frederico, Prince of Fun and Hijinks, knew one thing and knew it well &#8211; ordinary times called for extraordinary measures.]]></description>
			<content:encoded><![CDATA[<p>Frederico, Prince of Fun and Hijinks, knew one thing and knew it well &#8211; ordinary times called for extraordinary measures. </p>
]]></content:encoded>
			<wfw:commentRss>http://vanderbrew.com/blog/2009/07/13/prince-of-fun-and-hijinks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Teaching Grammar</title>
		<link>http://vanderbrew.com/blog/2009/02/01/teaching-grammar/</link>
		<comments>http://vanderbrew.com/blog/2009/02/01/teaching-grammar/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 03:54:27 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vanderbrew.com/blog/?p=252</guid>
		<description><![CDATA[Gregory has really been picking up words lately and his sentence structure is really growing. On the whole, he&#8217;s doing well, he does stumble a bit over irregular verbs. Gregory: Daddy&#8217;s belt was hanged up! Me: No, Gregory, Daddy&#8217;s belt was hung up. Belts are hung, people are hanged.]]></description>
			<content:encoded><![CDATA[<p>Gregory has really been picking up words lately and his sentence structure is really growing. On the whole, he&#8217;s doing well, he does stumble a bit over irregular verbs.</p>
<p><b>Gregory:</b> <i>Daddy&#8217;s belt was hanged up!</i><br />
<b>Me:</b> <i>No, Gregory, Daddy&#8217;s belt was hung up. Belts are hung, people are hanged.</i></p>
]]></content:encoded>
			<wfw:commentRss>http://vanderbrew.com/blog/2009/02/01/teaching-grammar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Long Dark Coffee-Time of the Blog</title>
		<link>http://vanderbrew.com/blog/2008/10/15/the-long-dark-coffee-time-of-the-blog/</link>
		<comments>http://vanderbrew.com/blog/2008/10/15/the-long-dark-coffee-time-of-the-blog/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 07:10:45 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vanderbrew.com/blog/?p=251</guid>
		<description><![CDATA[Quiet has it been here for a few months. Busy have I been. Busy with the house Busy with work. Busy with life. Why is it coffee-time? Because coffee is the drink of choice. It&#8217;s where the caffeine grows. What does this all mean? The quiet is broken. Some words are coming. May they disjointed [...]]]></description>
			<content:encoded><![CDATA[<p>Quiet has it been here for a few months.<br />
Busy have I been.<br />
Busy with the <a href="http://vanderbrew.com/house/">house</a><br />
Busy with work.<br />
Busy with life.</p>
<p>Why is it coffee-time? Because coffee is the drink of choice. It&#8217;s where the caffeine grows.</p>
<p>What does this all mean?</p>
<p>The quiet is broken. Some words are coming. May they disjointed though be.</p>
<p>Now, sleep.</p>
]]></content:encoded>
			<wfw:commentRss>http://vanderbrew.com/blog/2008/10/15/the-long-dark-coffee-time-of-the-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
