<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: NNWInstaPost Follow Up</title>
	<atom:link href="http://protagonist.co.uk/blog/nnwinstapost-follow-up/feed" rel="self" type="application/rss+xml" />
	<link>http://protagonist.co.uk/blog/nnwinstapost-follow-up</link>
	<description>protagonist</description>
	<lastBuildDate>Wed, 04 Aug 2010 22:50:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
	<atom:link rel="hub" href="http://superfeedr.com/hubbub" />
		<item>
		<title>By: Ben</title>
		<link>http://protagonist.co.uk/blog/nnwinstapost-follow-up/comment-page-1#comment-112</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Sat, 22 Aug 2009 08:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://protagonist.co.uk/askabetterquestion/?p=52#comment-112</guid>
		<description>&lt;p&gt;interesting error – so i would try deleting the protagonist.post.txt file and the the next time you add a post to instapaper, it should prompt you for username and password. step through that again and give it a go. the protagonist.post.txt file is where the username and password are stored.&lt;/p&gt;

&lt;p&gt;hope that works out for you&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>interesting error – so i would try deleting the protagonist.post.txt file and the the next time you add a post to instapaper, it should prompt you for username and password. step through that again and give it a go. the protagonist.post.txt file is where the username and password are stored.</p>

<p>hope that works out for you</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob</title>
		<link>http://protagonist.co.uk/blog/nnwinstapost-follow-up/comment-page-1#comment-101</link>
		<dc:creator>Jacob</dc:creator>
		<pubDate>Sat, 06 Jun 2009 10:25:04 +0000</pubDate>
		<guid isPermaLink="false">http://protagonist.co.uk/askabetterquestion/?p=52#comment-101</guid>
		<description>&lt;p&gt;Hmmm.  Haven&#039;t been able to get this to work.  I was able to use it to post one item to InstaPaper but I now receive the error:&lt;/p&gt;

&lt;p&gt;protagonist.post.txt wasn’t open.&lt;/p&gt;

&lt;p&gt;The file exists here:
File Users:[my username]:Library:Preferences:protagonist.post.txt&lt;/p&gt;

&lt;p&gt;Would love to get this up and running!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hmmm.  Haven&#8217;t been able to get this to work.  I was able to use it to post one item to InstaPaper but I now receive the error:</p>

<p>protagonist.post.txt wasn’t open.</p>

<p>The file exists here:
File Users:[my username]:Library:Preferences:protagonist.post.txt</p>

<p>Would love to get this up and running!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: ben</title>
		<link>http://protagonist.co.uk/blog/nnwinstapost-follow-up/comment-page-1#comment-104</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Fri, 29 May 2009 19:51:16 +0000</pubDate>
		<guid isPermaLink="false">http://protagonist.co.uk/askabetterquestion/?p=52#comment-104</guid>
		<description>&lt;p&gt;so what you need to delete is the file where the password is stored:&lt;/p&gt;

&lt;p&gt;/users/your_user_ name_/preferences/protagonist.post.txt&lt;/p&gt;

&lt;p&gt;and you could also delete the cookie:&lt;/p&gt;

&lt;p&gt;/tmp/instacookie.txt&lt;/p&gt;

&lt;p&gt;then rerun the script and NNWInstaPost will go through the initial prompting and all should be well.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>so what you need to delete is the file where the password is stored:</p>

<p>/users/your_user_ name_/preferences/protagonist.post.txt</p>

<p>and you could also delete the cookie:</p>

<p>/tmp/instacookie.txt</p>

<p>then rerun the script and NNWInstaPost will go through the initial prompting and all should be well.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://protagonist.co.uk/blog/nnwinstapost-follow-up/comment-page-1#comment-105</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Fri, 29 May 2009 18:29:46 +0000</pubDate>
		<guid isPermaLink="false">http://protagonist.co.uk/askabetterquestion/?p=52#comment-105</guid>
		<description>&lt;p&gt;After going into the script itself to change my instapaper password, it no longer runs correctly.  I tried installing the script from scratch, but it does not run as if it&#039;s the first time, and therefore does not ask for my username or password.  It still delivers a growl notification that the article has been posted, but no such posting actually occurs.  Any help would be appreciated.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>After going into the script itself to change my instapaper password, it no longer runs correctly.  I tried installing the script from scratch, but it does not run as if it&#8217;s the first time, and therefore does not ask for my username or password.  It still delivers a growl notification that the article has been posted, but no such posting actually occurs.  Any help would be appreciated.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: ben</title>
		<link>http://protagonist.co.uk/blog/nnwinstapost-follow-up/comment-page-1#comment-103</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Mon, 13 Apr 2009 15:52:04 +0000</pubDate>
		<guid isPermaLink="false">http://protagonist.co.uk/askabetterquestion/?p=52#comment-103</guid>
		<description>&lt;p&gt;sure - but you won&#039;t get any indication that it&#039;s finished. all you need to do is change line:&lt;/p&gt;

&lt;p&gt;triggerGrowl(talkToNNW())&lt;/p&gt;

&lt;p&gt;to&lt;/p&gt;

&lt;p&gt;talkToNNW()&lt;/p&gt;

&lt;p&gt;and save it and you should be all set. hope that works for you&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>sure &#8211; but you won&#8217;t get any indication that it&#8217;s finished. all you need to do is change line:</p>

<p>triggerGrowl(talkToNNW())</p>

<p>to</p>

<p>talkToNNW()</p>

<p>and save it and you should be all set. hope that works for you</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ross O'Connell</title>
		<link>http://protagonist.co.uk/blog/nnwinstapost-follow-up/comment-page-1#comment-102</link>
		<dc:creator>Ross O'Connell</dc:creator>
		<pubDate>Mon, 13 Apr 2009 15:45:21 +0000</pubDate>
		<guid isPermaLink="false">http://protagonist.co.uk/askabetterquestion/?p=52#comment-102</guid>
		<description>&lt;p&gt;I know that beggars can&#039;t be choosers, but is there a version of this that doesn&#039;t rely on Growl?  I looked at the code and it seemed that taking out Growl would be trivial, although my attempts to do so failed miserably.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I know that beggars can&#8217;t be choosers, but is there a version of this that doesn&#8217;t rely on Growl?  I looked at the code and it seemed that taking out Growl would be trivial, although my attempts to do so failed miserably.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: ben</title>
		<link>http://protagonist.co.uk/blog/nnwinstapost-follow-up/comment-page-#comment-99</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Wed, 21 Jan 2009 16:53:43 +0000</pubDate>
		<guid isPermaLink="false">http://protagonist.co.uk/askabetterquestion/?p=52#comment-99</guid>
		<description>&lt;p&gt;well automator is fun for some things but not so great for others :)&lt;/p&gt;

&lt;p&gt;hmm interesting about the hang time. it shouldn&#039;t be dependant on how big the page is because all NNWInstaPost sends is the title and the url, not any page data. so the hang time is more likely to be dependant on the response time from InstaPaper. AppleScript tends to block quite a bit - i guess i could always look at creating a thread within bash to return to NetNewsWire quicker... but i&#039;m not seeing much delay here, maybe 1/2 a second before the return&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>well automator is fun for some things but not so great for others <img src='http://protagonist.co.uk/site/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<p>hmm interesting about the hang time. it shouldn&#8217;t be dependant on how big the page is because all NNWInstaPost sends is the title and the url, not any page data. so the hang time is more likely to be dependant on the response time from InstaPaper. AppleScript tends to block quite a bit &#8211; i guess i could always look at creating a thread within bash to return to NetNewsWire quicker&#8230; but i&#8217;m not seeing much delay here, maybe 1/2 a second before the return</p>]]></content:encoded>
	</item>
	<item>
		<title>By: DeanDMX</title>
		<link>http://protagonist.co.uk/blog/nnwinstapost-follow-up/comment-page-1#comment-98</link>
		<dc:creator>DeanDMX</dc:creator>
		<pubDate>Mon, 19 Jan 2009 23:57:57 +0000</pubDate>
		<guid isPermaLink="false">http://protagonist.co.uk/askabetterquestion/?p=52#comment-98</guid>
		<description>&lt;p&gt;This script is exactly what i&#039;ve been looking for (at least until Instapaper support is baked into NNW).&lt;/p&gt;

&lt;p&gt;I&#039;ve even tried to make an automator action to do this, but ended up nearly having an aneurism out of frustration.&lt;/p&gt;

&lt;p&gt;The only thing that bothers me is when I call the script, NNW hangs until it&#039;s finished. The hang time depends on how big the page is that i&#039;m adding to Instapaper.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This script is exactly what i&#8217;ve been looking for (at least until Instapaper support is baked into NNW).</p>

<p>I&#8217;ve even tried to make an automator action to do this, but ended up nearly having an aneurism out of frustration.</p>

<p>The only thing that bothers me is when I call the script, NNW hangs until it&#8217;s finished. The hang time depends on how big the page is that i&#8217;m adding to Instapaper.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: ben</title>
		<link>http://protagonist.co.uk/blog/nnwinstapost-follow-up/comment-page-#comment-96</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Thu, 15 Jan 2009 12:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://protagonist.co.uk/askabetterquestion/?p=52#comment-96</guid>
		<description>&lt;p&gt;interesting isn&#039;t it? seems odd that a compiled script would cache variables but it does look like that&#039;s what is happening. but in v1.01 of the script i set the path on demand so that shouldn&#039;t happen. glad you like the approach - i just wanted a quick background method of posting to InstaPaper - i hate having my context broken. enjoy&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>interesting isn&#8217;t it? seems odd that a compiled script would cache variables but it does look like that&#8217;s what is happening. but in v1.01 of the script i set the path on demand so that shouldn&#8217;t happen. glad you like the approach &#8211; i just wanted a quick background method of posting to InstaPaper &#8211; i hate having my context broken. enjoy</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Rhett</title>
		<link>http://protagonist.co.uk/blog/nnwinstapost-follow-up/comment-page-1#comment-95</link>
		<dc:creator>Rhett</dc:creator>
		<pubDate>Thu, 15 Jan 2009 03:15:15 +0000</pubDate>
		<guid isPermaLink="false">http://protagonist.co.uk/askabetterquestion/?p=52#comment-95</guid>
		<description>&lt;p&gt;I think the underlying problem was a scoping issue.  I&#039;m not an AppleScript expert, but it seems like the values set to properties are fixed when the script is compiled.  Since prefs_path needs to change based on the user running the script, it doesn&#039;t work as a property.&lt;/p&gt;

&lt;p&gt;Since prefs_path is only used in credentials(), I fixed my copy by changing it to be a local variable inside that function.  Specifically, I inserted &lt;/p&gt;

&lt;p&gt;set prefs_path to (path to preferences as text)&lt;/p&gt;

&lt;p&gt;as the first line after &quot;on credentials()&quot; and removed the property declaration for prefs_path.  This fixed the problem for me.&lt;/p&gt;

&lt;p&gt;BTW, thanks for this script.  I was previously using one which scripted Safari to invoke the &quot;read later&quot; bookmarklet, but NNWInstaPost&#039;s direct approach is much cleaner and works better when Safari isn&#039;t already running.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I think the underlying problem was a scoping issue.  I&#8217;m not an AppleScript expert, but it seems like the values set to properties are fixed when the script is compiled.  Since prefs_path needs to change based on the user running the script, it doesn&#8217;t work as a property.</p>

<p>Since prefs_path is only used in credentials(), I fixed my copy by changing it to be a local variable inside that function.  Specifically, I inserted </p>

<p>set prefs_path to (path to preferences as text)</p>

<p>as the first line after &#8220;on credentials()&#8221; and removed the property declaration for prefs_path.  This fixed the problem for me.</p>

<p>BTW, thanks for this script.  I was previously using one which scripted Safari to invoke the &#8220;read later&#8221; bookmarklet, but NNWInstaPost&#8217;s direct approach is much cleaner and works better when Safari isn&#8217;t already running.</p>]]></content:encoded>
	</item>
</channel>
</rss>
