<?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: Gallery2 Media Rss Patch for CoolIris Embed Wall</title>
	<atom:link href="http://www.thehuey.com/blog/2009/03/08/gallery2-media-rss-patch-for-cooliris-embed-wall/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thehuey.com/blog/2009/03/08/gallery2-media-rss-patch-for-cooliris-embed-wall/</link>
	<description>News and other posts for friends and family</description>
	<lastBuildDate>Tue, 03 Nov 2009 16:50:41 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: huey</title>
		<link>http://www.thehuey.com/blog/2009/03/08/gallery2-media-rss-patch-for-cooliris-embed-wall/comment-page-1/#comment-30690</link>
		<dc:creator>huey</dc:creator>
		<pubDate>Tue, 03 Nov 2009 16:50:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehuey.com/blog/?p=52#comment-30690</guid>
		<description>Great job Julien, Gallery2 is pretty nice and extensible. Cooliris is also an excellent piece of software and should be used more often.

-Huey</description>
		<content:encoded><![CDATA[<p>Great job Julien, Gallery2 is pretty nice and extensible. Cooliris is also an excellent piece of software and should be used more often.</p>
<p>-Huey</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julien</title>
		<link>http://www.thehuey.com/blog/2009/03/08/gallery2-media-rss-patch-for-cooliris-embed-wall/comment-page-1/#comment-30687</link>
		<dc:creator>Julien</dc:creator>
		<pubDate>Tue, 03 Nov 2009 16:15:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehuey.com/blog/?p=52#comment-30687</guid>
		<description>Hello again.

I finally managed to get what I wanted to with a bit more hacking in the rsshelper.class

On the function &quot;addPhotoOrAlbum&quot; I just needed to change :
&lt;code&gt;
$url = $urlGenerator-&gt;generateUrl(
	    array(&#039;view&#039; =&gt; &#039;core.DownloadItem&#039;...
&lt;/code&gt;
To ----&gt; 
&lt;code&gt;
$url = $urlGenerator-&gt;generateUrl(
	    array(&#039;view&#039; =&gt; &#039;watermark.DownloadItem&#039;....
&lt;/code&gt;
Then on the last part of the same function I just turned 
&lt;code&gt;
itemSettings[&#039;media&#039;] = array(
		    &#039;url&#039; =&gt; $imageUrl...
&lt;/code&gt;
To ----&gt; 
&lt;code&gt;
itemSettings[&#039;media&#039;] = array(
		    &#039;url&#039; =&gt; $url...
&lt;/code&gt;
Now Working pefect. Hope it&#039;ll help somebody.
Your Cooliris project is nice and very inspiring... Publish it and Keep going ! 

Thanks.
++</description>
		<content:encoded><![CDATA[<p>Hello again.</p>
<p>I finally managed to get what I wanted to with a bit more hacking in the rsshelper.class</p>
<p>On the function &#8220;addPhotoOrAlbum&#8221; I just needed to change :<br />
<code><br />
$url = $urlGenerator->generateUrl(<br />
	    array('view' => 'core.DownloadItem'...<br />
</code><br />
To &#8212;-><br />
<code><br />
$url = $urlGenerator->generateUrl(<br />
	    array('view' => 'watermark.DownloadItem'....<br />
</code><br />
Then on the last part of the same function I just turned<br />
<code><br />
itemSettings['media'] = array(<br />
		    'url' => $imageUrl...<br />
</code><br />
To &#8212;-><br />
<code><br />
itemSettings['media'] = array(<br />
		    'url' => $url...<br />
</code><br />
Now Working pefect. Hope it&#8217;ll help somebody.<br />
Your Cooliris project is nice and very inspiring&#8230; Publish it and Keep going ! </p>
<p>Thanks.<br />
++</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: huey</title>
		<link>http://www.thehuey.com/blog/2009/03/08/gallery2-media-rss-patch-for-cooliris-embed-wall/comment-page-1/#comment-30243</link>
		<dc:creator>huey</dc:creator>
		<pubDate>Mon, 26 Oct 2009 17:17:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehuey.com/blog/?p=52#comment-30243</guid>
		<description>Julien,

You can try just doing a print_r on the $item and seeing if any of the urls present gives back the watermarked image.  I&#039;m not sure how you are getting the watermarks, is there a plugin for Gallery2 which is adding the watermarks dynamically?

Anyhow, I just finished work on a cool project using CoolIris.  I&#039;ll share with you over email.

-Huey</description>
		<content:encoded><![CDATA[<p>Julien,</p>
<p>You can try just doing a print_r on the $item and seeing if any of the urls present gives back the watermarked image.  I&#8217;m not sure how you are getting the watermarks, is there a plugin for Gallery2 which is adding the watermarks dynamically?</p>
<p>Anyhow, I just finished work on a cool project using CoolIris.  I&#8217;ll share with you over email.</p>
<p>-Huey</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julien</title>
		<link>http://www.thehuey.com/blog/2009/03/08/gallery2-media-rss-patch-for-cooliris-embed-wall/comment-page-1/#comment-30168</link>
		<dc:creator>Julien</dc:creator>
		<pubDate>Fri, 23 Oct 2009 19:32:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehuey.com/blog/?p=52#comment-30168</guid>
		<description>Sorry here&#039;s the important part of the code (well, Maybe...)

$data .= &#039; &#039; . $lf;</description>
		<content:encoded><![CDATA[<p>Sorry here&#8217;s the important part of the code (well, Maybe&#8230;)</p>
<p>$data .= &#8216; &#8216; . $lf;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julien</title>
		<link>http://www.thehuey.com/blog/2009/03/08/gallery2-media-rss-patch-for-cooliris-embed-wall/comment-page-1/#comment-30167</link>
		<dc:creator>Julien</dc:creator>
		<pubDate>Fri, 23 Oct 2009 19:27:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehuey.com/blog/?p=52#comment-30167</guid>
		<description>Hello and thanks again for the fast reply. 

I&#039;m from a small country called Andorra (between France and Spain).
I guess I need to change the following lines in the RSSGenerator.class 

if (isset($this-&gt;_properties[&#039;useMedia&#039;]) &amp;&amp; $this-&gt;_properties[&#039;useMedia&#039;]) {
		    if (isset($item[&#039;media&#039;])) {
			$data .= &#039; &#039; . $lf;

It seems easy but unfortunaltly i don&#039;t know what to call to replace &quot;media&quot;... In fact I don&#039;t know the name to call the &quot;watermarked media&quot; or &quot;rezised media&quot;... I might be stupid cause the url I need is called in the  of my rss feed ! As you can Check here (big file): http://www.picandorra.com/rss/cooliris
 
I&#039;m still searching. I&#039;ll keep you updated when I&#039;ll find. 
Thanks
++</description>
		<content:encoded><![CDATA[<p>Hello and thanks again for the fast reply. </p>
<p>I&#8217;m from a small country called Andorra (between France and Spain).<br />
I guess I need to change the following lines in the RSSGenerator.class </p>
<p>if (isset($this-&gt;_properties['useMedia']) &amp;&amp; $this-&gt;_properties['useMedia']) {<br />
		    if (isset($item['media'])) {<br />
			$data .= &#8216; &#8216; . $lf;</p>
<p>It seems easy but unfortunaltly i don&#8217;t know what to call to replace &#8220;media&#8221;&#8230; In fact I don&#8217;t know the name to call the &#8220;watermarked media&#8221; or &#8220;rezised media&#8221;&#8230; I might be stupid cause the url I need is called in the  of my rss feed ! As you can Check here (big file): <a href="http://www.picandorra.com/rss/cooliris" rel="nofollow">http://www.picandorra.com/rss/cooliris</a></p>
<p>I&#8217;m still searching. I&#8217;ll keep you updated when I&#8217;ll find.<br />
Thanks<br />
++</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: huey</title>
		<link>http://www.thehuey.com/blog/2009/03/08/gallery2-media-rss-patch-for-cooliris-embed-wall/comment-page-1/#comment-30157</link>
		<dc:creator>huey</dc:creator>
		<pubDate>Wed, 21 Oct 2009 22:26:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehuey.com/blog/?p=52#comment-30157</guid>
		<description>Hey Julien,

If you know how to generate the watermarked image, just edit the Rss code so that the media:content element points to the watermarked url.  Currently it is pointing into your gallery directly so here is no watermark when viewing the larger image.  If you have other sizes, you can point there as well.

Where are you from?</description>
		<content:encoded><![CDATA[<p>Hey Julien,</p>
<p>If you know how to generate the watermarked image, just edit the Rss code so that the media:content element points to the watermarked url.  Currently it is pointing into your gallery directly so here is no watermark when viewing the larger image.  If you have other sizes, you can point there as well.</p>
<p>Where are you from?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julien</title>
		<link>http://www.thehuey.com/blog/2009/03/08/gallery2-media-rss-patch-for-cooliris-embed-wall/comment-page-1/#comment-30154</link>
		<dc:creator>Julien</dc:creator>
		<pubDate>Wed, 21 Oct 2009 11:41:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehuey.com/blog/?p=52#comment-30154</guid>
		<description>Hey, Thanks for the reply.

Sorry for my bad english, hope I&#039;ll be clearer... There is no problem with the thumnails. I&#039;ve followed your tip and it&#039;s actually working perfect. Thanks again ! (http://www.picandorra.com -now online).

The problem is once you select a thumbnail inside cooliris... The big image that appear is just the original one. I&#039;d love to see a rezised image instead of the original one... or at least the original WITH watermark cause as you can see the cooliris actually display &quot;natural original image&quot;.

All image are currently watermarked in the website, I need that the RSS media link show those images instead of the original one. If you have a clue ?? Thanks a lot.

++</description>
		<content:encoded><![CDATA[<p>Hey, Thanks for the reply.</p>
<p>Sorry for my bad english, hope I&#8217;ll be clearer&#8230; There is no problem with the thumnails. I&#8217;ve followed your tip and it&#8217;s actually working perfect. Thanks again ! (<a href="http://www.picandorra.com" rel="nofollow">http://www.picandorra.com</a> -now online).</p>
<p>The problem is once you select a thumbnail inside cooliris&#8230; The big image that appear is just the original one. I&#8217;d love to see a rezised image instead of the original one&#8230; or at least the original WITH watermark cause as you can see the cooliris actually display &#8220;natural original image&#8221;.</p>
<p>All image are currently watermarked in the website, I need that the RSS media link show those images instead of the original one. If you have a clue ?? Thanks a lot.</p>
<p>++</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: huey</title>
		<link>http://www.thehuey.com/blog/2009/03/08/gallery2-media-rss-patch-for-cooliris-embed-wall/comment-page-1/#comment-30153</link>
		<dc:creator>huey</dc:creator>
		<pubDate>Tue, 20 Oct 2009 21:34:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehuey.com/blog/?p=52#comment-30153</guid>
		<description>Julien,

If you do it correctly, the media feed will have the thumbnailed pictures in the description.  This is how my feed is setup and the wall loads very quickly because of the smaller images.

Look above for the section that has :
$itemSettings[&#039;thumbnail&#039;][&#039;url&#039;] = $url;
SHOULD BE
$itemSettings[&#039;thumbnail&#039;][&#039;url&#039;] = $imageUrl;

Once you change that, the feed should use the thumbnails.</description>
		<content:encoded><![CDATA[<p>Julien,</p>
<p>If you do it correctly, the media feed will have the thumbnailed pictures in the description.  This is how my feed is setup and the wall loads very quickly because of the smaller images.</p>
<p>Look above for the section that has :<br />
$itemSettings['thumbnail']['url'] = $url;<br />
SHOULD BE<br />
$itemSettings['thumbnail']['url'] = $imageUrl;</p>
<p>Once you change that, the feed should use the thumbnails.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julien</title>
		<link>http://www.thehuey.com/blog/2009/03/08/gallery2-media-rss-patch-for-cooliris-embed-wall/comment-page-1/#comment-30111</link>
		<dc:creator>Julien</dc:creator>
		<pubDate>Sat, 17 Oct 2009 17:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehuey.com/blog/?p=52#comment-30111</guid>
		<description>Hello,
Thanks a lot for the tips !

I just needed to fix the &quot;The bug is in the RssHelper.class code, function addPhotoOrAlbum&quot; !

I didn&#039;t change anything else and just used a custom feed instead (you can configure your own feed directly in you administration pannel).  

It now work perfect but I just wondered if I&#039;ll be able to reduce the &quot;loading&quot; time of the cooliris 3D Wall with a pagination of my feed (as you&#039;ve done)... I don&#039;t think so.

The other main problem is that I would prefer having my resized images shown on the Cooliris instead of my original images... I still didn&#039;t manage to find how do that automatically. 
If you have any idea ??  

++</description>
		<content:encoded><![CDATA[<p>Hello,<br />
Thanks a lot for the tips !</p>
<p>I just needed to fix the &#8220;The bug is in the RssHelper.class code, function addPhotoOrAlbum&#8221; !</p>
<p>I didn&#8217;t change anything else and just used a custom feed instead (you can configure your own feed directly in you administration pannel).  </p>
<p>It now work perfect but I just wondered if I&#8217;ll be able to reduce the &#8220;loading&#8221; time of the cooliris 3D Wall with a pagination of my feed (as you&#8217;ve done)&#8230; I don&#8217;t think so.</p>
<p>The other main problem is that I would prefer having my resized images shown on the Cooliris instead of my original images&#8230; I still didn&#8217;t manage to find how do that automatically.<br />
If you have any idea ??  </p>
<p>++</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jered</title>
		<link>http://www.thehuey.com/blog/2009/03/08/gallery2-media-rss-patch-for-cooliris-embed-wall/comment-page-1/#comment-26713</link>
		<dc:creator>Jered</dc:creator>
		<pubDate>Thu, 07 May 2009 16:57:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehuey.com/blog/?p=52#comment-26713</guid>
		<description>Thanks for the pointers! I got my parents a Kodak picture frame that supports RSS and was very disappointed when I found that it wouldn&#039;t work with Gallery2.  I didn&#039;t realize that almost all of the bits required to make it work were already in the source.  I&#039;ll play with this more when I get home tonight.

The thing I hate about open source is nothing ever seems to work out of the box and I have to do hacking (mostly &quot;glue&quot;) in new languages every time I try to set anything new up.  Of course, the thing I love about open source is that it&#039;s possible to do that...


&lt;blockquote&gt;Good luck patching it in Jered, let me know if you have any troubles&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>Thanks for the pointers! I got my parents a Kodak picture frame that supports RSS and was very disappointed when I found that it wouldn&#8217;t work with Gallery2.  I didn&#8217;t realize that almost all of the bits required to make it work were already in the source.  I&#8217;ll play with this more when I get home tonight.</p>
<p>The thing I hate about open source is nothing ever seems to work out of the box and I have to do hacking (mostly &#8220;glue&#8221;) in new languages every time I try to set anything new up.  Of course, the thing I love about open source is that it&#8217;s possible to do that&#8230;</p>
<blockquote><p>Good luck patching it in Jered, let me know if you have any troubles</p></blockquote>
]]></content:encoded>
	</item>
</channel>
</rss>
