<?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: Lightroom Plugin Development: Adding a URL Handler to a Lightroom Plugin</title>
	<atom:link href="http://regex.info/blog/2012-01-17/1926/feed" rel="self" type="application/rss+xml" />
	<link>http://regex.info/blog/2012-01-17/1926</link>
	<description>Not a photo blog. A personal blog with photos.</description>
	<lastBuildDate>Wed, 23 May 2012 20:38:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Rob Cole</title>
		<link>http://regex.info/blog/2012-01-17/1926#comment-45992</link>
		<dc:creator>Rob Cole</dc:creator>
		<pubDate>Fri, 13 Apr 2012 13:47:51 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/2012-01-17/1926#comment-45992</guid>
		<description>For those wanting an example of a working plugin which uses a url handler:

http://www.robcole.com/Rob/ProductsAndServices/CookmarksLrPlugin

PS - I haven&#039;t had any problems using the links via IE - I&#039;d be curious if anybody else has success or failure.

Rob</description>
		<content:encoded><![CDATA[<p>For those wanting an example of a working plugin which uses a url handler:</p>
<p><a href="http://www.robcole.com/Rob/ProductsAndServices/CookmarksLrPlugin" rel="nofollow">http://www.robcole.com/Rob/ProductsAndServices/CookmarksLrPlugin</a></p>
<p>PS &#8211; I haven&#8217;t had any problems using the links via IE &#8211; I&#8217;d be curious if anybody else has success or failure.</p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don McKee</title>
		<link>http://regex.info/blog/2012-01-17/1926#comment-45987</link>
		<dc:creator>Don McKee</dc:creator>
		<pubDate>Thu, 12 Apr 2012 23:01:59 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/2012-01-17/1926#comment-45987</guid>
		<description>Just to follow up for anyone else happening by, I&#039;ve worked around the problems I was having with IE.  I had been having the external site that I was authenticating with respond directly with my &quot;lightroom://...&quot; callback URL (via HTTP 302 redirect).  IE didn&#039;t like this and displayed an error page.

I discovered that IE &lt;em&gt;would&lt;/em&gt; work correctly if I first directed it to a web page containing a &quot;meta refresh&quot; tag with my &quot;lightroom://...&quot; URL (or a user-clickable link).  So, I changed things up to have the external site redirect to a web page on my site containing, among other stuff, one line of PHP script to dynamically build my Lightroom callback URL with the parameters passed from the external site.

Discounting the fact that my plug-in is no longer completely self-contained, this workaround is sort of a Good Thing because my intermediate web page has verbiage and screen shots about dealing with the various application launch dialogs that may be encountered.

-Don</description>
		<content:encoded><![CDATA[<p>Just to follow up for anyone else happening by, I&#8217;ve worked around the problems I was having with IE.  I had been having the external site that I was authenticating with respond directly with my &#8220;lightroom://&#8230;&#8221; callback URL (via HTTP 302 redirect).  IE didn&#8217;t like this and displayed an error page.</p>
<p>I discovered that IE <em>would</em> work correctly if I first directed it to a web page containing a &#8220;meta refresh&#8221; tag with my &#8220;lightroom://&#8230;&#8221; URL (or a user-clickable link).  So, I changed things up to have the external site redirect to a web page on my site containing, among other stuff, one line of PHP script to dynamically build my Lightroom callback URL with the parameters passed from the external site.</p>
<p>Discounting the fact that my plug-in is no longer completely self-contained, this workaround is sort of a Good Thing because my intermediate web page has verbiage and screen shots about dealing with the various application launch dialogs that may be encountered.</p>
<p>-Don</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don McKee</title>
		<link>http://regex.info/blog/2012-01-17/1926#comment-45931</link>
		<dc:creator>Don McKee</dc:creator>
		<pubDate>Fri, 06 Apr 2012 17:11:02 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/2012-01-17/1926#comment-45931</guid>
		<description>Thanks for posting this how-to, Jeffrey!  The process worked fine on my Win XP box running Firefox as my default browser.  However, when I tried it with Internet Explorer 8, IE complained &quot;Internet Explorer cannot display the webpage&quot;.  Do you have any insight into how Lightroom defines itself as a handler for &quot;lightroom://...&quot; URLs so I can see about making this work across-the-board?  Is this one of those &quot;...rare OS/browser combinations&quot; you&#039;re talking about (doesn&#039;t seem that rare to me, though ;-) )?

Again, thanks a bunch for documenting this!

-Don

&lt;span class=&#039;jfriedl&#039;&gt;Unfortunately, my &quot;insight&quot; in this area extends to &quot;try reinstalling Lightroom, and I bet it&#039;ll work&quot;.  I&#039;d &lt;i&gt;think&lt;/i&gt; it should work even after switching default browsers, but perhaps that requires a Lr reinstall. &#8212;Jeffrey&lt;/span&gt;</description>
		<content:encoded><![CDATA[<p>Thanks for posting this how-to, Jeffrey!  The process worked fine on my Win XP box running Firefox as my default browser.  However, when I tried it with Internet Explorer 8, IE complained &#8220;Internet Explorer cannot display the webpage&#8221;.  Do you have any insight into how Lightroom defines itself as a handler for &#8220;lightroom://&#8230;&#8221; URLs so I can see about making this work across-the-board?  Is this one of those &#8220;&#8230;rare OS/browser combinations&#8221; you&#8217;re talking about (doesn&#8217;t seem that rare to me, though <img src='http://regex.info/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  )?</p>
<p>Again, thanks a bunch for documenting this!</p>
<p>-Don</p>
<p><span class='jfriedl'>Unfortunately, my &#8220;insight&#8221; in this area extends to &#8220;try reinstalling Lightroom, and I bet it&#8217;ll work&#8221;.  I&#8217;d <i>think</i> it should work even after switching default browsers, but perhaps that requires a Lr reinstall. &mdash;Jeffrey</span></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle</title>
		<link>http://regex.info/blog/2012-01-17/1926#comment-45151</link>
		<dc:creator>Kyle</dc:creator>
		<pubDate>Sat, 21 Jan 2012 05:08:13 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/2012-01-17/1926#comment-45151</guid>
		<description>This is the kind of thing that I wish Adobe would touch on/include in their SDK. Hopefully it&#039;s included in Lr4 SDK.

It&#039;s a small thing, but makes things a &lt;i&gt;lot&lt;/i&gt; easier for end users.

Thanks, Jeffrey!</description>
		<content:encoded><![CDATA[<p>This is the kind of thing that I wish Adobe would touch on/include in their SDK. Hopefully it&#8217;s included in Lr4 SDK.</p>
<p>It&#8217;s a small thing, but makes things a <i>lot</i> easier for end users.</p>
<p>Thanks, Jeffrey!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Cole</title>
		<link>http://regex.info/blog/2012-01-17/1926#comment-45137</link>
		<dc:creator>Rob Cole</dc:creator>
		<pubDate>Wed, 18 Jan 2012 22:29:07 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/2012-01-17/1926#comment-45137</guid>
		<description>Well, if you issue an http &quot;get&quot;, then you can read a response. So, if a web-app issued a lightroom://... url, would it possible to know if the plugin is disabled, and hence the url fell on deaf ears? Would it be possible for a web-app to issue a lightroom url that requests a bunch of info from a plugin for use in the web-app?

From SF, CA, USA

&lt;span class=&#039;jfriedl&#039;&gt;Ah, I see, sorry, I was looking at it from the wrong point of view. No, I don&#039;t see any way for the issuer of the &lt;b&gt;lightroom://&lt;/b&gt; url to get any follow-on information (including even whether Lightroom is installed) without going through all kinds of hoops of passing something like a session ID one way, then waiting for a response on some other avenue agreed upon in advance by the issuer and the plugin. &#8212;Jeffrey&lt;/span&gt;</description>
		<content:encoded><![CDATA[<p>Well, if you issue an http &#8220;get&#8221;, then you can read a response. So, if a web-app issued a lightroom://&#8230; url, would it possible to know if the plugin is disabled, and hence the url fell on deaf ears? Would it be possible for a web-app to issue a lightroom url that requests a bunch of info from a plugin for use in the web-app?</p>
<p>From SF, CA, USA</p>
<p><span class='jfriedl'>Ah, I see, sorry, I was looking at it from the wrong point of view. No, I don&#8217;t see any way for the issuer of the <b>lightroom://</b> url to get any follow-on information (including even whether Lightroom is installed) without going through all kinds of hoops of passing something like a session ID one way, then waiting for a response on some other avenue agreed upon in advance by the issuer and the plugin. &mdash;Jeffrey</span></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Cole</title>
		<link>http://regex.info/blog/2012-01-17/1926#comment-45135</link>
		<dc:creator>Rob Cole</dc:creator>
		<pubDate>Wed, 18 Jan 2012 19:49:37 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/2012-01-17/1926#comment-45135</guid>
		<description>I take it this is for one-way communication only, right? i.e. no way for plugin to respond and have it be heard(?)

&lt;span class=&#039;jfriedl&#039;&gt;I&#039;m not quite sure what you mean... a plugin can open dialogs, launch applications, and cause web pages to load, so that&#039;s one way to be heard... &#8212;Jeffrey&lt;/span&gt;</description>
		<content:encoded><![CDATA[<p>I take it this is for one-way communication only, right? i.e. no way for plugin to respond and have it be heard(?)</p>
<p><span class='jfriedl'>I&#8217;m not quite sure what you mean&#8230; a plugin can open dialogs, launch applications, and cause web pages to load, so that&#8217;s one way to be heard&#8230; &mdash;Jeffrey</span></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Dawson</title>
		<link>http://regex.info/blog/2012-01-17/1926#comment-45130</link>
		<dc:creator>Matt Dawson</dc:creator>
		<pubDate>Wed, 18 Jan 2012 10:02:42 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/2012-01-17/1926#comment-45130</guid>
		<description>For those trying this out, you will need to check whether the URL supplied to your handler is surrounded in double quotes. I don&#039;t think it always is so its worth explicitly checking before you try to process the URL received.

&lt;span class=&#039;jfriedl&#039;&gt;Good point, Matt, thanks, I should have mentioned that. I&#039;ll go back and update the post to include it. &#8212;Jeffrey&lt;/span&gt;</description>
		<content:encoded><![CDATA[<p>For those trying this out, you will need to check whether the URL supplied to your handler is surrounded in double quotes. I don&#8217;t think it always is so its worth explicitly checking before you try to process the URL received.</p>
<p><span class='jfriedl'>Good point, Matt, thanks, I should have mentioned that. I&#8217;ll go back and update the post to include it. &mdash;Jeffrey</span></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Cole</title>
		<link>http://regex.info/blog/2012-01-17/1926#comment-45120</link>
		<dc:creator>Rob Cole</dc:creator>
		<pubDate>Tue, 17 Jan 2012 08:37:44 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/2012-01-17/1926#comment-45120</guid>
		<description>Hot tip - many possibilities...</description>
		<content:encoded><![CDATA[<p>Hot tip &#8211; many possibilities&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

