<?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>davidnunez.com &#187; 365experiments</title>
	<atom:link href="http://www.davidnunez.com/tag/365experiments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davidnunez.com</link>
	<description>David Nunez lives, wonders, tinkers and builds in Boston.</description>
	<lastBuildDate>Mon, 12 Jul 2010 15:51:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Iggy Loves his Bio-Mist</title>
		<link>http://www.davidnunez.com/2007/03/28/iggy-loves-his-bio-mist/</link>
		<comments>http://www.davidnunez.com/2007/03/28/iggy-loves-his-bio-mist/#comments</comments>
		<pubDate>Wed, 28 Mar 2007 16:16:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[365experiments]]></category>
		<category><![CDATA[iggy]]></category>
		<category><![CDATA[iguana]]></category>
		<category><![CDATA[joy]]></category>
		<category><![CDATA[Live and Observe]]></category>

		<guid isPermaLink="false">http://www.davidnunez.com/2007/03/28/iggy-loves-his-bio-mist/</guid>
		<description><![CDATA[This is my iguana (about 10&#34; Snout to Vent, so about 2 years old) after he was spritzed with Bio-Mist, an aloe vera and cactus juice concoction that helps his skin. He&#8217;s molting now, so this is a look of pure joy. Sometimes I wish I was an iguana.]]></description>
			<content:encoded><![CDATA[<p>
<img src="http://www.davidnunez.com/wp-content/uploads/2007/07/assets-2007-3-28-iggy-bio-mist-2007-03-28.jpg" width="300" border="1" hspace="4" vspace="4" alt=" Assets 2007 3 28 Iggy Bio Mist 2007 03 28" />
</p>

<p>This is my iguana (about 10&quot; Snout to Vent, so about 2 years old) after he was spritzed with Bio-Mist, an aloe vera and cactus juice concoction that helps his skin.  He&#8217;s molting now, so this is a look of pure joy.</p>

<p>Sometimes I wish I was an iguana.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidnunez.com/2007/03/28/iggy-loves-his-bio-mist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Applescript to transform mail.app message to GTDAlt inbox item</title>
		<link>http://www.davidnunez.com/2007/03/25/applescript-to-transform-mailapp-message-to-gtdalt-inbox-item/</link>
		<comments>http://www.davidnunez.com/2007/03/25/applescript-to-transform-mailapp-message-to-gtdalt-inbox-item/#comments</comments>
		<pubDate>Mon, 26 Mar 2007 03:56:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[365experiments]]></category>
		<category><![CDATA[gtd]]></category>
		<category><![CDATA[GTDAlt]]></category>
		<category><![CDATA[Mail.app]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[Tinker]]></category>

		<guid isPermaLink="false">http://www.davidnunez.com/2007/03/25/applescript-to-transform-mailapp-message-to-gtdalt-inbox-item/</guid>
		<description><![CDATA[I&#8217;m currently using GTDAlt in TextMate as my GTD processing system. It&#8217;s a text based system, so it&#8217;s upgradable, portable, etc. Through the TextMate bundle framework, you get some nice collating of contexts, etc. GTDAlt does rely on some proprietary syntax, but it&#8217;s pretty basic and easily parsable. There is rudimentary support for iterating through [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently using <a href="http://skiadas.dcostanet.net/afterthought/2006/06/25/details-on-the-gtdalt-bundle/">GTDAlt</a> in <a href="http://macromates.com/">TextMate</a> as my GTD processing system.  It&#8217;s a text based system, so it&#8217;s upgradable, portable, etc.</p>

<p>Through the <a href="http://macromates.com/">TextMate</a> bundle framework, you get some nice collating of contexts, etc.</p>

<p><a href="http://skiadas.dcostanet.net/afterthought/2006/06/25/details-on-the-gtdalt-bundle/">GTDAlt</a> does rely on some proprietary syntax, but it&#8217;s pretty basic and easily parsable.</p>

<p>There is rudimentary support for iterating through items in an inbox.txt file to generate GTD items.</p>

<p>I created an applescript which will take the selected message in Mail.app and create a properly formated item, using the subject and message: url (you must have <a href="http://www.indev.ca/MailTags.html">MailTags</a> installed so the message: protocol is recognized).</p>

<p>This means I&#8217;ll get action items with links to specific messages in my GTD system.</p>

<p>I partner this with a <a href="http://www.indev.ca/MailActOn.html">Mail Act-On</a> rule&#8230; so when I hit ctrl-1, a <a href="http://skiadas.dcostanet.net/afterthought/2006/06/25/details-on-the-gtdalt-bundle/">GTDAlt</a> item gets created, the message is tagged &#8220;@action&#8221;, and it&#8217;s sent to my one archive folder in one step.</p>

<p>In true GTD fashion, this should only be used for messages that take longer than 2 minutes to respond to.  In reality, I need to get better at firing off quick responses to things (or liberally using the delete key).  Otherwise, it&#8217;s likely I&#8217;ll use this to just procrastinate email items away into a black hole.</p>

<p><a href="/assets/2007/3/26/Mail_to_TMGTD.scpt">Download the script</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidnunez.com/2007/03/25/applescript-to-transform-mailapp-message-to-gtdalt-inbox-item/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Applescript that archives NetNewsWire post to DEVONThink Pro</title>
		<link>http://www.davidnunez.com/2007/03/24/applescript-that-archives-netnewswire-post-to-devonthink-pro/</link>
		<comments>http://www.davidnunez.com/2007/03/24/applescript-that-archives-netnewswire-post-to-devonthink-pro/#comments</comments>
		<pubDate>Sat, 24 Mar 2007 17:01:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[365experiments]]></category>
		<category><![CDATA[Applescript]]></category>
		<category><![CDATA[DEVONThink]]></category>
		<category><![CDATA[netnewswire]]></category>
		<category><![CDATA[Tinker]]></category>

		<guid isPermaLink="false">http://www.davidnunez.com/2007/03/24/applescript-that-archives-netnewswire-post-to-devonthink-pro/</guid>
		<description><![CDATA[As a refinement to an earlier script I posted, I made some modifications to my suggested news reading workflow. The applescript in this post will take the currently selected article in NetNewsWire, prompt the user for tags about the article, and then create a web archive of the article in DEVONThink. It attaches the referral [...]]]></description>
			<content:encoded><![CDATA[<p>As a refinement to an earlier script I <a href="/2007/3/21/applescript-to-import-nnw-smart-folder-into-yojimbo">posted</a>, I made some modifications to my suggested news reading workflow.</p>

<p>The applescript in this post will take the currently selected article in NetNewsWire, prompt the user for tags about the article, and then create a web archive of the article in <a href="http://www.devon-technologies.com/">DEVONThink</a>.</p>

<p>It attaches the referral URL to the <a href="http://www.devon-technologies.com/">DEVONThink</a> record, so when it creates the archive, it will actually fetch the article from the original source (ex. del.icio.us posts get the original article)</p>

<p>Since <a href="http://www.devon-technologies.com/">DEVONThink</a> doesn&#8217;t really do tags, I&#8217;ve co-opted the &#8220;comments&#8221; field for this purpose.</p>

<p>I&#8217;ve attached this script to a hotkey using Red Sweater&#8217;s <a href="http://www.red-sweater.com/fastscripts/">FastScripts</a>  (cmd-ctr-option-/)   Of course, a more hipster way to do this might be to consider <a href="http://docs.blacktree.com/quicksilver/triggers">quicksilver triggers</a>.</p>

<p>Here is the workflow: </p>

<ol>
<li>Quickly scan headlines in NetNewsWire and do CMD-CTR-OPTION-/ when I see a headline I&#8217;d like to possibly include in future research</li>
<li>In the prompt that appears, type a few keywords/tags that describe the content and hit &#8220;return&#8221;</li>
<li>Later on, when doing research or work around a topic, I can use <a href="http://www.devon-technologies.com/">DEVONThink</a> confidently knowing that it will dig up at least <em>some</em> interesting connections between articles I saved.</li>
</ol>

<p><em>Note: if the article is something that I think I would want to read immediately, I can either tag it with &#8220;@read&#8221; or hit return in NNW to pop it up in a browser window.  In the latter case, it&#8217;s critical that I seperate the *scanning* mode from the *reading* mode.  I accomplish this by setting a timer (say 15 minutes per day) where I&#8217;m just scanning headlines for read-immediates or archivable articles and another timer for my reading stuff.  From my browser, I can go on to create archives if I determine it&#8217;s worth saving.</em></p>

<p>Things to do</p>

<ul>
<li>add a growl notification saying &#8220;successful import&#8221;</li>
<li>in <a href="http://www.devon-technologies.com/">DEVONThink</a>, use the @read tag somehow to generate a reading list or printable digest of articles</li>
<li>write a looping script that will handle the few hundred articles marked as &#8220;flagged&#8221; in NNW by archiving them. <em>What would the tags be here?</em></li>
</ul>

<p><pre>
tell application "NetNewsWire"
    try
        if exists selectedHeadline then
            set h_comment to text returned of (display dialog "Enter Tags:" default answer "")
            set this_headline to selectedHeadline
            set h_mdate to get current date
            set h_title to title of this_headline
            set h_note to description of this_headline
            if exists date published of this_headline then
                set h_when to date published of this_headline
            else
                set h_when to date arrived of this_headline
            end if
            set h_URL to URL of this_headline
            set h_note to "&lt;html>&lt;body></p>

<p>&lt;</p>

<p>p><a href="\&quot;&quot;"></pre></p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidnunez.com/2007/03/24/applescript-that-archives-netnewswire-post-to-devonthink-pro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dorkbot-sxsw wrap-up</title>
		<link>http://www.davidnunez.com/2007/03/23/dorkbot-sxsw-wrap-up/</link>
		<comments>http://www.davidnunez.com/2007/03/23/dorkbot-sxsw-wrap-up/#comments</comments>
		<pubDate>Fri, 23 Mar 2007 19:16:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[365experiments]]></category>
		<category><![CDATA[Build]]></category>

		<guid isPermaLink="false">http://www.davidnunez.com/2007/03/23/dorkbot-sxsw-wrap-up/</guid>
		<description><![CDATA[I just posted the dorkbot6 wrapup.]]></description>
			<content:encoded><![CDATA[<p>I just posted the <a href="http://dorkbotaustin.org/2007/03/23/dorkbot6-wrapup/">dorkbot6 wrapup</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidnunez.com/2007/03/23/dorkbot-sxsw-wrap-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Displaying tags on mephisto</title>
		<link>http://www.davidnunez.com/2007/03/21/displaying-tags-on-mephisto/</link>
		<comments>http://www.davidnunez.com/2007/03/21/displaying-tags-on-mephisto/#comments</comments>
		<pubDate>Thu, 22 Mar 2007 05:06:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[365experiments]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[tagging]]></category>
		<category><![CDATA[Tinker]]></category>

		<guid isPermaLink="false">http://www.davidnunez.com/2007/03/21/displaying-tags-on-mephisto/</guid>
		<description><![CDATA[The mephisto liquid tags, drops, and filters are not very well documented. You have to look in the source code (specifically drop_filters.rb) to discover what&#8217;s available. I was able to add rendering of tags/keywords by using: {{article &#124; linked_tag_list}} in my template.]]></description>
			<content:encoded><![CDATA[<p>The mephisto liquid tags, drops, and filters are not very well documented.  You have to look in the source code (specifically drop_filters.rb) to discover what&#8217;s available.</p>

<p>I was able to add rendering of tags/keywords by using:</p>

<p><pre><code>{{article | linked_tag_list}}
</code></pre></p>

<p>in my template.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidnunez.com/2007/03/21/displaying-tags-on-mephisto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Applescript to import NNW smart folder into Yojimbo</title>
		<link>http://www.davidnunez.com/2007/03/20/applescript-to-import-nnw-smart-folder-into-yojimbo/</link>
		<comments>http://www.davidnunez.com/2007/03/20/applescript-to-import-nnw-smart-folder-into-yojimbo/#comments</comments>
		<pubDate>Wed, 21 Mar 2007 03:14:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[365experiments]]></category>
		<category><![CDATA[Build]]></category>
		<category><![CDATA[netnewswire]]></category>
		<category><![CDATA[yojimbo]]></category>

		<guid isPermaLink="false">http://www.davidnunez.com/2007/03/20/applescript-to-import-nnw-smart-folder-into-yojimbo/</guid>
		<description><![CDATA[Today I modified this script which facilitates Yojimbo importing from NetNewsWire I&#8217;ve set up a smart folder in NetNewsWire that grabs the latest 50 flagged headlines from any feed. I needed this script because I had a technorati watch feed for dorkbot and I wanted to collect blog mentions to send around. I was just [...]]]></description>
			<content:encoded><![CDATA[<p>Today I modified <a href="http://samuraicoder.net/netnewswire_to_yojimbo_integration">this script</a> which facilitates <a href="http://www.barebones.com/products/yojimbo/index.shtml">Yojimbo</a> importing from <a href="http://www.newsgator.com/NGOLProduct.aspx?ProdID=NetNewsWire">NetNewsWire</a></p>

<p>I&#8217;ve set up a smart folder in <a href="http://www.newsgator.com/NGOLProduct.aspx?ProdID=NetNewsWire">NetNewsWire</a> that grabs the latest 50 flagged headlines from any feed.</p>

<p>I needed this script because I had a <a href="http://www.technorati.com">technorati</a> watch feed for dorkbot and I wanted to collect blog mentions to send around.  I was just flagging articles that mentioned dorkbot-austin and wanted to export a list of bookmarks.</p>

<p>With this, the workflow is now:</p>

<ol>
<li>Quickly scan headlines in NetNewsWire and do CMD-Shift-L to flag interesting content.</li>
<li>Run this script on the smart folder (this creates a web archive in <a href="http://www.barebones.com/products/yojimbo/index.shtml">Yojimbo</a> of each of these articles and removes the flag on the headline in NetNewsWire)</li>
<li>Over time, spend a few minutes working down the list of archived articles in Yojimbo and tag/delete them further as necessary.</li>
</ol>

<p>Potential problem: This makes it really easy to procrastinate making decisions on what to read and what to do with what I read.  Following this strategy will lead to a large pile of unsorted links which I&#8217;ll very likely will never find the time to sort through.  </p>

<p>I think <a href="http://www.devon-technologies.com/products/devonthink">DEVONThink</a> does a better job of scanning and grouping incoming pieces of text.  </p>

<p>I should probably rewrite this to send flagged content directly to DEVONThink.  Then, instead of queueing up a long list of articles to read, I&#8217;ll let DEVONThink suggest articles for me to read as I do research.  Anything that I think I&#8217;d want to read immediately I could tag with &#8220;@Read&#8221; or something similar.</p>

<p><pre>
    tell application "NetNewsWire"
        try
            set userInput to text returned of (display dialog "Enter Tag:" default answer "untagged")
            set oldDelims to AppleScript's text item delimiters
            set AppleScript's text item delimiters to {", ", ","}
            set h_tags to text items of userInput
            set AppleScript's text item delimiters to oldDelims
            if (index of selected tab is not 0) then
                set tabnum to index of selected tab + 1
                set taburls to URLs of tabs
                set h_URL to (get item tabnum of taburls)
                set tabtitles to titles of tabs
                set newItemTitle to (get item tabnum of tabtitles)
                tell application "Yojimbo"
                    --set newItem to make new bookmark item with properties {name:newItemTitle, location:h_URL}
                    set newItem to make new web archive item with contents h_URL
                    add tags h_tags to newItem
                    set flagged of newItem to true
                    set isFlagged of h to false
                end tell
            else if exists selectedSubscription then
                repeat with h in headlines of selectedSubscription
                    set h_URL to URL of h
                    set h_title to title of h
                    set isFlagged of h to false
                    tell application "Yojimbo"
                        --set newItem to make new bookmark item with properties {name:h_title, location:h_URL}
                        set newItem to make new web archive item with contents h_URL
                        add tags h_tags to newItem
                        set flagged of newItem to true
                    end tell
                end repeat
            else
                error "No headline is selected."
            end if
        on error error_message number error_number
            if the error_number is not -128 then
                try
                    display alert "NetNewsWire" message error_message as warning
                on error number error_number
                    if error_number is -1708 then display dialog error_message buttons {"OK"} default button 1
                end try
            end if
        end try
    end tell
</pre></p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidnunez.com/2007/03/20/applescript-to-import-nnw-smart-folder-into-yojimbo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hack to get all posts with Textmate/Blogging Fetch</title>
		<link>http://www.davidnunez.com/2007/03/19/hack-to-get-all-posts-with-textmateblogging-fetch/</link>
		<comments>http://www.davidnunez.com/2007/03/19/hack-to-get-all-posts-with-textmateblogging-fetch/#comments</comments>
		<pubDate>Tue, 20 Mar 2007 01:24:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[365experiments]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[Tinker]]></category>

		<guid isPermaLink="false">http://www.davidnunez.com/2007/03/19/hack-to-get-all-posts-with-textmateblogging-fetch/</guid>
		<description><![CDATA[UPDATE (2007.03.20.084041): Don&#8217;t do this. It&#8217;s an awful hack and will grind your computer to a halt. I want to hack the textmate blogging bundle to do a full download of all posts in a blog and save those posts to local disk. First, I just hacked the bundle to allow user to fetch any [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE (2007.03.20.084041): Don&#8217;t do this.  It&#8217;s an awful hack and will grind your computer to a halt.</strong></p>

<p>I want to hack the textmate blogging bundle to do a full download of all posts in a blog and save those posts to local disk.</p>

<p>First, I just hacked the bundle to allow user to fetch any post from the blog.</p>

<p><strong>Note: This is a slow hack and should only sparingly be used.</strong></p>

<p><a href="http://confuseddevelopment.blogspot.com/2006/07/blogging-apis-get-me-those-posts.html">Knud M&#8730;&#8706;ller</a> talks about using XMLRPC to get all posts from a blog.  I opted to use the &#8220;number of post requests is ridiculously large&#8221; approach. <a href="http://mephistoblog.com">Mephisto</a> implements the GetRecentPost call with a limit indicating number of posts to retrieve, so it&#8217;s still only one database hit (but creates a whole lot more objects in memory).</p>

<p><pre></p>

<h1><code>/Applications/TextMate.app/Contents/SharedSupport/Bundles/Blogging.tmbundle/Support/lib/blogging.rb</code></h1>

<p>def fetch
   begin
     # Makes sure endpoint is determined and elements are parsed
     current_password = self.password
     require "#{ENV['TM_SUPPORT_PATH']}/lib/progress.rb"
     result = nil
     TextMate.call_with_progress(:title => "Fetch Post", :message => "Contacting Server &#8218;&#196;&#250;#{@host}&#8218;&#196;&#249;&#8218;&#196;&#182;") do
       result = self.client.getRecentPosts(self.blog_id, self.username, current_password, 100000) # HERE IS WHERE YOU SPECIFY NUMBER OF POSTS TO RETRIEVE
     end
     if !result || !result.length
       TextMate.exit_show_tool_tip("No posts are available!")
     end
     @mw_success = true
     if self.post = select_post(result)
       TextMate.exit_create_new_document(post_to_document())
     else
       TextMate.exit_discard
     end
   rescue XMLRPC::FaultException => e
     TextMate.exit_show_tool_tip("Error retrieving posts. Check your configuration and try again.")
   end
end
</pre></p>

<p>This works fine.  Next up:</p>

<ul>
<li>Create a separate command for Fetch latest 20 and Fetch All</li>
<li>Create command to &#8220;create index listing&#8221;</li>
<li>Create command to &#8220;Fetch All Posts and then save each post to separate file in specified directory&#8221; </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.davidnunez.com/2007/03/19/hack-to-get-all-posts-with-textmateblogging-fetch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
