<?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"
	>
<channel>
	<title>Comments on: Building blocks for a CMS</title>
	<atom:link href="http://www.sitepoint.com/blogs/2006/06/13/building-blocks-for-a-cms/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sitepoint.com/blogs/2006/06/13/building-blocks-for-a-cms/</link>
	<description>News, opinion, and fresh thinking for web developers and designers. The official podcast of sitepoint.com.</description>
	<pubDate>Thu, 04 Dec 2008 03:19:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Kevin Yank</title>
		<link>http://www.sitepoint.com/blogs/2006/06/13/building-blocks-for-a-cms/#comment-32131</link>
		<dc:creator>Kevin Yank</dc:creator>
		<pubDate>Fri, 23 Jun 2006 01:49:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1574#comment-32131</guid>
		<description>The code highlighting plug-in we use may be found here:
http://www.dreamprojections.com/syntaxhighlighter/

As far as we are aware, there is no requirement for us to credit this library each time we use it.</description>
		<content:encoded><![CDATA[<p>The code highlighting plug-in we use may be found here:<br />
<a href="http://www.dreamprojections.com/syntaxhighlighter/" rel="nofollow">http://www.dreamprojections.com/syntaxhighlighter/</a></p>
<p>As far as we are aware, there is no requirement for us to credit this library each time we use it.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: timlucas</title>
		<link>http://www.sitepoint.com/blogs/2006/06/13/building-blocks-for-a-cms/#comment-32049</link>
		<dc:creator>timlucas</dc:creator>
		<pubDate>Thu, 22 Jun 2006 21:53:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1574#comment-32049</guid>
		<description>Not sure about the credit for the code highlighter... I'll find out more and report back.</description>
		<content:encoded><![CDATA[<p>Not sure about the credit for the code highlighter&#8230; I&#8217;ll find out more and report back.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.sitepoint.com/blogs/2006/06/13/building-blocks-for-a-cms/#comment-31978</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 22 Jun 2006 14:08:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1574#comment-31978</guid>
		<description>Where is the credit for the code highliter?</description>
		<content:encoded><![CDATA[<p>Where is the credit for the code highliter?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: hotgazpacho</title>
		<link>http://www.sitepoint.com/blogs/2006/06/13/building-blocks-for-a-cms/#comment-30068</link>
		<dc:creator>hotgazpacho</dc:creator>
		<pubDate>Tue, 13 Jun 2006 19:13:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1574#comment-30068</guid>
		<description>That would be a "cache do" block...</description>
		<content:encoded><![CDATA[<p>That would be a &#8220;cache do&#8221; block&#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: hotgazpacho</title>
		<link>http://www.sitepoint.com/blogs/2006/06/13/building-blocks-for-a-cms/#comment-30066</link>
		<dc:creator>hotgazpacho</dc:creator>
		<pubDate>Tue, 13 Jun 2006 19:13:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1574#comment-30066</guid>
		<description>Here's another little tidbit from my application_helper.rb:

&lt;code&gt;
  # Generate an image tag for a magick_file column
  # expects method and size to be symbols
  def image_tag_for_magick_column(object, method, size)
    img = Magick::Image.read(object.send(method.to_s, size.to_s)).first
    image_tag(url_for_image_column(object, method, size), :size =&#62; "#{img.columns}x#{img.rows}" )
  end
&lt;/code&gt;

Probably want to wrap this in a  block, though, so you avoid reading the image every time just to get the pixel dimensions, unless someone knows of a better way...</description>
		<content:encoded><![CDATA[<p>Here&#8217;s another little tidbit from my application_helper.rb:</p>
<code>
  # Generate an image tag for a magick_file column
  # expects method and size to be symbols
  def image_tag_for_magick_column(object, method, size)
    img = Magick::Image.read(object.send(method.to_s, size.to_s)).first
    image_tag(url_for_image_column(object, method, size), :size =&gt; "#{img.columns}x#{img.rows}" )
  end
</code>
<p>Probably want to wrap this in a  block, though, so you avoid reading the image every time just to get the pixel dimensions, unless someone knows of a better way&#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: timlucas</title>
		<link>http://www.sitepoint.com/blogs/2006/06/13/building-blocks-for-a-cms/#comment-30038</link>
		<dc:creator>timlucas</dc:creator>
		<pubDate>Tue, 13 Jun 2006 13:38:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1574#comment-30038</guid>
		<description>Thanks Mislav, hadn't noticed the &lt;a href="http://agilewebdevelopment.com/plugins/scaffolding_extensions" rel="nofollow"&gt;scaffolding extensions plugin&lt;/a&gt;.

hotgazpacho: Ha, I've actually used file_column but have never touched the ImageMagick plugin I mentioned. Thanks for pulling me up on that. I much prefer the file_column approach of resizing on upload, rather than serving up assets from Rails (cached or not). I've had problems in the past with that approach, but it could have just been an early version of Rails on an unstable set up.</description>
		<content:encoded><![CDATA[<p>Thanks Mislav, hadn&#8217;t noticed the <a href="http://agilewebdevelopment.com/plugins/scaffolding_extensions" rel="nofollow">scaffolding extensions plugin</a>.</p>
<p>hotgazpacho: Ha, I&#8217;ve actually used file_column but have never touched the ImageMagick plugin I mentioned. Thanks for pulling me up on that. I much prefer the file_column approach of resizing on upload, rather than serving up assets from Rails (cached or not). I&#8217;ve had problems in the past with that approach, but it could have just been an early version of Rails on an unstable set up.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: hotgazpacho</title>
		<link>http://www.sitepoint.com/blogs/2006/06/13/building-blocks-for-a-cms/#comment-30035</link>
		<dc:creator>hotgazpacho</dc:creator>
		<pubDate>Tue, 13 Jun 2006 12:21:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1574#comment-30035</guid>
		<description>Instead of the ImageMagick plugin, how about the &lt;a href="http://agilewebdevelopment.com/plugins/file_column_plugin" rel="nofollow"&gt;File_Column&lt;/a&gt; plugin? Much more flexible, and you can use it with acts_as_versioned to get the versioned assets you speak of.</description>
		<content:encoded><![CDATA[<p>Instead of the ImageMagick plugin, how about the <a href="http://agilewebdevelopment.com/plugins/file_column_plugin" rel="nofollow">File_Column</a> plugin? Much more flexible, and you can use it with acts_as_versioned to get the versioned assets you speak of.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Mislav</title>
		<link>http://www.sitepoint.com/blogs/2006/06/13/building-blocks-for-a-cms/#comment-30030</link>
		<dc:creator>Mislav</dc:creator>
		<pubDate>Tue, 13 Jun 2006 10:57:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1574#comment-30030</guid>
		<description>I've been using "scaffolding extensions"... fairly easy to set up, configurable, but maybe broken now (I believe) because of errors on record deletion (it tires to show the record after it deletes it) and wrong (certainly not useful!) redirects on create/update.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been using &#8220;scaffolding extensions&#8221;&#8230; fairly easy to set up, configurable, but maybe broken now (I believe) because of errors on record deletion (it tires to show the record after it deletes it) and wrong (certainly not useful!) redirects on create/update.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Clenard</title>
		<link>http://www.sitepoint.com/blogs/2006/06/13/building-blocks-for-a-cms/#comment-29996</link>
		<dc:creator>Clenard</dc:creator>
		<pubDate>Tue, 13 Jun 2006 00:22:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1574#comment-29996</guid>
		<description>Interesting, I was just about to go from my homepage (sitepoint)to Google to check for a RoR CMS... LOL

Thanks for the information Tim!</description>
		<content:encoded><![CDATA[<p>Interesting, I was just about to go from my homepage (sitepoint)to Google to check for a RoR CMS&#8230; LOL</p>
<p>Thanks for the information Tim!</p>]]></content:encoded>
	</item>
</channel>
</rss>
