<?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: TextExpander: Nice AppleScript Shortcut for bit.ly</title>
	<atom:link href="http://smileonmymac.net/blog/2008/07/25/textexpander-nice-applescript-shortcut-for-bitly/feed/" rel="self" type="application/rss+xml" />
	<link>http://smileonmymac.net/blog/2008/07/25/textexpander-nice-applescript-shortcut-for-bitly/</link>
	<description>News, Photos, and User Tips from The SmileOnMyMac Team</description>
	<lastBuildDate>Fri, 12 Mar 2010 21:57:03 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: macpug</title>
		<link>http://smileonmymac.net/blog/2008/07/25/textexpander-nice-applescript-shortcut-for-bitly/comment-page-1/#comment-23370</link>
		<dc:creator>macpug</dc:creator>
		<pubDate>Sat, 09 Aug 2008 09:53:51 +0000</pubDate>
		<guid isPermaLink="false">http://smileonmymac.net/blog/2008/07/25/textexpander-nice-applescript-shortcut-for-bitly/#comment-23370</guid>
		<description>Just. Wow.  
That is too freakin&#039; awesome!  Thanks for an amazing tip!
Copied the whole post into Evernote - you know, for posterity and all :P
Cheers!!</description>
		<content:encoded><![CDATA[<p>Just. Wow.<br />
That is too freakin&#8217; awesome!  Thanks for an amazing tip!<br />
Copied the whole post into Evernote &#8211; you know, for posterity and all <img src='http://smileonmymac.net/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /><br />
Cheers!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean</title>
		<link>http://smileonmymac.net/blog/2008/07/25/textexpander-nice-applescript-shortcut-for-bitly/comment-page-1/#comment-23295</link>
		<dc:creator>Jean</dc:creator>
		<pubDate>Wed, 06 Aug 2008 21:33:51 +0000</pubDate>
		<guid isPermaLink="false">http://smileonmymac.net/blog/2008/07/25/textexpander-nice-applescript-shortcut-for-bitly/#comment-23295</guid>
		<description>That&#039;s cool. It can only work in text fields in that front-most Safari window, so it wouldn&#039;t work for pasting in bit.ly URLs into twitter.com in Safari, but great for Twitterific!</description>
		<content:encoded><![CDATA[<p>That&#8217;s cool. It can only work in text fields in that front-most Safari window, so it wouldn&#8217;t work for pasting in bit.ly URLs into twitter.com in Safari, but great for Twitterific!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mar</title>
		<link>http://smileonmymac.net/blog/2008/07/25/textexpander-nice-applescript-shortcut-for-bitly/comment-page-1/#comment-22800</link>
		<dc:creator>mar</dc:creator>
		<pubDate>Sat, 26 Jul 2008 00:22:55 +0000</pubDate>
		<guid isPermaLink="false">http://smileonmymac.net/blog/2008/07/25/textexpander-nice-applescript-shortcut-for-bitly/#comment-22800</guid>
		<description>Or if you&#039;re shrinking the URL of your front-most Safari window, you don&#039;t even have to select/copy it:
&lt;code&gt;
tell application &quot;Safari&quot;
	
	set PageURL to URL of front document
	
end tell

set curlCMD to ¬
	&quot;curl --stderr /dev/null \&quot;http://bit.ly/api?url=&quot; &amp; PageURL &amp; &quot;\&quot;&quot;

-- Run the script and get the result:
set bitlyURL to (do shell script curlCMD)

return bitlyURL
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Or if you&#8217;re shrinking the URL of your front-most Safari window, you don&#8217;t even have to select/copy it:<br />
<code><br />
tell application "Safari"</p>
<p>	set PageURL to URL of front document</p>
<p>end tell</p>
<p>set curlCMD to ¬<br />
	"curl --stderr /dev/null \"http://bit.ly/api?url=" &amp; PageURL &amp; "\""</p>
<p>-- Run the script and get the result:<br />
set bitlyURL to (do shell script curlCMD)</p>
<p>return bitlyURL<br />
</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
