<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Resultant Systems &#187; Splash CMS</title>
	<atom:link href="http://www.resultantsys.com/index.php/category/splash-cms/feed" rel="self" type="application/rss+xml" />
	<link>http://www.resultantsys.com</link>
	<description>Make the Web Work for Your Business</description>
	<lastBuildDate>Sat, 06 Mar 2010 15:55:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Make an RSS Feed for Your Splash Site</title>
		<link>http://www.resultantsys.com/index.php/coldfusion/make-an-rss-feed-for-your-splash-site/ </link>
		<comments>http://www.resultantsys.com/index.php/coldfusion/make-an-rss-feed-for-your-splash-site/ #comments</comments>
		<pubDate>Sat, 06 Mar 2010 15:38:35 +0000</pubDate>
		<dc:creator>Clarke Bishop</dc:creator>
				<category><![CDATA[CFWheels]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Splash CMS]]></category>

		<guid isPermaLink="false">http://www.resultantsys.com/?p=213</guid>
		<description><![CDATA[Using the new Splash Tags for the Splash CMS, you can easily make an RSS feed or an XML sitemap.

1234567891011121314151617181920212223242526272829&#60;cfcontent type=&#34;text/xml&#34; reset=&#34;Yes&#34;&#62;&#60;?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?&#62;
&#60;rss version=&#34;2.0&#34; xmlns:dc=&#34;http://purl.org/dc/elements/1.1/&#34;
 &#160; &#160;xmlns:atom=&#34;http://www.w3.org/2005/Atom&#34;&#62;
&#60;channel&#62;
&#160; &#60;atom:link href=&#34;http://www.YourSite.com/index.cfm/feed&#34;
 &#160; &#160;rel=&#34;self&#34; type=&#34;application/rss+xml&#34; /&#62;
&#160; &#60;title&#62;YourSite.com&#60;/title&#62;
&#160; &#60;link&#62;http://www.YourSite.com&#60;/link&#62;
&#160; &#60;description&#62;Your Description Goes Here&#60;/description&#62;
&#160; &#60;cfoutput&#62;
&#160; &#160; &#60;pubDate&#62;#HTMLEditFormat(DateFormat(now(), 'ddd, dd mmm yyyy'))#
&#160; &#160; &#160; #HTMLEditFormat(TimeFormat(now(), 'HH:mm:ss'))# EST&#60;/pubDate&#62;
&#160; &#60;language&#62;en-us&#60;/language&#62;
&#160; &#60;ttl&#62;40&#60;/ttl&#62;
&#160; &#60;s:find [...]]]></description>
			<content:encoded><![CDATA[<p>Using the new Splash Tags for the Splash CMS, you can easily make an RSS feed or an XML sitemap.</p>
<pre>
<div class="codecolorer-container cfm geshi .codecolorer-container { margin-bottom:0;}" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:550px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br /></div></td><td><div class="cfm codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #333333;"><span style="color: #0000FF;">&lt;</span><span style="color: #990000; font-weight: bold;">cfcontent</span> <span style="color: #0000FF;">type</span><span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;text/xml&quot;</span> reset<span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;Yes&quot;</span><span style="color: #0000FF;">&gt;</span></span><span style="color: #333333;"><span style="color: #0000FF;">&lt;</span>?xml <span style="color: #0000FF;">version</span><span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;1.0&quot;</span> encoding<span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;UTF-8&quot;</span>?<span style="color: #0000FF;">&gt;</span></span><br />
<span style="color: #333333;"><span style="color: #0000FF;">&lt;</span>rss <span style="color: #0000FF;">version</span><span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;2.0&quot;</span> xmlns:dc<span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;http://purl.org/dc/elements/1.1/&quot;</span></span><br />
<span style="color: #333333;"> &nbsp; &nbsp;xmlns:atom<span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;http://www.w3.org/2005/Atom&quot;</span><span style="color: #0000FF;">&gt;</span></span><br />
<span style="color: #333333;"><span style="color: #0000FF;">&lt;</span>channel<span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span>atom:<span style="color: #0000FF;">link</span> <span style="color: #0000FF;">href</span><span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;http://www.YourSite.com/index.cfm/feed&quot;</span></span><br />
<span style="color: #333333;"> &nbsp; &nbsp;<span style="color: #0000FF;">rel</span><span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;self&quot;</span> <span style="color: #0000FF;">type</span><span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;application/rss+xml&quot;</span> <span style="color: #0000FF;">/&gt;</span></span><br />
&nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span><a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a><span style="color: #0000FF;">&gt;</span></span>YourSite.com<span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span><a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a><span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span><a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">link</span></a><span style="color: #0000FF;">&gt;</span></span>http://www.YourSite.com<span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span><a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">link</span></a><span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span>description<span style="color: #0000FF;">&gt;</span></span>Your Description Goes Here<span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span>description<span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span><span style="color: #990000; font-weight: bold;">cfoutput</span><span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span>pubDate<span style="color: #0000FF;">&gt;</span></span>#HTMLEditFormat(DateFormat(now(), 'ddd, dd mmm yyyy'))#<br />
&nbsp; &nbsp; &nbsp; #HTMLEditFormat(TimeFormat(now(), 'HH:mm:ss'))# EST<span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span>pubDate<span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span><span style="color: #0000FF;">language</span><span style="color: #0000FF;">&gt;</span></span>en-us<span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span><span style="color: #0000FF;">language</span><span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span>ttl<span style="color: #0000FF;">&gt;</span></span>40<span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span>ttl<span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span>s:<span style="color: #0000FF;">find</span> slug<span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;blog&quot;</span><span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span>s:children-each order<span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;publishedAt desc&quot;</span> where<span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;status='published'&quot;</span><span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span>item<span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span><span style="color: #990000; font-weight: bold;">cfset</span> thisChild <span style="color: #0000FF;">=</span> request.tags.currentChild<span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span><a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a><span style="color: #0000FF;">&gt;</span></span><span style="color: #0000FF;">#HTMLEditFormat<span style="color: #0000FF;">&#40;</span>thisChild.<span style="color: #0000FF;">title</span><span style="color: #0000FF;">&#41;</span>#</span><span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span><a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a><span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span>description<span style="color: #0000FF;">&gt;</span></span><span style="color: #333333;"><span style="color: #0000FF;">&lt;</span>!<span style="color: #0000FF;">&#91;</span>CDATA<span style="color: #0000FF;">&#91;</span><span style="color: #0000FF;">&lt;</span>s:<span style="color: #0000FF;">content</span> part<span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;body&quot;</span> page<span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;#thisChild#&quot;</span><span style="color: #0000FF;">/&gt;</span></span>]]&gt;<span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span>description<span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span>pubDate<span style="color: #0000FF;">&gt;</span></span>#HTMLEditFormat(DateFormat(thisChild.publishedAt, 'ddd, dd mmm yyyy'))#<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#HTMLEditFormat(TimeFormat(thisChild.publishedAt, 'HH:mm:ss'))# EST<span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span>pubDate<span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span>guid isPermaLink<span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;true&quot;</span><span style="color: #0000FF;">&gt;</span></span>http://www.yoursite.com/index.cfm/<span style="color: #0000FF;">#thisChild.slug#</span><span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span>guid<span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span><a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">link</span></a><span style="color: #0000FF;">&gt;</span></span>http://www.yoursite.com/index.cfm/<span style="color: #0000FF;">#thisChild.slug#</span><span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span><a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">link</span></a><span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span>item<span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span>s:children-each<span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span>s:find<span style="color: #0000FF;">&gt;</span></span><br />
<span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span>channel<span style="color: #0000FF;">&gt;</span></span><span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span><span style="color: #990000; font-weight: bold;">cfoutput</span><span style="color: #0000FF;">&gt;</span></span><br />
<span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span>rss<span style="color: #0000FF;">&gt;</span></span><span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span><span style="color: #990000; font-weight: bold;">cfcontent</span><span style="color: #0000FF;">&gt;</span></span><span style="color: #333333;"><span style="color: #0000FF;">&lt;</span><span style="color: #990000; font-weight: bold;">cfabort</span><span style="color: #0000FF;">&gt;</span></span></div></td></tr></tbody></table></div>
</pre>
<p>Most of this code is the required RSS XML. Just drop in your site-specific domain name, description, etc.</p>
<p>The &lt;s:find slug=&#8221;blog&gt; tag finds the blog, and then &lt;s:children-each&gt; loops over all the children that are under the blog page. I used thisChild as a convenience variable instead of having to type request.tags.currentChild every time. The &lt;cfabort&gt; at the end keeps Splash from adding extra HTML tags at the end of the file.</p>
<p>You could also create an easy XML site map using a similar approach. Just change out the XML wrapper.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.resultantsys.com/index.php/coldfusion/make-an-rss-feed-for-your-splash-site/ /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Splash Tags for the Splash CMS</title>
		<link>http://www.resultantsys.com/index.php/coldfusion/new-splash-tags-for-the-splash-cms/ </link>
		<comments>http://www.resultantsys.com/index.php/coldfusion/new-splash-tags-for-the-splash-cms/ #comments</comments>
		<pubDate>Fri, 05 Mar 2010 21:10:56 +0000</pubDate>
		<dc:creator>Clarke Bishop</dc:creator>
				<category><![CDATA[CFWheels]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Splash CMS]]></category>

		<guid isPermaLink="false">http://www.resultantsys.com/?p=165</guid>
		<description><![CDATA[I recently added several new Splash Tags for the Splash content management system. If you don&#8217;t know about Splash, read my Introduction to Splash article.

&#60;s: find&#62;
&#60;s: children-each&#62;
&#60;s: children-first &#62;
&#60;s: children-last &#62;
&#60;s: ifFirst &#62;
&#60;s: unlessFirst &#62;
&#60;s: ifLast &#62;
&#60;s: unlessLast &#62;

There&#8217;s a complete list of tags and documentation over on the GitHub Wiki. But, I&#8217;ll give you [...]]]></description>
			<content:encoded><![CDATA[<p>I recently added several new Splash Tags for the Splash content management system. If you don&#8217;t know about Splash, read my <a title="Introduction to the Splash CMS" href="http://www.resultantsys.com/index.php/coldfusion/content-management-and-the-splash-cms-introduction/" target="_self">Introduction to Splash</a> article.</p>
<ul>
<li>&lt;s: find&gt;</li>
<li>&lt;s: children-each&gt;</li>
<li>&lt;s: children-first &gt;</li>
<li>&lt;s: children-last &gt;</li>
<li>&lt;s: ifFirst &gt;</li>
<li>&lt;s: unlessFirst &gt;</li>
<li>&lt;s: ifLast &gt;</li>
<li>&lt;s: unlessLast &gt;</li>
</ul>
<p>There&#8217;s a complete list of tags and documentation over on the <a title="Splash Tags Documentation" href="http://wiki.github.com/russjohnson/SplashCMS/splashtags" target="_blank">GitHub Wiki</a>. But, I&#8217;ll give you an overview and show you how to use these tags for a blog.</p>
<p>&lt;s:find&gt; This tag looks up a page and stores the page object so that subsequent tags can use that page object.</p>
<p>&lt;s: children-each&gt; The tag finds all the children of a page and loops over them.</p>
<p>&lt;s: children-first &gt; and &lt;s: children-last &gt; finds the first or last child page.</p>
<p>The rest of the tags are all used inside of a &lt;s: children-each&gt; tag. They check to see if the current child page is the first one, last one, or whatever.</p>
<h2>Making a Blog page with Splash Tags</h2>
<p>Let&#8217;s say you have a page named Blog, that has several posts that are child pages of Blog. Then, in the body for the blog page, put something like this:</p>
<pre>
<div class="codecolorer-container cfm geshi .codecolorer-container { margin-bottom:0;}" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:550px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br /></div></td><td><div class="cfm codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #333333;"><span style="color: #0000FF;">&lt;</span><a href="http://december.com/html/4/element/h3.html"><span style="color: #000000; font-weight: bold;">h3</span></a><span style="color: #0000FF;">&gt;</span></span>Articles<span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span><a href="http://december.com/html/4/element/h3.html"><span style="color: #000000; font-weight: bold;">h3</span></a><span style="color: #0000FF;">&gt;</span></span><br />
<span style="color: #333333;"><span style="color: #0000FF;">&lt;</span>s:<span style="color: #0000FF;">find</span> slug<span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;blog&quot;</span><span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span>s:children-each</span><br />
<span style="color: #333333;"> &nbsp; order<span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;publishedAt desc&quot;</span></span><br />
<span style="color: #333333;"> &nbsp; where<span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;status='published'&quot;</span><span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span><span style="color: #990000; font-weight: bold;">cfset</span> thisChild <span style="color: #0000FF;">=</span> request.tags.currentChild<span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span><span style="color: #990000; font-weight: bold;">cfoutput</span><span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span><a href="http://december.com/html/4/element/dt.html"><span style="color: #000000; font-weight: bold;">dt</span></a> <span style="color: #0000FF;">class</span><span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;blogList&quot;</span><span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #333333;"><span style="color: #0000FF;">&lt;</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #0000FF;">href</span><span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;#thisChild.slug#&quot;</span><span style="color: #0000FF;">&gt;</span></span><span style="color: #0000FF;">#thisChild.<span style="color: #0000FF;">title</span>#</span><span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a><span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | #DateFormat(thisChild.publishedAt, 'long')#<span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span><a href="http://december.com/html/4/element/dt.html"><span style="color: #000000; font-weight: bold;">dt</span></a><span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;</span><a href="http://december.com/html/4/element/dd.html"><span style="color: #000000; font-weight: bold;">dd</span></a> <span style="color: #0000FF;">class</span><span style="color: #0000FF;">=</span><span style="color: #009900;">&quot;blogDesc&quot;</span><span style="color: #0000FF;">&gt;</span></span><span style="color: #0000FF;">#thisChild.<span style="color: #0000FF;">description</span>#</span><span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span><a href="http://december.com/html/4/element/dd.html"><span style="color: #000000; font-weight: bold;">dd</span></a><span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span><span style="color: #990000; font-weight: bold;">cfoutput</span><span style="color: #0000FF;">&gt;</span></span><br />
&nbsp; <span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span>s:children-each<span style="color: #0000FF;">&gt;</span></span><br />
<span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span>s:find<span style="color: #0000FF;">&gt;</span></span></div></td></tr></tbody></table></div>
</pre>
<p>&lt;s:find slug=&#8221;blog&#8221;&gt; finds the blog page, and then &lt;s:children-each&gt; loops over all the pages. By the way, &lt;s:children-each&gt; uses the CFWheels <a title="findAll Model Method" href="http://cfwheels.org/docs/function/findall" target="_blank">findAll model method</a>, so all of the cool CFWheels parameters are available in &lt;s:children-each&gt;!</p>
<p>If you want to see an example of what this looks like, visit the <a title="DonorUp Blog Example" href="http://www.donorup.com/index.cfm/blog" target="_blank">DonorUp blog page</a>.</p>
<p>All in all, that&#8217;s a lot of output for very little programming effort. That&#8217;s what I call the secret to programmer happiness!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.resultantsys.com/index.php/coldfusion/new-splash-tags-for-the-splash-cms/ /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Content Management and the Splash CMS &#8212; Introduction</title>
		<link>http://www.resultantsys.com/index.php/coldfusion/content-management-and-the-splash-cms-introduction/ </link>
		<comments>http://www.resultantsys.com/index.php/coldfusion/content-management-and-the-splash-cms-introduction/ #comments</comments>
		<pubDate>Fri, 05 Mar 2010 20:02:46 +0000</pubDate>
		<dc:creator>Clarke Bishop</dc:creator>
				<category><![CDATA[CFWheels]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Splash CMS]]></category>

		<guid isPermaLink="false">http://www.resultantsys.com/?p=156</guid>
		<description><![CDATA[Splash CMS is an open source content management system that runs on top of CFWheels. It&#8217;s designed to be a simple, but elegant content management solutions for websites that are managed by small teams.
CFWheels is an open source ColdFusion framework that is inspired by Ruby on Rails. Besides being easy to use and learn, using [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Splash CMS" href="http://www.splashcms.com/" target="_blank">Splash CMS</a> is an open source content management system that runs on top of <a title="CFWheels Framework" href="http://cfwheels.org/" target="_blank">CFWheels</a>. It&#8217;s designed to be a simple, but elegant content management solutions for websites that are managed by small teams.</p>
<p>CFWheels is an open source ColdFusion framework that is inspired by Ruby on Rails. Besides being easy to use and learn, using CFWheels lets you adapt great ideas from Ruby on Rails (RoR) applications. RoR has the Radiant CMS, and Splash is the ColdFusion/CFWheels adaptation!</p>
<p>You can easily download Splash from <a title="Download Splash CMS" href="http://wiki.github.com/russjohnson/SplashCMS/" target="_blank">http://wiki.github.com/russjohnson/SplashCMS/</a>. The documentation for Splash is still kind of sparse, but the <a title="Radiant CMS Documentation" href="http://wiki.github.com/radiant/radiant/" target="_blank">Radiant </a>documentation is mostly applicable, and you can easily see how most things are supposed to work. Then, if you get stuck, email the <a title="Splash CMS Google Group" href="http://groups.google.com/group/splashcms" target="_blank">Google Group</a>.</p>
<h2>Splash Layouts, Snippets, and Pages</h2>
<p>Splash uses Layouts, Snippets, and Pages to build a website.</p>
<p>A layout, as you might imagine, is like a skin for an entire website. You can have multiple layouts and use different layouts for different pages.</p>
<p>Pages are specific URLs on a Splash site, and each page has a specific layout specified. A page can have multiple &#8220;page parts.&#8221; Most pages will have a &#8220;Body&#8221; part, but some might also have a &#8220;Sidebar&#8221; or other parts.</p>
<p>Snippets are reusable content chunks. You might have a navigation snippet that displays the main navigation for your site. Headers and Footers are other common snippets.</p>
<h2>Splash Tags</h2>
<p>There is one other very powerful component to Splash &#8212; Splash Tags. These are ColdFusion custom tags that extend ColdFusion and HTML to work with Splash. Here&#8217;s a simple example: the <code class="codecolorer cfm default .codecolorer-container { margin-bottom:0;}"><span class="cfm"><span style="color: #333333;"><span style="color: #0000FF;">&lt;</span>s:<span style="color: #0000FF;">title</span> <span style="color: #0000FF;">/&gt;</span></span></span></code> tag. This tag just retrieves the page&#8217;s title from the page object and inserts it in place of the tag. So, in your layout, you would typically have something like:</p>
<p><code class="codecolorer cfm default .codecolorer-container { margin-bottom:0;}"><span class="cfm"><span style="color: #333333;"><span style="color: #0000FF;">&lt;</span><a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a><span style="color: #0000FF;">&gt;</span></span><span style="color: #333333;"><span style="color: #0000FF;">&lt;</span>s:<span style="color: #0000FF;">title</span> <span style="color: #0000FF;">/&gt;</span></span><span style="color: #333333;"><span style="color: #0000FF;">&lt;/</span><a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a><span style="color: #0000FF;">&gt;</span></span></span></code></p>
<p>The pages title information from the database is then easily inserted into the HTML title tag!</p>
<p>There are a lot more tags, so <a title="Splash Tags Documentation" href="http://wiki.github.com/russjohnson/SplashCMS/splashtags" target="_blank">see the Wiki</a>.</p>
<h2>Splash in Action</h2>
<p>I recently completed the <a title="DonorUp Website" href="http://www.donorup.com" target="_blank">DonorUp.com</a> website using Splash. I was really pleased with how easily I was able to get many thing to come together. So, try Splash and leave a comment to let me know how you like it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.resultantsys.com/index.php/coldfusion/content-management-and-the-splash-cms-introduction/ /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>onError Handling for CFWheels and Splash CMS</title>
		<link>http://www.resultantsys.com/index.php/coldfusion/onerror-handling-for-cfwheels-and-splash-cms/ </link>
		<comments>http://www.resultantsys.com/index.php/coldfusion/onerror-handling-for-cfwheels-and-splash-cms/ #comments</comments>
		<pubDate>Thu, 04 Feb 2010 22:55:48 +0000</pubDate>
		<dc:creator>Clarke Bishop</dc:creator>
				<category><![CDATA[CFWheels]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Splash CMS]]></category>

		<guid isPermaLink="false">http://www.resultantsys.com/?p=134</guid>
		<description><![CDATA[For most websites it&#8217;s usually a good idea to have error pages that have user-friendly error messages that are styled to look like the rest of the site.  Also, you may want to send yourself an eMail when an error happens. Read on to see how to make this work.
For the DonorUp website, I used [...]]]></description>
			<content:encoded><![CDATA[<p>For most websites it&#8217;s usually a good idea to have error pages that have user-friendly error messages that are styled to look like the rest of the site.  Also, you may want to send yourself an eMail when an error happens. Read on to see how to make this work.</p>
<p>For the <a title="DonorUp Website" href="http://www.DonorUp.com" target="_blank">DonorUp</a> website, I used CFWheels and the Splash CMS. Once I knew the tricks, it turned out to be really easy to make this work. So, I decided to write a post to explain what you need to know.</p>
<p>Typically, in ColdFusion, you add an onError() method to your Application.cfc file. Wheels gives you various hooks into Application.cfc, but Wheels already has an onError() method. So, you can&#8217;t add another one! Fortunately, Wheels has an easy way to handle most errors.</p>
<h2>How to send error messages from CFWheels</h2>
<p>All you have to do to get Wheels to send error message emails  is add the following into your <span style="color: #993300;">/config/settings.cfm</span> file:</p>
<p><span style="color: #993300;">&lt;cfset set(sendEmailOnError = true)&gt;<br />
&lt;cfset set(errorEmailAddress = &#8220;you@yourServer.com&#8221;)&gt;</span></p>
<p>Now, whenever there&#8217;s an error, you&#8217;ll get a really nice email with all the troubleshooting info you&#8217;ll need. Easy!</p>
<h2>How to setup a custom error page in CFWheels or Splash</h2>
<p>As part of its built-in error handling, Wheels runs the file at <span style="color: #993300;">/events/onerror.cfm</span>. Just put a redirect to your error page at the top of onerror.cfm and you&#8217;re done:</p>
<p><span style="color: #993300;">&lt;cfset redirectTo(route=&#8221;viewer&#8221;, slug=&#8221;error-page&#8221;)&gt;</span></p>
<p>In my case, I went into the Splash CMS admin and added a page called Error Page. This way, the page is automatically styled to match the rest of the site. The error page apologizes to the user for the error, and let&#8217;s them know I am going to fix it!</p>
<p>When Wheels does its error handling, it will run /events/onerror.cfm, and the redirectTo() will send them to my error page! If you aren&#8217;t running Splash, you could just use the other arguments of <a title="redirectTo() Documentation" href="http://cfwheels.org/docs/function/redirectto" target="_blank">redirectTo() </a>to send them to any controller and action.</p>
<p>You can also put your own HTML or CFML code in onerror.cfm, but I like doing it this way better as it uses all the layouts and styling of my site!</p>
<p>Please leave me a comment if you like this approach or have other ideas!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.resultantsys.com/index.php/coldfusion/onerror-handling-for-cfwheels-and-splash-cms/ /feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
