<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Flickr CC Attribution Helper Greasemonkey Script</title>
	<atom:link href="http://cogdogblog.com/2009/05/17/flickr-cc-attribution-helper/feed/" rel="self" type="application/rss+xml" />
	<link>http://cogdogblog.com/2009/05/17/flickr-cc-attribution-helper/</link>
	<description>Alan Levine&#039;s space for barking about and playing with technology</description>
	<lastBuildDate>Sat, 20 Mar 2010 06:36:43 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chris L</title>
		<link>http://cogdogblog.com/2009/05/17/flickr-cc-attribution-helper/comment-page-1/#comment-69293</link>
		<dc:creator>Chris L</dc:creator>
		<pubDate>Wed, 20 May 2009 15:56:12 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/?p=3657#comment-69293</guid>
		<description>Brian&#039;s description fits: this is something I didn&#039;t realize I needed until I tried it. I can&#039;t believe how many times I&#039;ve gone through the steps of attributing pics manually and never considered making it easier. I love the way you notice those kinds of things in your own work flow. CogDogMetaCognition.</description>
		<content:encoded><![CDATA[<p>Brian&#8217;s description fits: this is something I didn&#8217;t realize I needed until I tried it. I can&#8217;t believe how many times I&#8217;ve gone through the steps of attributing pics manually and never considered making it easier. I love the way you notice those kinds of things in your own work flow. CogDogMetaCognition.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Murray-John</title>
		<link>http://cogdogblog.com/2009/05/17/flickr-cc-attribution-helper/comment-page-1/#comment-69289</link>
		<dc:creator>Patrick Murray-John</dc:creator>
		<pubDate>Wed, 20 May 2009 14:10:33 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/?p=3657#comment-69289</guid>
		<description>Know what you mean about XPaths....they work great until someone changes their site design.  I have a couple GM scripts that need revision every year or so as the site design changes.  Usually, though, it&#039;s really quick and easy changes.  I suspect that the XPath above (looks like I was submitting it while you were writing your comment!) will be fairly easy to maintain.  But then again I tend to be way overly optimistic about such things</description>
		<content:encoded><![CDATA[<p>Know what you mean about XPaths&#8230;.they work great until someone changes their site design.  I have a couple GM scripts that need revision every year or so as the site design changes.  Usually, though, it&#8217;s really quick and easy changes.  I suspect that the XPath above (looks like I was submitting it while you were writing your comment!) will be fairly easy to maintain.  But then again I tend to be way overly optimistic about such things</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Murray-John</title>
		<link>http://cogdogblog.com/2009/05/17/flickr-cc-attribution-helper/comment-page-1/#comment-69288</link>
		<dc:creator>Patrick Murray-John</dc:creator>
		<pubDate>Wed, 20 May 2009 14:06:02 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/?p=3657#comment-69288</guid>
		<description>This XPath seems happier:
&quot;//p[@class=&#039;Privacy&#039;]&quot;</description>
		<content:encoded><![CDATA[<p>This XPath seems happier:<br />
&#8220;//p[@class='Privacy']&#8220;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Levine aka CogDog</title>
		<link>http://cogdogblog.com/2009/05/17/flickr-cc-attribution-helper/comment-page-1/#comment-69287</link>
		<dc:creator>Alan Levine aka CogDog</dc:creator>
		<pubDate>Wed, 20 May 2009 14:05:24 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/?p=3657#comment-69287</guid>
		<description>@Patrick Murray-John: Yeah I just found that out while testing. I was worried too about such a hard coded path. If flicikr&#039;s css used more ids than classes, it would be easier. It can slip below that whol chunk if it helps ir maybe I have to slip it in the image body area. I was also trying when I made it to perhaps isnert it as a link that when clicked would provide the chunk in a JS prompt() box.</description>
		<content:encoded><![CDATA[<p>@Patrick Murray-John: Yeah I just found that out while testing. I was worried too about such a hard coded path. If flicikr&#8217;s css used more ids than classes, it would be easier. It can slip below that whol chunk if it helps ir maybe I have to slip it in the image body area. I was also trying when I made it to perhaps isnert it as a link that when clicked would provide the chunk in a JS prompt() box.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Murray-John</title>
		<link>http://cogdogblog.com/2009/05/17/flickr-cc-attribution-helper/comment-page-1/#comment-69286</link>
		<dc:creator>Patrick Murray-John</dc:creator>
		<pubDate>Wed, 20 May 2009 14:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/?p=3657#comment-69286</guid>
		<description>Ooops...I&#039;m sloppy...XPath doesn&#039;t necc. work...back to drawing board</description>
		<content:encoded><![CDATA[<p>Ooops&#8230;I&#8217;m sloppy&#8230;XPath doesn&#8217;t necc. work&#8230;back to drawing board</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Murray-John</title>
		<link>http://cogdogblog.com/2009/05/17/flickr-cc-attribution-helper/comment-page-1/#comment-69285</link>
		<dc:creator>Patrick Murray-John</dc:creator>
		<pubDate>Wed, 20 May 2009 13:42:51 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/?p=3657#comment-69285</guid>
		<description>Alan, 
Awesome!  I love it when GreaseMonkey makes a wee niggling little task so much smoother!

Here&#039;s a variation on your script that I think should place the textarea below the license info.  It&#039;s replacing what you have starting with getting the element id=&quot;thetags&quot;, does an XPath to get the p containing the Privacy info, and slaps the textarea into there instead. I feel a little dirty for putting a div inside a p, but I&#039;ll likely live.

var liscP = document.evaluate(&quot;/html/body/div[11]/table/tbody/tr/td[2]/p&quot;,
			document, null, XPathResult.FIRST_ORDERED_NODE_TYPE,
			null).singleNodeValue;

if (liscP) {      
     		var div_attrib = document.createElement(&#039;div&#039;);
     		div_attrib.innerHTML = &#039;CC Attribution String&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; rel=&quot;nofollow&quot;&gt;&#039; + usernick + &#039;&lt;/a&gt;&#039;;
			    		
liscP.appendChild(div_attrib);

}</description>
		<content:encoded><![CDATA[<p>Alan,<br />
Awesome!  I love it when GreaseMonkey makes a wee niggling little task so much smoother!</p>
<p>Here&#8217;s a variation on your script that I think should place the textarea below the license info.  It&#8217;s replacing what you have starting with getting the element id=&#8221;thetags&#8221;, does an XPath to get the p containing the Privacy info, and slaps the textarea into there instead. I feel a little dirty for putting a div inside a p, but I&#8217;ll likely live.</p>
<p>var liscP = document.evaluate(&#8220;/html/body/div[11]/table/tbody/tr/td[2]/p&#8221;,<br />
			document, null, XPathResult.FIRST_ORDERED_NODE_TYPE,<br />
			null).singleNodeValue;</p>
<p>if (liscP) {<br />
     		var div_attrib = document.createElement(&#8216;div&#8217;);<br />
     		div_attrib.innerHTML = &#8216;CC Attribution String<a title="' + phototitle + '" href="' + photolink +<br />
			'">&#8216;  + &#8216;cc licensed flickr photo</a> shared by <a href="' + userlink + '" rel="nofollow">&#8216; + usernick + &#8216;</a>&#8216;;</p>
<p>liscP.appendChild(div_attrib);</p>
<p>}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Levine aka CogDog</title>
		<link>http://cogdogblog.com/2009/05/17/flickr-cc-attribution-helper/comment-page-1/#comment-69277</link>
		<dc:creator>Alan Levine aka CogDog</dc:creator>
		<pubDate>Wed, 20 May 2009 00:25:12 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/?p=3657#comment-69277</guid>
		<description>@Scott Leslie: That&#039;s nice, but Tony is in a stratosphere of his own. Thanks, but it still needs some work- gotta figure out how to place it better, and make it copyable when you click the field</description>
		<content:encoded><![CDATA[<p>@Scott Leslie: That&#8217;s nice, but Tony is in a stratosphere of his own. Thanks, but it still needs some work- gotta figure out how to place it better, and make it copyable when you click the field</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://cogdogblog.com/2009/05/17/flickr-cc-attribution-helper/comment-page-1/#comment-69275</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 19 May 2009 22:56:58 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/?p=3657#comment-69275</guid>
		<description>I didn&#039;t quite realise it, but I&#039;ve been waiting for this for a long time. I just used it for the first time, and love it!</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t quite realise it, but I&#8217;ve been waiting for this for a long time. I just used it for the first time, and love it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Leslie</title>
		<link>http://cogdogblog.com/2009/05/17/flickr-cc-attribution-helper/comment-page-1/#comment-69274</link>
		<dc:creator>Scott Leslie</dc:creator>
		<pubDate>Tue, 19 May 2009 22:02:35 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/?p=3657#comment-69274</guid>
		<description>I can&#039;t believe I didn&#039;t already have an &quot;all-hail-cogdog&quot; tag to go alongside the &quot;all-hail-tony-hirst&quot; one; this would be like the 5 thing at least tagged like that. Nice one!</description>
		<content:encoded><![CDATA[<p>I can&#8217;t believe I didn&#8217;t already have an &#8220;all-hail-cogdog&#8221; tag to go alongside the &#8220;all-hail-tony-hirst&#8221; one; this would be like the 5 thing at least tagged like that. Nice one!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerry</title>
		<link>http://cogdogblog.com/2009/05/17/flickr-cc-attribution-helper/comment-page-1/#comment-69272</link>
		<dc:creator>Gerry</dc:creator>
		<pubDate>Tue, 19 May 2009 16:59:37 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/?p=3657#comment-69272</guid>
		<description>This is cool Alan - I will give it a workout when putting together a course I am working on. This will make it easy to attribute the photos I use.</description>
		<content:encoded><![CDATA[<p>This is cool Alan &#8211; I will give it a workout when putting together a course I am working on. This will make it easy to attribute the photos I use.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
