<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>CFDev</title>
	<atom:link href="http://cfdev.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cfdev.wordpress.com</link>
	<description>coldfusion development blog</description>
	<lastBuildDate>Wed, 15 Apr 2009 12:33:19 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='cfdev.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/a3b2bd07fc3e3603963dcf8ad311b572?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>CFDev</title>
		<link>http://cfdev.wordpress.com</link>
	</image>
			<item>
		<title>Creating a list of record data from a join</title>
		<link>http://cfdev.wordpress.com/2009/04/15/creating-a-list-of-record-data-from-a-join/</link>
		<comments>http://cfdev.wordpress.com/2009/04/15/creating-a-list-of-record-data-from-a-join/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 12:33:19 +0000</pubDate>
		<dc:creator>cfdev</dc:creator>
				<category><![CDATA[Databases]]></category>

		<guid isPermaLink="false">http://cfdev.wordpress.com/?p=24</guid>
		<description><![CDATA[Very interesting post here. Only works in MS-SQL but it returns a list of data in a column in your query. I quite often need to do this but unfortunately it does create a function in the database itself. Still a great way of cutting down on queries on the page.
If you are wondering how [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=24&subd=cfdev&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Very interesting post <a href="http://www.rabidgadfly.com/index.php/2009/01/07/how-to-create-delimited-lists-of-related-data-in-your-ms-sql-queries/">here</a>. Only works in MS-SQL but it returns a list of data in a column in your query. I quite often need to do this but unfortunately it does create a function in the database itself. Still a great way of cutting down on queries on the page.<br />
If you are wondering how you would use this. Well say you had a table of products and a table of categories and you wanted to retrieve the related categories in a separate column as a list, this function would allow you to do this. I can already think of many uses!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cfdev.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cfdev.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cfdev.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cfdev.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cfdev.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cfdev.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cfdev.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cfdev.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cfdev.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cfdev.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=24&subd=cfdev&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cfdev.wordpress.com/2009/04/15/creating-a-list-of-record-data-from-a-join/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71c7127a66869d964166f9539aa897a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cfdev</media:title>
		</media:content>
	</item>
		<item>
		<title>Farleigh Hospice &#8211; Lets see if we can hit James&#8217; £5000 target!</title>
		<link>http://cfdev.wordpress.com/2009/01/30/farleigh-hospice-lets-see-if-we-can-hit-the-5000-target/</link>
		<comments>http://cfdev.wordpress.com/2009/01/30/farleigh-hospice-lets-see-if-we-can-hit-the-5000-target/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 12:19:04 +0000</pubDate>
		<dc:creator>cfdev</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[donate charity farleigh hospice]]></category>

		<guid isPermaLink="false">http://cfdev.wordpress.com/2009/01/30/farleigh-hospice-lets-see-if-we-can-hit-the-5000-target/</guid>
		<description><![CDATA[James Frost (my boss) is having an amazing 40th Birthday party on Saturday. Rather than get him a gift he is asking everyone to donate to Farleigh Hospice. Farleigh Hospice provide care to families who have been touched by cancer or other life limiting illnesses. they offer a huge range of services which are free.
You [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=20&subd=cfdev&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>James Frost (my boss) is having an amazing 40th Birthday party on Saturday. Rather than get him a gift he is asking everyone to <a href="http://www.justgiving.com/jamesfrost1969" target="_blank">donate to Farleigh Hospice</a>. Farleigh Hospice provide care to families who have been touched by cancer or other life limiting illnesses. they offer a huge range of services which are free.</p>
<p>You can donate here: <a href="http://www.justgiving.com/jamesfrost1969">http://www.justgiving.com/jamesfrost1969</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cfdev.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cfdev.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cfdev.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cfdev.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cfdev.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cfdev.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cfdev.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cfdev.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cfdev.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cfdev.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=20&subd=cfdev&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cfdev.wordpress.com/2009/01/30/farleigh-hospice-lets-see-if-we-can-hit-the-5000-target/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71c7127a66869d964166f9539aa897a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cfdev</media:title>
		</media:content>
	</item>
		<item>
		<title>Go nuclear with Reactor for Coldfusion</title>
		<link>http://cfdev.wordpress.com/2008/12/12/go-nuclear-with-reactor-for-coldfusion/</link>
		<comments>http://cfdev.wordpress.com/2008/12/12/go-nuclear-with-reactor-for-coldfusion/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 10:15:10 +0000</pubDate>
		<dc:creator>cfdev</dc:creator>
				<category><![CDATA['OO' Programming]]></category>
		<category><![CDATA[Reactor Framework]]></category>
		<category><![CDATA[coldfusion]]></category>

		<guid isPermaLink="false">http://cfdev.wordpress.com/?p=17</guid>
		<description><![CDATA[I&#8217;m sure, like me you get extremely bored of doing add,edit,delete,add,edit,delete,add,edit,delete. Well i&#8217;ve always been looking for a quicker way to develop this sort of code, yes you can create templates where you just fill in all the variables, but more often than not you end up re-writing the whole thing anyway. Well finally, bingo! [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=17&subd=cfdev&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;m sure, like me you get extremely bored of doing add,edit,delete,add,edit,delete,add,edit,delete. Well i&#8217;ve always been looking for a quicker way to develop this sort of code, yes you can create templates where you just fill in all the variables, but more often than not you end up re-writing the whole thing anyway. Well finally, <a href="http://www.bestoffersbingo.co.uk">bingo</a>!  i&#8217;ve found out what i was trying to do is called an &#8220;Inline Dynamic Database Abstraction&#8221; API.  The API is called the <a href="http://www.reactorframework.com/" target="_blank">reactor framework</a>. It basically allows you to create a table in your database and from that table you can perform all your database queries on-the-fly.  Another great feature is that you can create relationships between tables via a simple XML file with this easy syntax:</p>
<p><span style="font-family:Courier New;">  &lt;object name=&#8221;mRegion&#8221;&gt;<br />
   &lt;hasMany name=&#8221;sys_countries&#8221;&gt;<br />
    &lt;link name=&#8221;mRegionCountry&#8221; /&gt;<br />
   &lt;/hasMany&gt;<br />
  &lt;/object&gt;<br />
    <br />
  &lt;object name=&#8221;sys_countries&#8221;&gt;<br />
   &lt;hasMany name=&#8221;mRegion&#8221;&gt;<br />
    &lt;link name=&#8221;mRegionCountry&#8221; /&gt;<br />
   &lt;/hasMany&gt;<br />
  &lt;/object&gt;</span></p>
<p><span style="font-family:Courier New;">  &lt;object name=&#8221;mRegionCountry&#8221;&gt;<br />
  <br />
   &lt;hasOne name=&#8221;sys_countries&#8221;&gt;<br />
    &lt;relate from=&#8221;country_id&#8221; to=&#8221;country_id&#8221; /&gt;<br />
   &lt;/hasOne&gt;<br />
   <br />
   &lt;hasOne name=&#8221;mRegion&#8221;&gt;<br />
    &lt;relate from=&#8221;regionID&#8221; to=&#8221;regionID&#8221; /&gt;<br />
   &lt;/hasOne&gt;<br />
   <br />
  &lt;/object&gt;</span></p>
<p>This bit of code basically says a region has many countries and they link via a table called mRegionCountry.</p>
<p>It&#8217;s a lot more powerful than this but so far this as deep as i&#8217;ve gone. I&#8217;ve started using it in one of my applications and so far it&#8217;s saved me bags of time. I won&#8217;t go into details but after lots of googling i&#8217;ve found some very good documents the <a href="http://www.acfug.org/resources/200606-Reactor_for_ColdFusion.pdf">Introduction to Reactor for Coldfusion</a> is great starter guide and is explained very simply with good examples. Also the .doc file that comes with the download is very good. Take a look at the examples too.</p>
<p>I&#8217;ll be posting more code in the future as I go along.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cfdev.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cfdev.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cfdev.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cfdev.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cfdev.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cfdev.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cfdev.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cfdev.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cfdev.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cfdev.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=17&subd=cfdev&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cfdev.wordpress.com/2008/12/12/go-nuclear-with-reactor-for-coldfusion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71c7127a66869d964166f9539aa897a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cfdev</media:title>
		</media:content>
	</item>
		<item>
		<title>We&#8217;ve moved offices!</title>
		<link>http://cfdev.wordpress.com/2008/05/15/coast-digital-move-offices/</link>
		<comments>http://cfdev.wordpress.com/2008/05/15/coast-digital-move-offices/#comments</comments>
		<pubDate>Thu, 15 May 2008 13:31:50 +0000</pubDate>
		<dc:creator>cfdev</dc:creator>
				<category><![CDATA[coastdigital]]></category>
		<category><![CDATA[barn]]></category>
		<category><![CDATA[coast]]></category>
		<category><![CDATA[digital]]></category>
		<category><![CDATA[move]]></category>

		<guid isPermaLink="false">http://cfdev.wordpress.com/?p=13</guid>
		<description><![CDATA[ust thought I would share some previews of our new office with our funky new furniture, it&#8217;s so exciting! It&#8217;s an amazing building to be working in.
You&#8217;ll find more info about our move here
 
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=13&subd=cfdev&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>
<a href='http://cfdev.wordpress.com/2008/05/15/coast-digital-move-offices/coast-digital-offices/' title='coast-digital-offices'><img width="112" height="150" src="http://cfdev.files.wordpress.com/2008/05/coast-digital-offices.jpg?w=112&#038;h=150" class="attachment-thumbnail" alt="" title="coast-digital-offices" /></a>
<a href='http://cfdev.wordpress.com/2008/05/15/coast-digital-move-offices/coast-digital-offices2/' title='coast-digital-offices2'><img width="112" height="150" src="http://cfdev.files.wordpress.com/2008/05/coast-digital-offices2.jpg?w=112&#038;h=150" class="attachment-thumbnail" alt="" title="coast-digital-offices2" /></a>
<a href='http://cfdev.wordpress.com/2008/05/15/coast-digital-move-offices/coast-digital-offices3/' title='coast-digital-offices3'><img width="112" height="150" src="http://cfdev.files.wordpress.com/2008/05/coast-digital-offices3.jpg?w=112&#038;h=150" class="attachment-thumbnail" alt="" title="coast-digital-offices3" /></a>
Just thought I would share some previews of our new office with our funky new furniture, it&#8217;s so exciting! It&#8217;s an amazing building to be working in.</p>
<p>You&#8217;ll find more info about our move <a href="http://www.coastdigital.co.uk/whats-new/news/coast-digital-expand-into-attractive-new-offices-in-16th-century-barn/" target="_blank">here</a></p>
<p> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cfdev.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cfdev.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cfdev.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cfdev.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cfdev.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cfdev.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cfdev.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cfdev.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cfdev.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cfdev.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cfdev.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cfdev.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=13&subd=cfdev&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cfdev.wordpress.com/2008/05/15/coast-digital-move-offices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71c7127a66869d964166f9539aa897a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cfdev</media:title>
		</media:content>
	</item>
		<item>
		<title>Remove carriage returns from a string</title>
		<link>http://cfdev.wordpress.com/2008/04/10/remove-carriage-returns-from-a-string/</link>
		<comments>http://cfdev.wordpress.com/2008/04/10/remove-carriage-returns-from-a-string/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 10:45:24 +0000</pubDate>
		<dc:creator>cfdev</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[carrage return remove coldfusion]]></category>
		<category><![CDATA[chr]]></category>
		<category><![CDATA[chr(13)]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[string functions]]></category>

		<guid isPermaLink="false">http://cfdev.wordpress.com/?p=11</guid>
		<description><![CDATA[Quite often I need to remove carriage returns and usually I use the following code:
Replace(myvar,&#8221;#chr(13)#&#8221;,&#8221;",&#8221;ALL&#8221;);
However I have found this doesn&#8217;t always remove the carriage returns.
How did I fix it? I used the following code:
REReplace(myvar,&#8221;#chr(13)#&#124;\n&#124;\r&#8221;,&#8221;",&#8221;ALL&#8221;);
This works everytime, its very handy for writing html with javascript
for example:
&#60;cfsavecontent variable=&#8221;thecode&#8221;&#62;
&#60;cfinclude template=&#8221;#dynamicCFMfile#&#8221;&#62;
&#60;/cfsavecontent&#62;
&#60;cfscript&#62;
newDefaultCode = Replace(thecode ,&#8221;"&#8221;",&#8221;\&#8221;"&#8221;,&#8221;ALL&#8221;);
newDefaultCode = REReplace(newDefaultCode ,&#8221;#chr(13)#&#124;#chr(9)#&#124;\n&#124;\r&#8221;,&#8221;",&#8221;ALL&#8221;);
&#60;/cfscript&#62;
&#60;cfoutput&#62;theHTML = &#8220;#newDefaultAdCode#&#8221;;&#60;/cfoutput&#62;
document.write(theHTML);
This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=11&subd=cfdev&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Quite often I need to remove carriage returns and usually I use the following code:</p>
<p>Replace(myvar,&#8221;#chr(13)#&#8221;,&#8221;",&#8221;ALL&#8221;);</p>
<p>However I have found this doesn&#8217;t always remove the carriage returns.</p>
<p>How did I fix it? I used the following code:</p>
<p>REReplace(myvar,&#8221;#chr(13)#|\n|\r&#8221;,&#8221;",&#8221;ALL&#8221;);</p>
<p>This works everytime, its very handy for writing html with javascript</p>
<p>for example:</p>
<p>&lt;cfsavecontent variable=&#8221;thecode&#8221;&gt;<br />
&lt;cfinclude template=&#8221;#dynamicCFMfile#&#8221;&gt;<br />
&lt;/cfsavecontent&gt;</p>
<p>&lt;cfscript&gt;<br />
newDefaultCode = Replace(thecode ,&#8221;"&#8221;",&#8221;\&#8221;"&#8221;,&#8221;ALL&#8221;);<br />
newDefaultCode = REReplace(newDefaultCode ,&#8221;#chr(13)#|#chr(9)#|\n|\r&#8221;,&#8221;",&#8221;ALL&#8221;);<br />
&lt;/cfscript&gt;<br />
&lt;cfoutput&gt;theHTML = &#8220;#newDefaultAdCode#&#8221;;&lt;/cfoutput&gt;</p>
<p>document.write(theHTML);</p>
<p>This allows me to dynamically write a coldfusion template to the page via javascript.</p>
<p> </p>
<p> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cfdev.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cfdev.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cfdev.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cfdev.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cfdev.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cfdev.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cfdev.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cfdev.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cfdev.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cfdev.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cfdev.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cfdev.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=11&subd=cfdev&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cfdev.wordpress.com/2008/04/10/remove-carriage-returns-from-a-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71c7127a66869d964166f9539aa897a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cfdev</media:title>
		</media:content>
	</item>
		<item>
		<title>Coast Digital antics!</title>
		<link>http://cfdev.wordpress.com/2007/10/10/coast-digital-antics/</link>
		<comments>http://cfdev.wordpress.com/2007/10/10/coast-digital-antics/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 16:32:54 +0000</pubDate>
		<dc:creator>cfdev</dc:creator>
				<category><![CDATA[coastdigital]]></category>

		<guid isPermaLink="false">http://cfdev.wordpress.com/2007/10/10/coast-digital-antics/</guid>
		<description><![CDATA[We&#8217;ve just signed up with Flickr (about time!) and we are going to be posting examples of our work, cool photos and us just generally having fun! Come and have a look
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=10&subd=cfdev&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>We&#8217;ve just signed up with Flickr (about time!) and we are going to be posting examples of our work, cool photos and us just generally having fun! <a target="_blank" href="http://www.flickr.com/photos/coast-digital">Come and have a look</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cfdev.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cfdev.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cfdev.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cfdev.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cfdev.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cfdev.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cfdev.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cfdev.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cfdev.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cfdev.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cfdev.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cfdev.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=10&subd=cfdev&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cfdev.wordpress.com/2007/10/10/coast-digital-antics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71c7127a66869d964166f9539aa897a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cfdev</media:title>
		</media:content>
	</item>
		<item>
		<title>New site goes live!</title>
		<link>http://cfdev.wordpress.com/2007/08/03/new-site-goes-live/</link>
		<comments>http://cfdev.wordpress.com/2007/08/03/new-site-goes-live/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 11:00:13 +0000</pubDate>
		<dc:creator>cfdev</dc:creator>
				<category><![CDATA[coastdigital]]></category>

		<guid isPermaLink="false">http://cfdev.wordpress.com/2007/08/03/new-site-goes-live/</guid>
		<description><![CDATA[We have just launched our new website.
We’ve updated our branding and website to reflect how Coast Digital has evolved.
Check it out

http://www.coastdigital.co.uk

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=9&subd=cfdev&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>We have just launched our new website.</p>
<p>We’ve updated our branding and website to reflect how <a target="_blank" href="http://www.coastdigital.co.uk">Coast Digital</a> has evolved.</p>
<p>Check it out</p>
<p><a href="http://www.coastdigital.co.uk/"></p>
<h3>http://www.coastdigital.co.uk</h3>
<p></a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cfdev.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cfdev.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cfdev.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cfdev.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cfdev.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cfdev.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cfdev.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cfdev.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cfdev.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cfdev.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cfdev.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cfdev.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=9&subd=cfdev&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cfdev.wordpress.com/2007/08/03/new-site-goes-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71c7127a66869d964166f9539aa897a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cfdev</media:title>
		</media:content>
	</item>
		<item>
		<title>I love XSL!</title>
		<link>http://cfdev.wordpress.com/2007/07/17/i-love-xsl/</link>
		<comments>http://cfdev.wordpress.com/2007/07/17/i-love-xsl/#comments</comments>
		<pubDate>Tue, 17 Jul 2007 10:17:20 +0000</pubDate>
		<dc:creator>cfdev</dc:creator>
				<category><![CDATA[XML]]></category>
		<category><![CDATA[XSL]]></category>
		<category><![CDATA[coldfusion]]></category>

		<guid isPermaLink="false">http://cfdev.wordpress.com/2007/07/17/i-love-xsl/</guid>
		<description><![CDATA[I have been fighting with recursion for ages now and have found it to always be a real problem effecting performance, quite often you have to use complicated caching techniques, until now!
Using XSL you can perform recursion techniques on flat XML data. It sounds complicated but really it isn&#8217;t.
 Say you have node data like the following [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=8&subd=cfdev&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have been fighting with recursion for ages now and have found it to always be a real problem effecting performance, quite often you have to use complicated caching techniques, until now!</p>
<p>Using XSL you can perform recursion techniques on flat XML data. It sounds complicated but really it isn&#8217;t.</p>
<p> Say you have node data like the following (in a flat structure).<br />
<code><br />
&lt;tree&gt;<br />
&lt;node icon="" id="1" objectID="9" parentID="0" recordID="15" ref="sites" title="Sites"/&gt;<br />
&lt;node icon="" id="2" objectID="9" parentID="0" recordID="28" ref="media" title="Template Media"/&gt;<br />
&lt;node icon="" id="3" objectID="9" parentID="0" recordID="31" ref="templates" title="Templates"/&gt;<br />
&lt;node icon="site.png" id="4" objectID="11" parentID="1" recordID="1" ref="refresh--test" title="Refresh"/&gt;<br />
&lt;node icon="page.png" id="5" objectID="1" parentID="4" recordID="134" ref="home" title="Home"/&gt;<br />
&lt;node icon="form.png" id="6" objectID="12" parentID="5" recordID="60" ref="enq_form" title="Enquiry Form"/&gt;<br />
&lt;node icon="form.png" id="7" objectID="12" parentID="5" recordID="61" ref="site_review" title="Site Review"/&gt;<br />
&lt;node icon="menu.png" id="11" objectID="5" parentID="4" recordID="8" ref="topnav" title="Top Nav 2"/&gt;<br />
&lt;node icon="" id="12" objectID="9" parentID="0" recordID="33" ref="users" title="Users"/&gt;<br />
&lt;/tree&gt;</code></p>
<p>Using XSL you can build a hierarchical tree from this data:<br />
<code><br />
&lt;xsl:stylesheet xmlns:xsl="<a href="http://www.w3.org/1999/XSL/Transform">http://www.w3.org/1999/XSL/Transform</a>"<br />
version="1.0"&gt;</code><code> &lt;xsl:template match="tree"&gt;</code><code>  </code></p>
<p><code>&lt;!-- Starts the tree --&gt;<br />
  &lt;ol&gt;</code><code>   </code></p>
<p><code>&lt;xsl:apply-templates/&gt;</code><code>  </code></p>
<p><code>&lt;/ol&gt;</code><code> </code></p>
<p><code>&lt;/xsl:template&gt;</code><code> </code></p>
<p><code>&lt;!-- Selects root nodes --&gt;<br />
 &lt;xsl:template match="//node[@parentID=0]"&gt;</code><code> </code><code>  &lt;xsl:call-template name="process-branch"&gt;<br />
   &lt;xsl:with-param name="id"&gt;&lt;xsl:value-of select="@id"/&gt;&lt;/xsl:with-param&gt;<br />
   &lt;xsl:with-param name="parentID"&gt;&lt;xsl:value-of<br />
select="@parentID"/&gt;&lt;/xsl:with-param&gt;<br />
  &lt;/xsl:call-template&gt;</code><code> &lt;/xsl:template&gt;</code><code> &lt;!-- Recursive function --&gt;<br />
 &lt;xsl:template name="process-branch"&gt;<br />
  &lt;xsl:param name="id"/&gt;<br />
  &lt;xsl:param name="parentID"/&gt;</code><code>  &lt;xsl:choose&gt;</p>
<p>   &lt;!-- If element has no sub-nodes --&gt;<br />
   &lt;xsl:when test="count(//node[@parentID=current()/@id])=0"&gt;</p>
<p>    &lt;!-- Writes the node --&gt;<br />
    &lt;li&gt;<br />
     &lt;a href="" mce_href=""&gt;&lt;xsl:value-of select="@title" /&gt;&lt;/a&gt;<br />
    &lt;/li&gt;</p>
<p>      &lt;/xsl:when&gt;</p>
<p>   &lt;!-- If element has sub-nodes--&gt;<br />
      &lt;xsl:otherwise&gt;</p>
<p>    &lt;!-- Starts a node with children element --&gt;<br />
    <br />
    &lt;li&gt;<br />
    &lt;a href="" mce_href=""&gt;&lt;xsl:value-of select="@title" /&gt;&lt;/a&gt;<br />
    &lt;ol&gt;<br />
    <br />
        </p>
<p>     &lt;!-- For every sub-nodes of current node --&gt;<br />
     &lt;xsl:for-each select="//node[@parentID=current()/@id]"&gt;</p>
<p>      &lt;!-- Recurse the branch processing --&gt;<br />
      &lt;xsl:call-template name="process-branch"&gt;<br />
       &lt;xsl:with-param name="id"&gt;&lt;xsl:value-of<br />
select="@id"/&gt;&lt;/xsl:with-param&gt;<br />
       &lt;xsl:with-param name="parentID"&gt;&lt;xsl:value-of<br />
select="@parentID"/&gt;&lt;/xsl:with-param&gt;<br />
      &lt;/xsl:call-template&gt;</p>
<p>     &lt;/xsl:for-each&gt;<br />
     <br />
    &lt;/ol&gt;<br />
    &lt;/li&gt;<br />
      &lt;/xsl:otherwise&gt;</p>
<p>  &lt;/xsl:choose&gt;</p>
<p> &lt;/xsl:template&gt;</p>
<p>&lt;/xsl:stylesheet&gt;<br />
</code><br />
Obviously you can replace the html with whatever elements you wish, even build hierarchical XML.</p>
<p>You then use the (rather handy) coldfusion function</p>
<p><code>#XMLTransform(XMLParse(xmldata), xslSheet)#</code></p>
<p>And there you have it, no long loops with recurring queries!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cfdev.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cfdev.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cfdev.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cfdev.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cfdev.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cfdev.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cfdev.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cfdev.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cfdev.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cfdev.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cfdev.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cfdev.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=8&subd=cfdev&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cfdev.wordpress.com/2007/07/17/i-love-xsl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71c7127a66869d964166f9539aa897a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cfdev</media:title>
		</media:content>
	</item>
		<item>
		<title>Finding an e-commerce package</title>
		<link>http://cfdev.wordpress.com/2007/07/05/finding-an-e-commerce-package/</link>
		<comments>http://cfdev.wordpress.com/2007/07/05/finding-an-e-commerce-package/#comments</comments>
		<pubDate>Thu, 05 Jul 2007 12:37:53 +0000</pubDate>
		<dc:creator>cfdev</dc:creator>
				<category><![CDATA[E-commerce]]></category>
		<category><![CDATA[coldfusion]]></category>

		<guid isPermaLink="false">http://cfdev.wordpress.com/2007/07/05/finding-an-e-commerce-package/</guid>
		<description><![CDATA[About 4 months ago we purchased a license for a coldfusion e-commerce software package, but only now am I finding functionality missing that I assumed would be there. For example the system allows you to enter discounts, but it doesn&#8217;t cater for &#8220;buy x get x free&#8221; and today a customer wanted to know how many customers they [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=7&subd=cfdev&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>About 4 months ago we purchased a license for a coldfusion e-commerce software package, but only now am I finding functionality missing that I assumed would be there. For example the system allows you to enter discounts, but it doesn&#8217;t cater for &#8220;buy x get x free&#8221; and today a customer wanted to know how many customers they had. I went to reporting and couldnt find a report for this simple piece of information. I had to do a search on the customers and read how many results were returned. Not ideal.</p>
<p>I think it&#8217;s very hard to think about all the functionality you require when you are buying an e-commerce solution. It&#8217;s also hard to find something that does everything you want but doesn&#8217;t cost too much per-license. Most people who are looking to start a shop don&#8217;t often have a lot to spend and they see advertisements like &#8220;E-commerce solution £9.99 a month&#8221; which makes them question why they have to pay such a hefty price tag for your solution. </p>
<p>I&#8217;d love to hear your thoughts and If you have any recommendations for any other software packages.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cfdev.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cfdev.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cfdev.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cfdev.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cfdev.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cfdev.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cfdev.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cfdev.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cfdev.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cfdev.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cfdev.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cfdev.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=7&subd=cfdev&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cfdev.wordpress.com/2007/07/05/finding-an-e-commerce-package/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71c7127a66869d964166f9539aa897a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cfdev</media:title>
		</media:content>
	</item>
		<item>
		<title>Blog CFC customization</title>
		<link>http://cfdev.wordpress.com/2007/07/05/blog-cfc-customization/</link>
		<comments>http://cfdev.wordpress.com/2007/07/05/blog-cfc-customization/#comments</comments>
		<pubDate>Thu, 05 Jul 2007 12:04:15 +0000</pubDate>
		<dc:creator>cfdev</dc:creator>
				<category><![CDATA[coldfusion]]></category>

		<guid isPermaLink="false">http://cfdev.wordpress.com/2007/07/05/blog-cfc-customization/</guid>
		<description><![CDATA[I don&#8217;t know if any of you have used Blog CFC but it&#8217;s a great little app. I have been implementing it into our CMS. I have found a few problems with it though, for example if you want the admin completely seperate in a different folder structure it&#8217;s very hard to get the links [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=6&subd=cfdev&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I don&#8217;t know if any of you have used <a target="_blank" href="http://blogcfc.riaforge.org/">Blog CFC</a> but it&#8217;s a great little app. I have been implementing it into our CMS. I have found a few problems with it though, for example if you want the admin completely seperate in a different folder structure it&#8217;s very hard to get the links to work.<br />
I also didnt really like the calendar aspect of the tool so I have written my own &#8220;pod&#8221; for just showing the months and years with posts.</p>
<p>in the blog.cfc i have written the following function:</p>
<p><code>&lt;cffunction name="getActiveMonths" returnType="query" output="false" hint="Returns a query of months and years with Entries."&gt;<br />
  &lt;cfargument name="year" type="numeric" required="false"&gt;<br />
  <br />
 &lt;cfset var months = ""&gt;<br />
&lt;cfset var posted = ""&gt;   </code><code></code><code>  &lt;cfif instance.blogDBType is "MSSQL"&gt;<br />
   &lt;cfset posted = "dateAdd(hh, #instance.offset#, tblblogentries.posted)"&gt;<br />
  &lt;cfelseif instance.blogDBType is "MSACCESS"&gt;<br />
   &lt;cfset posted = "dateAdd('h', #instance.offset#, tblblogentries.posted)"&gt;<br />
  &lt;cfelseif instance.blogDBType is "MYSQL"&gt;<br />
   &lt;cfset posted = "date_add(posted, interval #instance.offset# hour)"&gt;<br />
  &lt;cfelseif instance.blogDBType is "ORACLE"&gt;<br />
   &lt;cfset posted = "tblblogentries.posted + (#instance.offset#/24)"&gt;<br />
  &lt;/cfif&gt;    <br />
  <br />
  &lt;cfquery datasource="#instance.dsn#" name="months" username="#instance.username#" password="#instance.password#"&gt;<br />
   select distinct<br />
    &lt;cfif instance.blogDBType is "MSSQL"&gt;<br />
     datepart(mm, #preserveSingleQuotes(posted)#)<br />
    &lt;cfelseif instance.blogDBType is "MYSQL"&gt;<br />
     extract(month from #preserveSingleQuotes(posted)#)<br />
    &lt;cfelseif instance.blogDBType is "MSACCESS"&gt;<br />
     datepart('m', #preserveSingleQuotes(posted)#)<br />
    &lt;cfelseif instance.blogDBType is "ORACLE"&gt;<br />
     to_char(#preserveSingleQuotes(posted)#, 'mm') <br />
    &lt;/cfif&gt; as posted_month,<br />
    &lt;cfif instance.blogDBType is "MSSQL"&gt;<br />
     datepart(yyyy, #preserveSingleQuotes(posted)#)<br />
    &lt;cfelseif instance.blogDBType is "MYSQL"&gt;<br />
     extract(year from #preserveSingleQuotes(posted)#)<br />
    &lt;cfelseif instance.blogDBType is "MSACCESS"&gt;<br />
     datepart('y', #preserveSingleQuotes(posted)#)<br />
    &lt;cfelseif instance.blogDBType is "ORACLE"&gt;<br />
     to_char(#preserveSingleQuotes(posted)#, 'yyyy') <br />
    &lt;/cfif&gt; as posted_year<br />
   from tblblogentries<br />
   where<br />
    <br />
    blog = &lt;cfqueryparam value="#instance.name#" cfsqltype="CF_SQL_VARCHAR" maxlength="50"&gt;<br />
    and #preserveSingleQuotes(posted)# &lt; &lt;cfqueryparam cfsqltype="cf_sql_timestamp" value="#blogNow()#"&gt;<br />
    and released = 1<br />
    ORDER BY posted DESC<br />
  &lt;/cfquery&gt; &lt;cfreturn months&gt;</p>
<p> &lt;/cffunction&gt;<br />
</code></p>
<p>Then in the front end in the calendar.cfm pod I commented out the calendar and put in the following code:</p>
<p><code>&lt;cfscript&gt;<br />
monthsQuery=application.blog.getActiveMonths();<br />
&lt;/cfscript&gt;<br />
&lt;ol&gt;<br />
&lt;cfoutput query="monthsQuery"&gt;<br />
&lt;li&gt;&lt;a href="#application.rooturl##posted_year#/#posted_month#" mce_href="#application.rooturl##posted_year#/#posted_month#"&gt;#monthAsString(posted_month)# #posted_year#&lt;/a&gt;&lt;/li&gt;<br />
&lt;/cfoutput&gt;<br />
&lt;/ol&gt;</code></p>
<p>It seems to work a treat!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cfdev.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cfdev.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cfdev.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cfdev.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cfdev.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cfdev.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cfdev.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cfdev.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cfdev.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cfdev.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cfdev.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cfdev.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cfdev.wordpress.com&blog=1302874&post=6&subd=cfdev&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cfdev.wordpress.com/2007/07/05/blog-cfc-customization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71c7127a66869d964166f9539aa897a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cfdev</media:title>
		</media:content>
	</item>
	</channel>
</rss>