<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>CogDogBlog &#187; greasemonkey</title>
	<atom:link href="http://cogdogblog.com/tag/greasemonkey/feed/" rel="self" type="application/rss+xml" />
	<link>http://cogdogblog.com</link>
	<description>Alan Levine&#039;s space for barking about and playing with technology</description>
	<lastBuildDate>Sat, 26 May 2012 00:01:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/us/</creativeCommons:license>
		<item>
		<title>No Linked Attribution: When the CC Item Vanishes?</title>
		<link>http://cogdogblog.com/2010/01/13/no-linked-attribution/</link>
		<comments>http://cogdogblog.com/2010/01/13/no-linked-attribution/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 04:21:43 +0000</pubDate>
		<dc:creator>Alan Levine aka CogDog</dc:creator>
				<category><![CDATA[Blog Pile]]></category>
		<category><![CDATA[creative commons]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[greasemonkey]]></category>

		<guid isPermaLink="false">http://cogdogblog.com/?p=4598</guid>
		<description><![CDATA[I always provide links back to the source as attribution for the flickr creative commons photos I use. Today I ran into the not so surprising case of wondering what to do, and what the ramifications for, if the original is no longer there? Here&#8217;s the case. A dark night in a web that knows how to keep its secrets, but one dog is still trying to find the answers to life’s persistent questions. Me. Oops, wrong story. I was working on a site which has a banner collage made of 5 or 6 flickr cc licensed images. When I did the original, I downloaded them in 500px size (I keep the original cryptic file names, like &#8220;196478990_e68fe3c25a.jpg&#8221;). I also, and I wish I could say always, kept a text file with the credits info. In making a credits page on the new site, I reached for my favorite tool, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/19353461@N04/2572694217/"><img src="http://cogdogblog.com/wp-content/uploads/2010/01/not-there.jpg" alt="" title="not-there" width="500" height="287" class="alignnone size-full wp-image-4599" /></a></p>
<p>I always provide links back to the source as attribution for the flickr creative commons photos I use. Today I ran into the not so surprising case of wondering what to do, and what the ramifications for, if the original is no longer there?</p>
<p>Here&#8217;s the case.  A dark night in a web that knows how to keep its secrets, but one dog is still trying to find the answers to life’s persistent questions. Me.</p>
<p>Oops, <a href="http://prairiehome.publicradio.org/programs/2009/04/04/scripts/noir.shtml">wrong story</a>. </p>
<p>I was working on a site which has a banner collage made of 5 or 6 flickr cc licensed images. When I did the original, I downloaded them in 500px size (I keep the original cryptic file names, like &#8220;196478990_e68fe3c25a.jpg&#8221;). I also, and I wish I could say always, kept a text file with the credits info. </p>
<p>In making a credits page on the new site, I reached for my favorite tool, yep, the one I did myself, the <a href="http://userscripts.org/scripts/show/49395">Flickr CC Attribution Helper for Greasemonkey</a> &#8211; a Firefox script that nicely inserts two kinds of copiable attribution strings right in the flickr page (only if it is cc licensed):</p>
<p><img src="http://cogdogblog.com/wp-content/uploads/2010/01/flickr-cc-helper.jpg" alt="" title="flickr-cc-helper" width="396" height="329" class="alignnone size-full wp-image-4600" /></p>
<p>Now frankly I think this is best thing since</p>
<p><a title="IMG_1246" href="http://flickr.com/photos/floater81/3772734583/"><img src="http://farm3.static.flickr.com/2560/3772734583_aaf409b4b4.jpg" /></a><br /><small><a title="IMG_1246" href="http://flickr.com/photos/floater81/3772734583/">cc licensed flickr photo</a> shared by <a href="http://flickr.com/people/floater81/">mattburns.co.uk</a></small></p>
<p>Look! I just used it! Again.</p>
<p>I digress.</p>
<p>So I was going to use this as my usual way of attribution for flickr cc content.</p>
<p>Except, one photo came up with the message at the top; I guess the owner of the flickr account skipped town and closed down the account. Or make up any other story. Got hit by a meteorite. Killed their account in protest of not getting enough attribution (I was late again!).</p>
<p>But I got thinking, what happens then to the right to use it if the original is gone? And what would I link to as attribution? </p>
<p>I tweeted before really thinking&#8230;</p>
<p><img src="http://cogdogblog.com/wp-content/uploads/2010/01/tweet-cc.jpg" alt="" title="tweet-cc" width="500" height="162" class="alignnone size-full wp-image-4601" /></p>
<p>Plenty of people reminded me that <a href="http://creativecommons.org/licenses/by/3.0/legalcode">it was there in the license </a>(doh) the legal-verbiage-I-click-without-reading, section &#8220;7b Termination&#8221;</p>
<blockquote><p>Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.</p></blockquote>
<p>So once something is released into Creative Commons, it is there forever under the terms you originally got it, even if the original goes away, or the owner changes their mind. The only &#8220;termination&#8221; is if the user (me) does something to breach the terms of the license, like using something commercially when it is NC (??) or making jokes about lawyers.</p>
<p>Or even more clearly, <a href="http://wiki.creativecommons.org/wiki/index.php?title=Frequently_Asked_Questions&#038;oldid=4299#What_if_I_change_my_mind.3F">in the Creative commons FAQ</a>:</p>
<blockquote><p> <strong>What if I change my mind?</strong><br />
Creative Commons licenses are non-revocable. This means that you cannot stop someone, who has obtained your work under a Creative Commons license, from using the work according to that license. You can stop distributing your work under a Creative Commons license at any time you wish; but this will not withdraw any copies of your work that already exist under a Creative Commons license from circulation, be they verbatim copies, copies included in collective works and/or adaptations of your work. So you need to think carefully when choosing a Creative Commons license to make sure that you are happy for people to be using your work consistent with the terms of the license, even if you later stop distributing your work. </p></blockquote>
<p>, </p>
<p>And an even bigger &#8220;doh&#8221; for me because I can still provide attribution by photo credit (in text) without doing a link back. I am so hunk up on links and <a href="http://cogdogblog.com/2006/10/25/linktribution/">linktribution</a> that anything else feels weak.</p>
<p>So my original record keeping works, in those days, before <a href="http://userscripts.org/scripts/show/49395">my cool as bread Greasemonkey script</a>, I would keep text file logs (which was tedious, about a 4 trip copy/paste routine from web page to text file)</p>
<p><pre><pre>
2572694217_200b3646af.jpg
http://www.flickr.com/photos/19353461@N04/2572694217/
scimanal
</pre></pre></p>
<p>Where the first line is the file name I saved it, the second the link, and the third the flickr owner&#8217;s name.</p>
<p>So thanks &#8220;scimanal&#8221; for the photo, where-ever you are.</p>
<p>On a related front, as a number of people are hopping off of Firefox for Chrome, I&#8217;ll have to bone up on Chrome&#8217;s extensions. But, a neat discovery I found was a way to enable Greasemonkey Scripts in Safari- an opensource thing called <a href="http://creammonkey.sourceforge.net/">Greasekit</a>. It&#8217;s pretty easy, you first download a thingie called <a href="http://www.culater.net/software/SIMBL/SIMBL.php">SIMBL</a>. </p>
<p>You gotta love the geek cred behind this description:</p>
<blockquote><p>
<strong>Problem:</strong><br />
    Some applications do about 90% of what I want.</p>
<p><strong>Solution:</strong><br />
    Develop my own applications.</p>
<p><strong>Better Solution:</strong><br />
    Patch the application myself&#8230;</p>
<p>SIMBL (SIMple Bundle Loader) &#8211; pronounced like &#8220;symbol&#8221; or &#8220;cymbal&#8221; &#8211; enables hacks and plugins. For instance, SIMBL enables PithHelmet to enhance Safari. </p></blockquote>
<p>Wow, I am glad to have my PithHelmet!</p>
<p>Please ignore the diversion. Install SIMBL, its a small app that goes somewhere deep in the bowls of the computer. The download <a href="http://creammonkey.sourceforge.net/">GreaseKit</a>, more or less a small plug-in file that you bury about 7 folders deep in your home directory.</p>
<p>The next time you launch Safari, you have a Greasekit menu, where you can add Greasemonkey Scripts. I;ve not tried too many (well just mine, and it works):</p>
<p><img src="http://cogdogblog.com/wp-content/uploads/2010/01/greasemonkey-safari.jpg" alt="" title="greasemonkey-safari" width="500" height="333" class="alignnone size-full wp-image-4602" /></p>
<p>Keep those attributions a goin&#8217; Link if you can!</p>
]]></content:encoded>
			<wfw:commentRss>http://cogdogblog.com/2010/01/13/no-linked-attribution/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>New! Improved! With Extra Sheen! Flickr CC Attribution Helper</title>
		<link>http://cogdogblog.com/2009/08/03/flickr-cc-attribution-helper-new/</link>
		<comments>http://cogdogblog.com/2009/08/03/flickr-cc-attribution-helper-new/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 23:40:08 +0000</pubDate>
		<dc:creator>Alan Levine aka CogDog</dc:creator>
				<category><![CDATA[Blog Pile]]></category>
		<category><![CDATA[creative commons]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[greasemonkey]]></category>

		<guid isPermaLink="false">http://cogdogblog.com/?p=4030</guid>
		<description><![CDATA[cc licensed flickr photo shared by jamelah Mmm, sliced bread! So far maybe 140 people have installed my Flickr Creative Commons Attribution Helper- a GreaseMonkey script for Firefox. I use the sucker almost every day. It takes what used to be about a 5 click, 4 copy/paste operation to give me, in one motion, the HTML needed to embed a Creative Commons licensed flickr photo in my blog- and&#8211; the format is consistent every time. But last week, a tweet from Alec Courous got me thinking, that there are times when you want an attribution string that is not HTML, e.g., when you are using flickr photos in say a presentation. I took about 10 minutes to add that feature. The new version 0.3 of my script at http://userscripts.org/scripts/show/49395 now adds a second text box that has an attribution string in text: Either box is automatically select when you click [...]]]></description>
			<content:encoded><![CDATA[<p><a title="being my own trout" href="http://flickr.com/photos/jamelah/2236417949/"><img src="http://farm3.static.flickr.com/2138/2236417949_4e21f04d3b.jpg" /></a><br /><small><a title="being my own trout" href="http://flickr.com/photos/jamelah/2236417949/">cc licensed flickr photo</a> shared by <a href="http://flickr.com/people/jamelah/">jamelah</a></small></p>
<p>Mmm, sliced bread!</p>
<p>So far maybe 140 people have installed <a href="http://cogdogblog.com/2009/05/17/flickr-cc-attribution-helper/">my Flickr Creative Commons Attribution Helper</a>- a GreaseMonkey script for Firefox. I use the sucker almost every day.</p>
<p>It takes what used to be about a 5 click, 4 copy/paste operation to give me, in one motion, the HTML needed to embed a Creative Commons licensed flickr photo in my blog- and&#8211; the format is consistent every time.</p>
<p>But last week, a tweet from Alec Courous got me thinking, that there are times when you want an attribution string that is <em>not</em> HTML, e.g., when you are using flickr photos in say a presentation. </p>
<p>I took about 10 minutes to add that feature.</p>
<p>The new version 0.3 of my script at <a href="http://userscripts.org/scripts/show/49395">http://userscripts.org/scripts/show/49395</a> now adds a second text box that has an attribution string in text:</p>
<p><img src="http://cogdogblog.com/wp-content/uploads/2009/08/cc-attribution-helper-new2.jpg" alt="cc-attribution-helper-new2" title="cc-attribution-helper-new2" width="383" height="314" class="alignnone size-full wp-image-4031" /></p>
<p>Either box is automatically select when you click it, so it is just a command-c away from being used.</p>
<p>The one piece is that maybe you want your attribution done a different way- mine is formatted like:</p>
<blockquote><p>cc licensed flickr photo by Zzzzzz Zzzzzzzzz: http://flickr.com/photos/xxxxx/ZZZZZZZZZ/</p></blockquote>
<p>Hey, I had to choose something. If there is something better, please make suggestions, but you can also edit the script yourself! Just look under the Firefox <strong>Tools</strong> menu for <strong>Greasemonkey</strong>, then select <strong>Manage User Scripts</strong>. Select the script you want to edit&#8230; and click the <strong>Edit</strong> button (you may have to select a text editor; I use BBEdit Lite, but whatever you have for a plain text editor will do).</p>
<p>You will need to edit line 67, and it would help to know a bot of JavaScript for how it puts strings together:</p>
<pre class="brush: javascript">
// create content to insert to page
   div_attrib.innerHTML = &#039;&lt;br /&gt;&lt;br /&gt;CC Attribution (HTML)&lt;br /&gt;&lt;textarea rows=&quot;5&quot; onClick=&quot;this.select()&quot; name=&quot;ccattweb&quot;&gt;&lt;a title=&quot;&#039; + phototitle + &#039;&quot; href=&quot;&#039; + photolink + &#039;&quot;&gt;&lt;img src=&quot;&#039; + photosrc + &#039;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;small&gt;&lt;a title=&quot;&#039; + phototitle + &#039;&quot; href=&quot;&#039; + photolink + &#039;&quot;&gt;&#039;  + &#039;cc licensed flickr photo&lt;/a&gt; shared by &lt;a href=&quot;&#039; + userlink + &#039;&quot;&gt;&#039; + usernick + &#039;&lt;/a&gt;&lt;/small&gt;&lt;/textarea&gt;&lt;br /&gt;CC Attribution (text)&lt;br /&gt;&lt;textarea rows=&quot;5&quot; onClick=&quot;this.select()&quot; name=&quot;ccatttxt&quot;&gt;cc licensed flickr photo by &#039; + usernick + &#039;: &#039; + photolink + &#039;&lt;/textarea&gt;&#039;;
</pre>
<p>And it is the last part that is the text version. You could do something shorter like:</p>
<pre class="brush: javascript">
// create content to insert to page
   div_attrib.innerHTML = &#039;&lt;br /&gt;&lt;br /&gt;CC Attribution (HTML)&lt;br /&gt;&lt;textarea rows=&quot;5&quot; onClick=&quot;this.select()&quot; name=&quot;ccattweb&quot;&gt;&lt;a title=&quot;&#039; + phototitle + &#039;&quot; href=&quot;&#039; + photolink + &#039;&quot;&gt;&lt;img src=&quot;&#039; + photosrc + &#039;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;small&gt;&lt;a title=&quot;&#039; + phototitle + &#039;&quot; href=&quot;&#039; + photolink + &#039;&quot;&gt;&#039;  + &#039;cc licensed flickr photo&lt;/a&gt; shared by &lt;a href=&quot;&#039; + userlink + &#039;&quot;&gt;&#039; + usernick + &#039;&lt;/a&gt;&lt;/small&gt;&lt;/textarea&gt;&lt;br /&gt;CC Attribution (text)&lt;br /&gt;&lt;textarea rows=&quot;5&quot; onClick=&quot;this.select()&quot; name=&quot;ccatttxt&quot;&gt;cc licensed flickr photo: &#039; + photolink + &#039;&lt;/textarea&gt;&#039;;
</pre>
<p>or longer like:</p>
<pre class="brush: javascript">
// create content to insert to page
   div_attrib.innerHTML = &#039;&lt;br /&gt;&lt;br /&gt;CC Attribution (HTML)&lt;br /&gt;&lt;textarea rows=&quot;5&quot; onClick=&quot;this.select()&quot; name=&quot;ccattweb&quot;&gt;&lt;a title=&quot;&#039; + phototitle + &#039;&quot; href=&quot;&#039; + photolink + &#039;&quot;&gt;&lt;img src=&quot;&#039; + photosrc + &#039;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;small&gt;&lt;a title=&quot;&#039; + phototitle + &#039;&quot; href=&quot;&#039; + photolink + &#039;&quot;&gt;&#039;  + &#039;cc licensed flickr photo&lt;/a&gt; shared by &lt;a href=&quot;&#039; + userlink + &#039;&quot;&gt;&#039; + usernick + &#039;&lt;/a&gt;&lt;/small&gt;&lt;/textarea&gt;&lt;br /&gt;CC Attribution (text)&lt;br /&gt;&lt;textarea rows=&quot;5&quot; onClick=&quot;this.select()&quot; name=&quot;ccatttxt&quot;&gt;creative commons licensed photo&quot;&#039; phototitle &quot;&#039;&quot; by flickr user:&#039; + usernick + &#039; found at &#039; + photolink + &#039;&lt;/textarea&gt;&#039;;
</pre>
<p>Your mileage may vary.</p>
<p>So what do you think? This is way better than sliced bread! And its free!</p>
]]></content:encoded>
			<wfw:commentRss>http://cogdogblog.com/2009/08/03/flickr-cc-attribution-helper-new/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Getting Around Google Search&#8217;s Theft of Copiable URLs</title>
		<link>http://cogdogblog.com/2009/07/15/google-hides-urls/</link>
		<comments>http://cogdogblog.com/2009/07/15/google-hides-urls/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 18:33:03 +0000</pubDate>
		<dc:creator>Alan Levine aka CogDog</dc:creator>
				<category><![CDATA[Blog Pile]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://cogdogblog.com/?p=3901</guid>
		<description><![CDATA[cc licensed flickr photo shared by lamont_cranston One of my primary uses of Google Search is locating URLs for web pages I am creating, blog posts, etc. The way Google outputs search results in a PITA as the links to the results are obfuscated in redirects through google (things they do to harvest our actions). In the old days, the search result was a link to the actual result. You could copy it and move on. They changed it back and forth a few times on 2005, but since then, that blue link is worthless as a copiable URL. Since then, I have been doing the tedious manual copy of the real URL that is written in green text below the results. Until recently. For long URLs, Google is now even strealing that as useful information, as it abbreviates long URLs with ellipses in the middle. As is the only [...]]]></description>
			<content:encoded><![CDATA[<p><a title="aafad 24/365 that belongs in a museum!" href="http://flickr.com/photos/theshadowknows/2572890462/"><img src="http://farm4.static.flickr.com/3053/2572890462_e0080ed397.jpg" /></a><br /><small><a title="aafad 24/365 that belongs in a museum!" href="http://flickr.com/photos/theshadowknows/2572890462/">cc licensed flickr photo</a> shared by <a href="http://flickr.com/people/theshadowknows/">lamont_cranston</a></small></p>
<p>One of my primary uses of Google Search is locating URLs for web pages I am creating, blog posts, etc. The way Google outputs search results in a PITA as the links to the results are obfuscated in redirects through google (things they do to harvest our actions). </p>
<p>In the old days, the search result was a link to the actual result. You could copy it and move on. T<a href="http://cogdogblog.com/2005/10/19/google-links-are-back/">hey changed it back and forth a few times on 2005</a>, but since then, that blue link is worthless as a copiable URL. Since then, I have been doing the tedious manual copy of the real URL that is written in green text below the results.</p>
<p>Until recently. For long URLs, Google is now even strealing that as useful information, as it abbreviates long URLs with ellipses in the middle. As is the only way to get the actual URL for a web search result is to follow the link to the page (cause that&#8217;s What Google Wants&#8211; its lot like I am reading the page, I am scraping the URL).</p>
<p>Huh?</p>
<p>Here is a search I did this morning on <a href="http://www.google.com/search?q=augmented+reality">augmented reality</a>. The blue links to the results do not provide URLs I can copy. The green text for the second long link is now re-written with &#8220;&#8230;.&#8221; i the middle, so that is a URL I cannot use. I am hosed.</p>
<p><img src="http://cogdogblog.com/wp-content/uploads/2009/07/Picture-38.jpg" alt="Picture 38" title="Picture 38" width="500" height="324" class="alignnone size-full wp-image-3902" /></p>
<p>So I started thinking I might have to write a Greasemonkey Script that would display the actual links. I went to <a href="http://userscripts.org">http://userscripts.org</a> looking for some existing scripts I could use as models to parse the results (have you ever looked at the source of a page of google results? It&#8217;s not your grandpa&#8217;a HTML). </p>
<p>But then it dawned on me&#8230;</p>
<p>What is someone had already done this?</p>
<p>doh.</p>
<p>They did.</p>
<p>Dugeen had created the<a href="http://userscripts.org/scripts/show/53226"> Obviously Scrub Google Redirect Links</a> which works perfectly- it adds the real link adjacent to the blue on produced by Google- and this is one I can right/controil click to copy the link URL right from the search results! Yay.</p>
<p><img src="http://cogdogblog.com/wp-content/uploads/2009/07/Picture-37.jpg" alt="Picture 37" title="Picture 37" width="500" height="346" class="alignnone size-full wp-image-3903" /></p>
<p>This is so handy.</p>
<p>And also&#8211; despite excitement for new web browsers, something lacking the ability to re-cast web content like Greasemonkey does is going to make it hard for me to step away from Firefox.</p>
<p>Hah, take that Google &#8211; you url obfuscating boogers! Gotcha.</p>
]]></content:encoded>
			<wfw:commentRss>http://cogdogblog.com/2009/07/15/google-hides-urls/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Noticed Anything Different in Flickr Searches?</title>
		<link>http://cogdogblog.com/2009/07/06/flickr-searches/</link>
		<comments>http://cogdogblog.com/2009/07/06/flickr-searches/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 06:16:47 +0000</pubDate>
		<dc:creator>Alan Levine aka CogDog</dc:creator>
				<category><![CDATA[Blog Pile]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://cogdogblog.com/?p=3846</guid>
		<description><![CDATA[I&#8217;ve seen it for a little while but just noticed more carefully that flickr has redesigned the results of its search. Previously you only got 10 results per page that required scrolling to review. Now you get a layout of smaller previews&#8211; and this is what is neat- the bigger you make your page, the more results you get per page (so go full screen on that Cinema Display). But even better- there is a little &#8220;i&#8221; in the lower right corner that when you click it, provides in a lightbox overlay, a bigger preview, numbers of views, tags, dates taken&#8211; and if you are searching flickr wide, you can filter out that photographer from the results (I would guess if you think their photos are irrelevant or in appropriate or &#8230;?). This was the search for my old dog friend among my photos It&#8217;s small, maybe even overdue, but [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve seen it for a little while but just noticed more carefully that flickr has redesigned the results of its search. Previously you only got 10 results per page that required scrolling to review. Now you get a layout of smaller previews&#8211; and this is what is neat- the bigger you make your page, the more results you get per page (so go full screen on that Cinema Display).</p>
<p>But even better- there is a little &#8220;i&#8221; in the lower right corner that when you click it, provides in a lightbox overlay, a bigger preview, numbers of views, tags, dates taken&#8211; and if you are searching flickr wide, you can filter out that photographer from the results (I would guess if you think their photos are irrelevant or in appropriate or &#8230;?). This was the <a href="http://www.flickr.com/search/?q=cadu&#038;w=37996646802@N01&#038;m=&#038;s=">search for my old dog friend among my photos</a></p>
<p><a href="http://www.flickr.com/search/?q=cadu&#038;w=37996646802@N01&#038;m=&#038;s="><img src="http://cogdogblog.com/wp-content/uploads/2009/07/flickr-search.jpg" alt="flickr-search" title="flickr-search" width="500" height="380" class="alignnone size-full wp-image-3847" /></a></p>
<p>It&#8217;s small, maybe even overdue, but helpful.</p>
<p>Of course, I still do my creative commons search on <a href="http://compfight.com/">compfight</a> and wish they would copy this preview overlay!</p>
<p>But hey I don&#8217;t get this. I made (what I think is) <a href="http://userscripts.org/scripts/show/49395">this awesome Firefox Greasemonkey script</a> that adds a full cut and paste code to provide a fully attributed, captioned link in blog posts. I use it all the time, and there&#8217;s only 105 downloads for something that can reduce the back and forth copy pasting of giving attribution from like 7 steps to one. WTF? Even more pathetic <a href="http://userscripts.org/scripts/fans/49395">I am the only fan</a> ;-)</p>
<p>Here&#8217;s how it works. Any flickr image that has a creative commons license will display a copyable block of HTML code:</p>
<p><img src="http://cogdogblog.com/wp-content/uploads/2009/07/sepia-cadu.jpg" alt="sepia-cadu" title="sepia-cadu" width="500" height="319" class="alignnone size-full wp-image-3848" /></p>
<p>Where by copying and then pasting the code- you get the 500pixel image, a link to the original, and a caption with links for the image and creator&#8211; e.g.</p>
<p><a title="Sepia Cadu" href="http://flickr.com/photos/cogdog/2343736133/"><img src="http://farm3.static.flickr.com/2394/2343736133_1d7c49cc0c.jpg" /></a><br /><small><a title="Sepia Cadu" href="http://flickr.com/photos/cogdog/2343736133/">cc licensed flickr photo</a> shared by <a href="http://flickr.com/people/cogdog/">cogdogblog</a></small></p>
<p>I thought that was pretty damned handy! Try it out yourself <a href="http://userscripts.org/scripts/show/49395">http://userscripts.org/scripts/show/49395</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cogdogblog.com/2009/07/06/flickr-searches/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Flickr CC Attribution Helper Greasemonkey Script</title>
		<link>http://cogdogblog.com/2009/05/17/flickr-cc-attribution-helper/</link>
		<comments>http://cogdogblog.com/2009/05/17/flickr-cc-attribution-helper/#comments</comments>
		<pubDate>Sun, 17 May 2009 18:21:46 +0000</pubDate>
		<dc:creator>Alan Levine aka CogDog</dc:creator>
				<category><![CDATA[Blog Pile]]></category>
		<category><![CDATA[creative commons]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[greasemonkey]]></category>

		<guid isPermaLink="false">http://cogdogblog.com/?p=3657</guid>
		<description><![CDATA[This morning I drove down a new coding rode- I&#8217;ve never done a Greasemonkey script, so with some help poking around ones I have and Dive into Greasemonkey &#8212; here is my crude Flickr CC Attribution Helper. What is does is adds a box on the right side of flickr photo pages &#8212; only for photos with a Creative Commons License &#8212; some HTML you can copy and paste for a blog post. I found an existing script Flickr Photo Link but that was meant to grab the entire image URL (mine is meant for a caption assuming you have already inserted an image into a blog post or web page). Also, that 3 year old script did not even work because it was not parsing correctly for the user name the way it does the XPath search on the &#60;b&#62; tag (looks like flick added a foaf attribute), but [...]]]></description>
			<content:encoded><![CDATA[<p>This morning I drove down a new coding rode- I&#8217;ve never done a Greasemonkey script, so with some help poking around ones I have and <a href="http://diveintogreasemonkey.org">Dive into Greasemonkey</a> &#8212; here is my crude <a href="http://userscripts.org/scripts/show/49395">Flickr CC Attribution Helper</a>. </p>
<p>What is does is adds a box on the right side of flickr photo pages &#8212; only for photos with a Creative Commons License &#8212; some HTML you can copy and paste for a blog post.</p>
<p><img src="http://cogdogblog.com/wp-content/uploads/2009/05/cc-attribub.jpg" alt="cc-attribub" title="cc-attribub" width="500" height="317" class="alignnone size-full wp-image-3658" /></p>
<p>I found an existing script <a href="http://userscripts.org/scripts/show/4914">Flickr Photo Link</a> but that was meant to grab the entire image URL (mine is meant for a caption assuming you have already inserted an image into a blog post or web page). Also, that 3 year old script did not even work because it was not parsing correctly for the user name the way it does the XPath search on the &lt;b&gt; tag (looks like flick added a <code>foaf</code> attribute), but also, I did not like the way it stuck the code to copy in the comment text area which would get in the way of making comments.</p>
<p>But that script was a good start, and with a little bit of trial an error, I have the HTML being inserted in a text area on the sidebar. I have not yet mastered how to exactly place it using the flickr pages DOm structure, so it is hanging in the Tags content part. If someone better at GreaseMonkeying can help me move it say below the license area, I&#8217;d be a tali wagging coder.</p>
<p>And this is really set up for the way I write my photo links. I don;t just insert the image link from flickr; I download the image, upload to my blog, and then add after something like for say, this <a href="http://www.flickr.com/photos/cogdog/3425479991/">dreamy I&#8217;d like to be there now image</a>:</p>
<p><pre><pre>&lt;br /&gt;&lt;small&gt;
&lt;a title=&quot;Outlet on the Sound&quot; 
href=&quot;http://flickr.com/photos/cogdog/3425479991/&quot;&gt;
cc licensed flickr photo&lt;/a&gt; shared by 
&lt;a href=&quot;http://flickr.com/people/cogdog/&quot;&gt;
cogdogblog&lt;/a&gt;&lt;/small&gt;</pre></pre></p>
<p>or as displayed:</p>
<p><a href="http://www.flickr.com/photos/cogdog/3425479991/in/set-72157616539699766"><img src="http://cogdogblog.com/wp-content/uploads/2009/05/3425479991_d67c048161.jpg" alt="3425479991_d67c048161" title="3425479991_d67c048161" width="500" height="375" class="alignnone size-full wp-image-3659" /></a><br /><small><a title="Outlet on the Sound" href="http://flickr.com/photos/cogdog/3425479991/">cc licensed flickr photo</a> shared by <a href="http://flickr.com/people/cogdog/">cogdogblog</a></small></p>
<p>So in some sense, this is hardwired to the way I compose my attribution, although, it does not take too much to edit the script. I may add as a default the embed code for the image itself from flickr, since that is the way people likely use images anyhow (I like to have them on my own server).</p>
<p>I should also add some javascript that selects all the text when the mouse clicks in the box.</p>
<p>This is really just a crude first cut at this script, more to see if it is of use (and heck, I will use it if no one else does).  Give it a try and let me know what it needs <a href="http://userscripts.org/scripts/show/49395">http://userscripts.org/scripts/show/49395</a></p>
<p><strong>UPDATE:</strong> With help form Patrick, the 0.2 version of the script now is placed better in the flickr sidebar. I added to the HTML you get the link to display the image and link to the source photo, and added script so when you click in the field, the text is automatically selected for quick copying</p>
]]></content:encoded>
			<wfw:commentRss>http://cogdogblog.com/2009/05/17/flickr-cc-attribution-helper/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/us/</creativeCommons:license>
	</item>
	</channel>
</rss>

