<?xml version="1.0"?>
<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/"
	>
   <channel>
      <pubDate>Sat, 11 Oct 2008 07:08:47 GMT</pubDate>
      <lastBuildDate>Sat, 11 Oct 2008 07:08:47 GMT</lastBuildDate>
      <language>en</language>
      <docs>http://www.rssboard.org/rss-specification</docs>
      <title>CrunchBang ~ bookmarklets</title>
      <link>http://crunchbang.org/tags/bookmarklets/</link>
      <description>Code, Design &amp; GNU/Linux</description>

<item>
    <title>Firefox Bookmarklet for Flickr CC Search</title>
    <link>http://crunchbang.org/archives/2007/11/27/firefox-bookmarklet-for-flickr-cc-search/</link>
    <pubDate>Tue, 27 Nov 2007 02:58:27 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/11/27/firefox-bookmarklet-for-flickr-cc-search/</guid>
    <description><![CDATA[
    <p>Searching <a href="http://www.flickr.com/ " title="Flickr LOVES YOU">Flickr</a> for images licensed under <a href="http://www.flickr.com/creativecommons/ " title="Creative Commons page at Flickr.">Creative Commons</a> is painfully slow and frustrating. For every new query you have to visit the <a href="http://www.flickr.com/search/advanced/ " title="Flickr Advanced Search">advanced search page</a> and select the appropriate check boxes before hitting the search button. I&#39;ve been using Flickr in this way quite a bit lately and so I wanted to find an easier way to achieve this task.</p>

<p>I turned to Google and found this <a href="http://internetducttape.com/tools/flickr-always-search-for-creative-commons/ " title="Flickr always search for Creative Commons licensed photos.">Greasemonkey hack</a>. It looks good and does what I want, however I don&#39;t use <a href="https://addons.mozilla.org/en-US/firefox/addon/748 " title="Firefox Add-ons - Greasemonkey">Greasemonkey</a> and I&#39;m not about to start using it anytime soon. So I ended up creating a quick bookmarklet to do the job instead &#8212; I don&#39;t know why I didn&#39;t do this in the first place, it only took seconds?!</p>

<p><strong><a href="javascript:(function(){ q=document.getSelection(); if(!q) q=prompt('Flickr%20Creative%20Commons%20Search:'); if(q) location.href='http://www.flickr.com/search/?ct=0&amp;ss=0&amp;l=commderiv&amp;q='+escape(q); })()" title="Flickr CC Search">Flickr CC Search</a></strong></p>

<p>You can install the bookmarklet by dragging it your Firefox &#34;Bookmarks&#34; toolbar.</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/bookmarklets/" title="Browse all posts tagged with &#8220;bookmarklets&#8221;">bookmarklets</a>, <a href="http://crunchbang.org/tags/hacks/" title="Browse all posts tagged with &#8220;hacks&#8221;">hacks</a>, <a href="http://crunchbang.org/tags/javascript/" title="Browse all posts tagged with &#8220;javascript&#8221;">javascript</a>, <a href="http://crunchbang.org/tags/tools/" title="Browse all posts tagged with &#8220;tools&#8221;">tools</a></p>
    ]]></description>
</item>

<item>
    <title>dict.org Bookmarklets for Firefox</title>
    <link>http://crunchbang.org/archives/2007/10/27/dict-dot-org-bookmarklets-for-firefox/</link>
    <pubDate>Sat, 27 Oct 2007 15:07:28 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/10/27/dict-dot-org-bookmarklets-for-firefox/</guid>
    <description><![CDATA[
    <p>As well as <a href="http://crunchbang.org/archives/2007/10/27/i-like-monkeys/ " title="I Like Monkeys">liking monkeys</a> I also like <a href="http://dict.org/ " title="dict.org - free dictionary and thesaurus lookup.">dict.org</a>. I&#39;ve been using it more-and-more since my rant last month about <a href="http://crunchbang.org/archives/2007/09/30/popup-dictionary-dot-com/ " title="A rant about Dictionary.com and pop-up advertising">pop-up advertising and Dictionary.com</a>.</p>

<p>For anyone unfamiliar with dict.org, it&#39;s basically a free service <em>without any adverts</em> that provides a fast dictionary and thesaurus lookup [<em>it does more too!</em>]</p>

<h3>The bookmarklets</h3>

<p>This morning I decided to play about with creating a <a href="http://en.wikipedia.org/wiki/Bookmarklet " title="Wikipedia - Bookmarklet">Bookmarklet</a> to help perform dict.org queries. I ended up creating three. One to perform a standard query, another to perform dictionary only queries, and the final one to perform thesaurus only queries. The bookmarklets are below:</p>

<p><strong><a href="javascript:(function(){ q=document.getSelection(); if(!q) q=prompt('dict.org%20Search:'); if(q) location.href='http://www.dict.org/bin/Dict?Form=Dict1&amp;Strategy=*&amp;Database=*&amp;Query='+escape(q); })()" title="dict.org lookup">dict.org lookup</a></strong> &#8212; for performing default queries [<em>dictionary + thesaurus + more</em>]<br />
<strong><a href="javascript:(function(){ q=document.getSelection(); if(!q) q=prompt('Dictionary%20Search:'); if(q) location.href='http://www.dict.org/bin/Dict?Form=Dict1&amp;Strategy=*&amp;Database=gcide&amp;Query='+escape(q); })()" title="dictionary lookup">dictionary lookup</a></strong> &#8212; for erm&#8230; &#8230;dictionary only queries<br />
<strong><a href="javascript:(function(){ q=document.getSelection(); if(!q) q=prompt('Thesaurus%20Search:'); if(q) location.href='http://www.dict.org/bin/Dict?Form=Dict1&amp;Strategy=*&amp;Database=moby-thes&amp;Query='+escape(q); })()" title="thesaurus lookup">thesaurus lookup</a></strong> &#8212; for&#8230; &#8230;work it out :)</p>

<p>All three bookmarklets work the same way. You can either highlight a word on the web page you are viewing before clicking the bookmarklet to perform the query; or click the bookmarklet and type a word at the prompt.</p>

<h3>Howto install the bookmarkets</h3>

<p>Simply left-click and drag any of the bookmarklets to your Bookmarks Toolbar within Firefox.</p>

<p>Before installing the bookmarklets it should be noted that I&#39;ve only tested them with Firefox &#8212; as an <a href="http://ubuntu.com/ " title="Ubuntu Linux">Ubuntu</a> user it&#39;s pretty much the only browser I use. Please let me know [<em>post a comment or something</em>] if you test them with any other browsers.</p>

<h3>Credits</h3>

<p>These bookmarklets are a direct hack of the <a href="http://dictionary.reference.com/tools/bookmarklets.html " title="Bookmarklets for Dictionary.com">free browser buttons available for Dictionary.com</a>. These were inspired by the work of Steve Kangas at <a href="http://www.bookmarklets.com/ " title="Bookmarklets.com">Bookmarklets.com</a>.</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/bookmarklets/" title="Browse all posts tagged with &#8220;bookmarklets&#8221;">bookmarklets</a>, <a href="http://crunchbang.org/tags/hacks/" title="Browse all posts tagged with &#8220;hacks&#8221;">hacks</a>, <a href="http://crunchbang.org/tags/javascript/" title="Browse all posts tagged with &#8220;javascript&#8221;">javascript</a>, <a href="http://crunchbang.org/tags/tools/" title="Browse all posts tagged with &#8220;tools&#8221;">tools</a>, <a href="http://crunchbang.org/tags/ubuntu/" title="Browse all posts tagged with &#8220;ubuntu&#8221;">ubuntu</a></p>
    ]]></description>
</item>

 </channel>
</rss>