<?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>Michael Gareth Morgan &#187; bookmark</title>
	<atom:link href="http://www.michaelgarethmorgan.com/tags/bookmark/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.michaelgarethmorgan.com</link>
	<description>Michaels website</description>
	<lastBuildDate>Tue, 03 Aug 2010 13:33:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to use bookmarklets</title>
		<link>http://www.michaelgarethmorgan.com/how-to-use-bookmarklets/</link>
		<comments>http://www.michaelgarethmorgan.com/how-to-use-bookmarklets/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 15:59:52 +0000</pubDate>
		<dc:creator>Michael Morgan</dc:creator>
				<category><![CDATA[Web development]]></category>
		<category><![CDATA[applet]]></category>
		<category><![CDATA[bookmark]]></category>
		<category><![CDATA[drag n drop]]></category>

		<guid isPermaLink="false">http://www.michaelgarethmorgan.com/?p=97</guid>
		<description><![CDATA[I&#8217;ve just added a whole bunch of tweaks to my URL shortening site, Shrten. Some of the changes are visual though some are under the hood making the site easier to use and overall much, much better. But this post isn&#8217;t about that; it is instead about bookmarklets and how you can use them on [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://files.michaelgarethmorgan.com/bookmarklet.png" alt="Bookmarklet" title="Bookmarklet" width="128" height="128" class="alignright size-full wp-image-99" />I&#8217;ve just added a whole bunch of tweaks to my URL shortening site, <a href="http://shrten.com">Shrten</a>. Some of the changes are visual though some are under the hood making the site easier to use and overall much, much better. But this post isn&#8217;t about that; it is instead about bookmarklets and how you can use them on your own site.</p>
<p>On Shrten you can now drag a link into your browsers toolbar and then when clicked it will instantly create you a shorter url for the page you are currently viewing.</p>
<p>This is the first time I&#8217;ve ever used a bookmarklet on any of my sites and I have to say that for apps and services such as URL shorteners it works fantastically! So, how can you do it?</p>
<p>It&#8217;s quite simple to be honest and consists of just a single link with a tiny bit of JavaScript. Take a look at this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;a href=&quot;javascript:void(location.href='http://shrten.com/url/'+location.href)&quot;&gt;Shrten&lt;/a&gt;</pre></td></tr></table></div>

<p>The little snippet above is the exact bit of code I&#8217;m using on my site. Basically, when clicked it will redirect the user to http://shrten.com/x where x is the url of the current page the user is viewing. This can be put to all sorts of uses and I definitely recommend that you should take a look at it. It&#8217;s easy to implement and even easier to use!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelgarethmorgan.com/how-to-use-bookmarklets/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
