<?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>Brett Terpstrabookmarklet - Brett Terpstra</title>
	<atom:link href="http://brettterpstra.com/tag/bookmarklet/feed/" rel="self" type="application/rss+xml" />
	<link>http://brettterpstra.com</link>
	<description>Elegant solutions to complex problems.</description>
	<lastBuildDate>Thu, 09 Feb 2012 15:01:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Bookmarklet: Read Pinboard links with Instapaper Text</title>
		<link>http://brettterpstra.com/pinboard-links-with-instapaper-text/</link>
		<comments>http://brettterpstra.com/pinboard-links-with-instapaper-text/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 18:30:46 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[bookmarklet]]></category>
		<category><![CDATA[experiments]]></category>
		<category><![CDATA[pinboard]]></category>

		<guid isPermaLink="false">http://brettterpstra.com/?p=1559</guid>
		<description><![CDATA[<p>Here’s a quick bookmarklet you can run on any Pinboard page containing a list of bookmarks. It adds a “Read” link at the end of the edit links for each post, and clicking the link will open the post in Instapaper Text1 view in a new page/tab. It also marks the post you click as “read.” Note that this happens&#8230;</p><p>Originally posted on <a href="http://brettterpstra.com" title="BrettTerpstra.com">BrettTerpstra.com</a> at <a href="http://brettterpstra.com/pinboard-links-with-instapaper-text/">Bookmarklet: Read Pinboard links with Instapaper Text</a></p>]]></description>
			<content:encoded><![CDATA[<p><img style=' float: right; padding: 4px; margin: 0 0 2px 7px;'  src="http://cdn2.brettterpstra.com/wp-content/uploads/2011/01/pinboardbookmarkletscreenshot.jpg?9d7bd4" alt="" title="pinboardbookmarkletscreenshot" width="316" height="97" class="alignright shadow size-full wp-image-1565" />Here’s a quick bookmarklet you can run on any <a href="http://pinboard.in/">Pinboard</a> page containing a list of bookmarks. It adds a “Read” link at the end of the edit links for each post, and clicking the link will open the post in Instapaper Text<sup id="fnref:fn1"><a href="#fn:fn1" rel="footnote">1</a></sup> view in a new page/tab. It also marks the post you click as “read.” Note that this happens whether you have that specified in the preferences or not (because it’s a quick hack and I think it’s weird to not mark an article as read when you read it).</p>

<p>Just drag the link below into your bookmarks bar or right click and “Add Bookmark”. No promises, no guarantees, very little support. I love you all, but this is just something I wanted last night and it works for me. Hopefully it will for you, too.</p>

<div style="text-align:center;margin-bottom:15px"><a href="javascript:try%20{var%20els%20=%20document.getElementById(%27main_column%27).getElementsByTagName(%27a%27);for%20(i%20=%200;%20i%20<%20els.length;%20i++)%20{if%20(%20/(^|\s)bookmark_title(\s|$)/.test(els[i].className)%20)%20{readlink%20=%20document.createElement(%27a%27);readlink.innerHTML%20=%20%27%20read%27;readlink.style.color%20=%20%27#666%27;readlink.href%20=%20%27http://www.instapaper.com/text?u=%27+encodeURIComponent(els[i].href);readlink.target%20=%20%27_blank%27;readlink.onmousedown%20=%20els[i].onmousedown;els[i].parentNode.appendChild(readlink);}}}%20catch(e)%20{alert(e);}" class="bookmarklet">Pinboard Instapaper</a></div>

<p>Also, here’s a quick side experiment which does the same thing, but uses an experiment I set up on my server to run Readability and pipe it into an Antique-style page. It’s not as fast, and sometimes misses things that Instapaper Text picks up, so it’s just for fun right now. Nonetheless, it’s pretty cool. Looks best in Safari. Looks good in Firefox. Probably looks like garbage on IE.</p>

<div style="text-align:center;margin-bottom:15px"><a href="javascript:try%20{var%20els%20=%20document.getElementById(%27main_column%27).getElementsByTagName(%27a%27);for%20(i%20=%200;%20i%20<%20els.length;%20i++)%20{if%20(%20/(^|\s)bookmark_title(\s|$)/.test(els[i].className)%20)%20{readlink%20=%20document.createElement(%27a%27);readlink.innerHTML%20=%20%27%20read%27;readlink.style.color%20=%20%27#666%27;readlink.href%20=%20%27http://brettterpstra.com/reader/?u=%27+encodeURIComponent(els[i].href);readlink.target%20=%20%27_blank%27;readlink.onmousedown%20=%20els[i].onmousedown;els[i].parentNode.appendChild(readlink);}}}%20catch(e)%20{alert(e);}" class="bookmarklet">Pinboard Antique</a></div>

<div class="footnotes">
<hr />
<ol>

<li id="fn:fn1">
<p>See <a href="http://www.instapaper.com/extras">here</a> (near the bottom) for the original bookmarklet <a href="#fnref:fn1" rev="footnote">↩</a></p>
</li>

</ol>
</div>
<p>Related posts:<ol>
<li><a href='http://brettterpstra.com/i-adore-pinboard/' rel='bookmark' title='I adore Pinboard'>I adore Pinboard</a></li>
<li><a href='http://brettterpstra.com/instapaper-beyond-fix-for-text-style-controls/' rel='bookmark' title='Instapaper Beyond: fix for text style controls'>Instapaper Beyond: fix for text style controls</a></li>
<li><a href='http://brettterpstra.com/a-big-upgrade-for-instapaper-beyond/' rel='bookmark' title='A big upgrade for Instapaper Beyond'>A big upgrade for Instapaper Beyond</a></li>
</ol></p><p>Originally posted on <a href="http://brettterpstra.com" title="BrettTerpstra.com">BrettTerpstra.com</a> at <a href="http://brettterpstra.com/pinboard-links-with-instapaper-text/">Bookmarklet: Read Pinboard links with Instapaper Text</a></p>]]></content:encoded>
			<wfw:commentRss>http://brettterpstra.com/pinboard-links-with-instapaper-text/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Clippable updated, goes mobile</title>
		<link>http://brettterpstra.com/clippable-updated-goes-mobile/</link>
		<comments>http://brettterpstra.com/clippable-updated-goes-mobile/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 16:01:12 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[bookmarklet]]></category>
		<category><![CDATA[clippable]]></category>
		<category><![CDATA[clippable mobile]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[readability]]></category>

		<guid isPermaLink="false">http://brettterpstra.com/?p=284</guid>
		<description><![CDATA[<p>I’ve pushed out an update to Clippable, for better or worse. In addition to the previously added line number removal for code blocks, it removes spans used in TextMate formatted code and adds some keyboard shortcuts: Left arrow: switch to light on dark Right arrow: switch to black on white Delete key: return to normal formatting Escape key: return to&#8230;</p><p>Originally posted on <a href="http://brettterpstra.com" title="BrettTerpstra.com">BrettTerpstra.com</a> at <a href="http://brettterpstra.com/clippable-updated-goes-mobile/">Clippable updated, goes mobile</a></p>]]></description>
			<content:encoded><![CDATA[<p>I’ve pushed out an update to <a href="http://brettterpstra.com/share/readability2.html">Clippable</a>, for better or worse. In addition to the <a href="http://brettterpstra.com/2009/12/31/clippable-updated-to-remove-source-code-line-numbers/">previously added</a> line number removal for code blocks, it removes spans used in TextMate formatted code and adds some keyboard shortcuts:</p>

<ul>
<li>Left arrow: switch to light on dark</li>
<li>Right arrow: switch to black on white</li>
<li>Delete key: return to normal formatting</li>
<li>Escape key: return to original page</li>
</ul>

<p>These features are added without modifying the original bookmarklet, so if you’ve got it installed, you’ve got the goodies already. Otherwise, head over to the <a href="http://brettterpstra.com/share/readability2.html">Clippable bookmarklet page</a> and try it out.</p>

<p><a href="http://brettterpstra.com/code/clippable-mobile/"><img style=' float: right; padding: 4px; margin: 0 0 2px 7px;'  src="http://cdn2.brettterpstra.com/wp-content/uploads/2010/02/clippablemobile-iphoneshot.jpg?9d7bd4" alt="Image of Clippable Mobile on the iPhone" title="clippablemobile-iphoneshot" width="300" height="476" class="alignright size-full wp-image-278" /></a>The big news, though, is the introduction of <a href="http://brettterpstra.com/code/clippable-mobile/">Clippable Mobile</a>. It’s a work in progress, but installs on an iPhone and makes use of the special formatting options available in Mobile Safari. It shrinks images, cuts off code blocks, etc., making every attempt to provide a readable page that doesn’t scroll horizontally. There are occasions where it fails on first attempt, but running it again right away fixes everything. I’m still working on figuring out why that happens… a little sleep will probably help. Head over to the <a href="http://brettterpstra.com/code/clippable-mobile/">Clippable Mobile page</a> on your iPhone and follow the instructions to install it. Bug reports are welcome!</p>
<p>Related posts:<ol>
<li><a href='http://brettterpstra.com/clippable-updated-to-remove-source-code-line-numbers/' rel='bookmark' title='Clippable updated to remove source code line numbers'>Clippable updated to remove source code line numbers</a></li>
<li><a href='http://brettterpstra.com/clippable/' rel='bookmark' title='Clippable'>Clippable</a></li>
<li><a href='http://brettterpstra.com/speaking-of-notational-velocity-did-you-know/' rel='bookmark' title='Speaking of Notational Velocity, did you know…'>Speaking of Notational Velocity, did you know…</a></li>
</ol></p><p>Originally posted on <a href="http://brettterpstra.com" title="BrettTerpstra.com">BrettTerpstra.com</a> at <a href="http://brettterpstra.com/clippable-updated-goes-mobile/">Clippable updated, goes mobile</a></p>]]></content:encoded>
			<wfw:commentRss>http://brettterpstra.com/clippable-updated-goes-mobile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clippable updated to remove source code line numbers</title>
		<link>http://brettterpstra.com/clippable-updated-to-remove-source-code-line-numbers/</link>
		<comments>http://brettterpstra.com/clippable-updated-to-remove-source-code-line-numbers/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 11:55:31 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[bookmarklet]]></category>
		<category><![CDATA[clippable]]></category>
		<category><![CDATA[evernote]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[readability2]]></category>

		<guid isPermaLink="false">http://brettterpstra.com/?p=212</guid>
		<description><![CDATA[<p>I made a couple of minor changes to the Clippable bookmarklet, mostly in the way it handles SyntaxHighlighter code blocks. The SyntaxHighlighter plugin is used (too) often to format and color code source snippets in websites. The result when clipping a page is that the code you get still has line numbers, but no option to view the raw source&#8230;</p><p>Originally posted on <a href="http://brettterpstra.com" title="BrettTerpstra.com">BrettTerpstra.com</a> at <a href="http://brettterpstra.com/clippable-updated-to-remove-source-code-line-numbers/">Clippable updated to remove source code line numbers</a></p>]]></description>
			<content:encoded><![CDATA[<p>I made a couple of minor changes to the <a href="http://brettterpstra.com/share/readability2.html">Clippable bookmarklet</a>, mostly in the way it handles SyntaxHighlighter code blocks. The SyntaxHighlighter plugin is used (too) often to format and color code source snippets in websites. The result when clipping a page is that the code you get still has line numbers, but no option to view the raw source without going back to the web page. Then you end up manually editing out the line numbers if you want to copy and paste the code, which can be a pain in most cases.</p>

<p>Since the point of Clippable was to deal better with things <em>like</em> code blocks (especially for saving snippets to Evernote), it now removes the toolbar and line numbers from SyntaxHighlighter blocks. It also looks for another common technique: converting lines in code to an ordered list inside of a pre block. This is just blotted out with CSS now. Those are the only two highlighting methods it targets at the moment, but I’ll tackle more as I run into them.</p>

<p>If you already have the bookmarklet installed, you’re already benefitting from these changes (the bookmarklet calls the source scripts on my server, so it is, in essence, automatically updated). If not, just cruise over to the <a href="http://brettterpstra.com/share/readability2.html">Clippable page</a> and grab it!</p>
<p>Related posts:<ol>
<li><a href='http://brettterpstra.com/clippable-updated-goes-mobile/' rel='bookmark' title='Clippable updated, goes mobile'>Clippable updated, goes mobile</a></li>
<li><a href='http://brettterpstra.com/clippable/' rel='bookmark' title='Clippable'>Clippable</a></li>
<li><a href='http://brettterpstra.com/clippable-to-evernote-snow-leopard-service/' rel='bookmark' title='Clippable to Evernote Snow Leopard Service'>Clippable to Evernote Snow Leopard Service</a></li>
</ol></p><p>Originally posted on <a href="http://brettterpstra.com" title="BrettTerpstra.com">BrettTerpstra.com</a> at <a href="http://brettterpstra.com/clippable-updated-to-remove-source-code-line-numbers/">Clippable updated to remove source code line numbers</a></p>]]></content:encoded>
			<wfw:commentRss>http://brettterpstra.com/clippable-updated-to-remove-source-code-line-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clippable to Evernote Snow Leopard Service</title>
		<link>http://brettterpstra.com/clippable-to-evernote-snow-leopard-service/</link>
		<comments>http://brettterpstra.com/clippable-to-evernote-snow-leopard-service/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 05:55:06 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[bookmarklet]]></category>
		<category><![CDATA[clippable]]></category>
		<category><![CDATA[evernote]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[snow leopard]]></category>

		<guid isPermaLink="false">http://brettterpstra.com/?p=109</guid>
		<description><![CDATA[<p>Clippable to Evernote will allow you to trigger the Clippable bookmarklet in Safari and copy the result directly to your "Unfiled" notebook in Evernote. This service is Snow Leopard-only.</p><p>Originally posted on <a href="http://brettterpstra.com" title="BrettTerpstra.com">BrettTerpstra.com</a> at <a href="http://brettterpstra.com/clippable-to-evernote-snow-leopard-service/">Clippable to Evernote Snow Leopard Service</a></p>]]></description>
			<content:encoded><![CDATA[<p><img style=' display:none'  src="http://cdn2.brettterpstra.com/wp-content/uploads/2009/11/clippabletoevernote110309.jpg?9d7bd4" alt="clippabletoevernote110309" title="clippabletoevernote110309" width="440" height="187" class="alignnone size-full wp-image-121 headerimg" />
Clippable to Evernote will allow you to trigger the <a href="http://brettterpstra.com/2009/11/03/clippable/">Clippable bookmarklet</a> in Safari and copy the result directly to your “Unfiled” notebook in Evernote. This service is Snow Leopard-only. If you need it modified for Leopard and aren’t sure how, let me know. If there’s some interest, I’ll just work one up and post it.</p>

<p>To install in Snow Leopard, just unzip (double-click the zip file) the file and move the resulting .workflow file to [your home directory]/Library/Services. It should now appear in your Safari-&gt;Services menu, in Safari only. To add a keyboard shortcut to the Service, go to the Keyboard pane in System Preferences, choose the Keyboard Shortcuts tab, select Services on the left and find the Clippable… service on the right. Double click on the right side of the listing to enter a hotkey. I currently have mine bound to control-command-E, which works well for me in Safari.</p>

<p>Download <a href="http://brettterpstra.com/share/clippable-to-evernote.zip?9d7bd4">here</a>.</p>
<p>Related posts:<ol>
<li><a href='http://brettterpstra.com/updated-songza-lucky-link-service/' rel='bookmark' title='Updated: Songza Lucky Link Service'>Updated: Songza Lucky Link Service</a></li>
<li><a href='http://brettterpstra.com/equation-evaluation-service-for-snow-leopard/' rel='bookmark' title='A (fairly) simple equation evaluation service for Snow Leopard'>A (fairly) simple equation evaluation service for Snow Leopard</a></li>
<li><a href='http://brettterpstra.com/clippable-updated-goes-mobile/' rel='bookmark' title='Clippable updated, goes mobile'>Clippable updated, goes mobile</a></li>
</ol></p><p>Originally posted on <a href="http://brettterpstra.com" title="BrettTerpstra.com">BrettTerpstra.com</a> at <a href="http://brettterpstra.com/clippable-to-evernote-snow-leopard-service/">Clippable to Evernote Snow Leopard Service</a></p>]]></content:encoded>
			<wfw:commentRss>http://brettterpstra.com/clippable-to-evernote-snow-leopard-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced
Database Caching 12/54 queries in 0.114 seconds using xcache
Object Caching 1541/1593 objects using xcache
Content Delivery Network via cdn2.brettterpstra.com

Served from: brettterpstra.com @ 2012-02-09 18:11:33 -->
