<?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: Coldfusion Image Rotator</title>
	<atom:link href="http://www.dingobytes.com/coldfusion/coldfusion-image-rotator/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dingobytes.com/coldfusion/coldfusion-image-rotator</link>
	<description>what your nephew can't make you</description>
	<lastBuildDate>Tue, 27 Jul 2010 18:31:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: admin</title>
		<link>http://www.dingobytes.com/coldfusion/coldfusion-image-rotator/comment-page-1#comment-1786</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 22 Jun 2009 18:08:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.dingobytes.com/2008/03/03/coldfusion-image-rotator/#comment-1786</guid>
		<description>Had to check the ColdFusion documentation before I responded but the documentation confirmed what I thought. You need to use the absolute path for the CFDirectory tag.

That said, I might have a possible solution for you. I was using two different operating systems for my developement and host. I kept a variable in the Application.cfm that defined the absolute path to the web root. I had one application file for the development environment and one for the live environment. The development.Application.cfm file had &lt;cfset basePath = &quot;/var/www/html&quot; /&gt; while the live.Application.cfm had &lt;cfset basePath = &quot;/home/mySite/public_html&quot; /&gt;

Using this basePath variable you can save your absolute path using something like this:

&lt;cfset folder = &quot;#basePath#/path/to/my/images/&quot; /&gt;
&lt;cfdirectory directory=&quot;#folder#&quot; action=&quot;list&quot; name=&quot;filelisting&quot; /&gt;

Hope that works for you.</description>
		<content:encoded><![CDATA[<p>Had to check the ColdFusion documentation before I responded but the documentation confirmed what I thought. You need to use the absolute path for the CFDirectory tag.</p>
<p>That said, I might have a possible solution for you. I was using two different operating systems for my developement and host. I kept a variable in the Application.cfm that defined the absolute path to the web root. I had one application file for the development environment and one for the live environment. The development.Application.cfm file had &lt;cfset basePath = &#8220;/var/www/html&#8221; /&gt; while the live.Application.cfm had &lt;cfset basePath = &#8220;/home/mySite/public_html&#8221; /&gt;</p>
<p>Using this basePath variable you can save your absolute path using something like this:</p>
<p>&lt;cfset folder = &#8220;#basePath#/path/to/my/images/&#8221; /&gt;<br />
&lt;cfdirectory directory=&#8221;#folder#&#8221; action=&#8221;list&#8221; name=&#8221;filelisting&#8221; /&gt;</p>
<p>Hope that works for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.dingobytes.com/coldfusion/coldfusion-image-rotator/comment-page-1#comment-1782</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Mon, 22 Jun 2009 16:40:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.dingobytes.com/2008/03/03/coldfusion-image-rotator/#comment-1782</guid>
		<description>Hey Andrew,

That&#039;s a very nice script - just what I was looking for this morning. Apparently, I suck at Flash programming and your script came as the savior. Just one question though:

Since my code resides on two machines - my own computer where all the code is developed and the server where the website is actually hosted, would it not be easier to set the variable folder using a relative path rather than an absolute path??

I tried using a relative path for that variable and it doesn&#039;t seem to work. What am I missing here??

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>Hey Andrew,</p>
<p>That&#8217;s a very nice script &#8211; just what I was looking for this morning. Apparently, I suck at Flash programming and your script came as the savior. Just one question though:</p>
<p>Since my code resides on two machines &#8211; my own computer where all the code is developed and the server where the website is actually hosted, would it not be easier to set the variable folder using a relative path rather than an absolute path??</p>
<p>I tried using a relative path for that variable and it doesn&#8217;t seem to work. What am I missing here??</p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
