<?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>MacLovin &#187; safari</title>
	<atom:link href="http://www.maclovin.de/tag/safari/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.maclovin.de</link>
	<description>An Apple a day keeps the Windows away</description>
	<lastBuildDate>Thu, 25 Feb 2010 20:57:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Twitter URLs using Quicksilver</title>
		<link>http://www.maclovin.de/2009/01/twitter-urls-using-quicksilver/</link>
		<comments>http://www.maclovin.de/2009/01/twitter-urls-using-quicksilver/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 22:43:04 +0000</pubDate>
		<dc:creator>Dennis</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[quicksilver]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.maclovin.de/?p=66</guid>
		<description><![CDATA[Wouldn&#8217;t it be nice to send the URL you&#8217;re currently looking at in Safari directly to Twitter by just executing a Quicksilver command or even by hitting a hotkey? I think, yes it is! And so I wrote an Applescript that performs the folowing tasks:

Read the URL and title of the website currently shown in [...]]]></description>
			<content:encoded><![CDATA[<p>Wouldn&#8217;t it be nice to send the URL you&#8217;re currently looking at in Safari directly to Twitter by just executing a Quicksilver command or even by hitting a hotkey? I think, yes it is! And so I wrote an Applescript that performs the folowing tasks:</p>
<ol>
<li>Read the URL and title of the website currently shown in Safari</li>
<li>Create a short URL using <a href="http://is.gd/" target="_blank">is.gd</a></li>
<li>Open <a href="http://twitter.com/" target="_blank">Twitter</a> in Safari showing a message like &#8220;The site&#8217;s title (http://is.gd/abcd)&#8221;</li>
<li>Additionally the short URL is copied to the clipboard</li>
</ol>
<p><a href="http://www.maclovin.de/wp-content/uploads/2009/01/quicksilver-twitter-url.png" title="Twitter URL with Quicksilver" rel="lightbox[66]"><img class="aligncenter size-medium wp-image-71" title="Twitter URL with Quicksilver" src="http://www.maclovin.de/wp-content/uploads/2009/01/quicksilver-twitter-url-300x181.png" alt="Twitter URL with Quicksilver" width="300" height="181" /></a></p>
<p>Just copy the script to a directory where Quicksilver can find it and you&#8217;re done. Tweeting an interesing website is a breeze. You could even set up a Quicksilver trigger and assign a hotkey for even easier execution.</p>
<p><a href="http://www.maclovin.de/wp-content/uploads/2009/01/twitter-message.png" title="Twitter message" rel="lightbox[66]"><img class="aligncenter size-medium wp-image-72" title="Twitter message" src="http://www.maclovin.de/wp-content/uploads/2009/01/twitter-message-299x91.png" alt="Twitter message" width="299" height="91" /></a></p>
<p>The script itself uses some snippets from external resources. <a href="http://www.leancrew.com/all-this/2007/11/long-and-shortened-url-scripts/">This site</a> is a great overview on how to shorten URLs with Applescript and how to use it with Quicksilver. A routine for finding and replacing text can be found <a href="http://foolsworkshop.com/applescript/2008/05/an-applescript-replace-text-method/">here</a>.</p>
<p>Download the script: <a href="http://www.maclovin.de/wp-content/uploads/2009/01/twitter-url.scpt">Twitter URL</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.maclovin.de/2009/01/twitter-urls-using-quicksilver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Applescript: add document currently shown in Safari to Delicious</title>
		<link>http://www.maclovin.de/2009/01/applescript-add-document-currently-shown-in-safari-to-delicious/</link>
		<comments>http://www.maclovin.de/2009/01/applescript-add-document-currently-shown-in-safari-to-delicious/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 21:21:42 +0000</pubDate>
		<dc:creator>Dennis</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[quicksilver]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.maclovin.de/?p=42</guid>
		<description><![CDATA[ 
I just switched from Firefox to Safari and was looking for a nice way to add the website currently shown in Safari to my Delicious bookmarks. Delicious itself offers a bookmarklet for that purpose, but I prefer leaving the bookmark bar hidden. So I came up with a litte Applescript&#8230;
 
 
It does nothing more than telling Safari [...]]]></description>
			<content:encoded><![CDATA[<p> <br />
I just switched from Firefox to Safari and was looking for a nice way to add the website currently shown in Safari to <a href="http://delicious.com/frommi">my Delicious bookmarks</a>. Delicious itself offers a bookmarklet for that purpose, but I prefer leaving the bookmark bar hidden. So I came up with a litte <a href="http://www.maclovin.de/wp-content/uploads/2009/01/delicious_add_from_safari.scpt">Applescript</a>&#8230;</p>
<p> </p>
<div id="attachment_51" class="wp-caption aligncenter" style="width: 283px"><a href="http://www.maclovin.de/wp-content/uploads/2009/01/save-a-bookmark-on-delicious.png" title="Save a Bookmark on Delicious" rel="lightbox[42]"><img class="size-medium wp-image-51" title="Save a Bookmark on Delicious" src="http://www.maclovin.de/wp-content/uploads/2009/01/save-a-bookmark-on-delicious-273x299.png" alt="Save a Bookmark on Delicious" width="273" height="299" /></a><p class="wp-caption-text">Dialog shown after execution of script</p></div>
<p> </p>
<p>It does nothing more than telling Safari to execute the same Javascript as the bookmarklet would do. Calling it from within an Applescript has one huge advantage called Quicksilver. I set up a trigger to execute this script with the scope of Safari (scopes seem to be broken in Leopard) and assigned the hotkey CMD-D.</p>
<p>This trigger in combination with Quicksilver&#8217;s &#8220;Social bookmarks&#8221; plugin is a great way use delicious with Safari.</p>
<p>Download the script: <a href="http://www.maclovin.de/wp-content/uploads/2009/01/delicious_add_from_safari.scpt">delicious_add_from_safari</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.maclovin.de/2009/01/applescript-add-document-currently-shown-in-safari-to-delicious/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
