<?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: Radiant Gallery extension 0.2.0</title>
	<atom:link href="http://gravityblast.com/2007/04/17/radiant-gallery-extension-020/feed/" rel="self" type="application/rss+xml" />
	<link>http://gravityblast.com/2007/04/17/radiant-gallery-extension-020/</link>
	<description>...coding blast beat!</description>
	<lastBuildDate>Wed, 14 Apr 2010 21:27:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tim Glenn</title>
		<link>http://gravityblast.com/2007/04/17/radiant-gallery-extension-020/comment-page-1/#comment-5</link>
		<dc:creator>Tim Glenn</dc:creator>
		<pubDate>Tue, 31 Jul 2007 03:07:39 +0000</pubDate>
		<guid isPermaLink="false">http://gravityblast.com/2007/04/17/radiant-gallery-extension-020/#comment-5</guid>
		<description>Hello. I modified the gallery to support getting gallery items by name as well as updating the name and description.  I am not sure if you are using a version control or even if you want these mods. If you do let me know I will send you the files.. or if you have a process ?

desc %{
     Usage:
     &lt;code&gt;&lt;/code&gt;
     Provides a sized image for current gallery item.
     Current size values are: icon, small, medium, large }
   tag &#039;gallery:item:show&#039; do &#124;tag&#124;
     item = find_item(tag)
     options = {}
     [:size, :width, :height].each do &#124;symbol&#124;
       options[symbol] = tag.attr[symbol.to_s] if tag.attr[symbol.to_s]
     end
     gallery_item_url item, options
   end


added this to find item:

 if tag.locals.item
     tag.locals.item
   elsif tag.attr[&#039;name&#039;]
      gallery = find_gallery(tag)
      return gallery.items.find_by_name(tag.attr[&#039;name&#039;])
  end</description>
		<content:encoded><![CDATA[<p>Hello. I modified the gallery to support getting gallery items by name as well as updating the name and description.  I am not sure if you are using a version control or even if you want these mods. If you do let me know I will send you the files.. or if you have a process ?</p>
<p>desc %{<br />
     Usage:<br />
     <code></code><br />
     Provides a sized image for current gallery item.<br />
     Current size values are: icon, small, medium, large }<br />
   tag &#8216;gallery:item:show&#8217; do |tag|<br />
     item = find_item(tag)<br />
     options = {}<br />
     [:size, :width, :height].each do |symbol|<br />
       options[symbol] = tag.attr[symbol.to_s] if tag.attr[symbol.to_s]<br />
     end<br />
     gallery_item_url item, options<br />
   end</p>
<p>added this to find item:</p>
<p> if tag.locals.item<br />
     tag.locals.item<br />
   elsif tag.attr['name']<br />
      gallery = find_gallery(tag)<br />
      return gallery.items.find_by_name(tag.attr['name'])<br />
  end</p>
]]></content:encoded>
	</item>
</channel>
</rss>
