Yes and yes. I am usually just a lurker here, but thought I should contribute since I just got done working on a RSS feed for a project.

<BLOCKQUOTE style='PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #A0C6E5 2px solid; MARGIN-RIGHT: 0px'><font style='FONT-SIZE:11px;FONT-FAMILY:tahoma,sans-serif'><hr color=#A0C6E5 size=1> From: <i>&quot;Knipp, Eric&quot; &lt;[EMAIL PROTECTED]&gt;</i><br>Reply-To: <i>[email protected]</i><br>To: <i>&quot;'[email protected]'&quot; &lt;[email protected]&gt;</i><br>Subject: <i>RE: RSS.xml</i><br>Date: <i>Wed, 17 Aug 2005 16:49:02 -0500</i><br>
<br><html>
<body>

<html><head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=Generator content="Microsoft SafeHTML">



</head>
<body>
<div><span class=100475121-17082005><font face=Arial color="#0000ff" size=2>Correction .. is this the Scott Chidester of Unitrin Specialty
fame?</font></span></div>
<blockquote>
<div class=OutlookMessageHeader dir=ltr align=left><font face=Tahoma size=2>-----Original Message-----<br><b>From:</b> [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]<b>On Behalf Of </b>Sophek
 Tounn<br><b>Sent:</b> Wednesday, August 17, 2005 3:09 PM<br><b>To:</b>
[email protected]<br><b>Subject:</b> Re: RSS.xml<br><br></font></div>This this
 Scott Chidester of the old In2action?<br><br>Thanks<br>Sophek<br><br>
<div><span class="gmail_quote">On 8/17/05, <b class="gmail_sendername">scott chidester</b> &lt;<a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>&gt;
 wrote:</span>
<blockquote class="gmail_quote" style="padding-left:1ex;margin:0pt 0pt 0pt 0.8ex;border-left:rgb(204,204,204) 1px solid">
   <div>
   <p>Colin,</p>
   <p>Below is an example of how to create a simple RSS feed in CF.
   Just need to run a loop over the &lt;item&gt; tag for all of your
   content.</p>
   <p>Here are some links for reference:</p>
<p><a href="http://www.mnot.net/rss/tutorial/";>http://www.mnot.net/rss/tutorial/</a></p> <p><a href="http://blogs.law.harvard.edu/tech/rss";>http://blogs.law.harvard.edu/tech/rss</a></p> <p><a href="http://www.feedvalidator.org/";>http://www.feedvalidator.org/</a></p>
   <p>Hope this helps!</p>
   <p>Scott</p>
   <p> </p>
   <p>************************************************************</p>
   <p>&lt;cfoutput&gt;<br>&lt;cfsavecontent
variable=&quot;request.fileContent&quot;&gt;<br>&lt;?xml version=&quot;1.0&quot;
   encoding=&quot;UTF-8&quot;?&gt;<br>&lt;rss
   version=&quot;2.0&quot;&gt;<br>
   &lt;channel&gt;<br>
   &lt;title&gt;TITLE&lt;/title&gt;
<br> &lt;link&gt;<a href="http://www.mysite.com";>http://www.mysite.com</a>&lt;/link&gt;
   <br>
   &lt;description&gt;MY DESCRIPTION&lt;/description&gt;
   <br>
   &lt;language&gt;en-us&lt;/language&gt;<br>
   &lt;lastBuildDate&gt;#dateformat(now(), &quot;ddd, dd mmm yyyy&quot;)#
   #timeformat(now(), &quot;HH:mm:ss&quot;)# CDT&lt;/lastBuildDate&gt;
   <br>
&lt;docs&gt;#xmlformat(&quot; <a href="http://blogs.law.harvard.edu/tech/rss&quot;)#&lt;/docs">http://blogs.law.harvard.edu/tech/rss&quot;)#&lt;/docs</a>&gt;<br>
   &lt;managingEditor&gt;EMAIL ADDRESS&lt;/managingEditor&gt;
   <br>
   &lt;webMaster&gt;EMAIL ADDRESS&lt;/webMaster&gt;
   <br>
   &lt;ttl&gt;1440&lt;/ttl&gt;<br>
    &lt;image&gt;<br>    &lt;title&gt;IMAGE
   TITLE&lt;/title&gt;<br>    &lt;url&gt;IMAGE
   URL&lt;/url&gt;<br>    &lt;link&gt;URL TO SITE
   HOMEPAGE&lt;/link&gt; <br>    &lt;width&gt;IMAGE
   WIDTH&lt;/width&gt;<br>    &lt;height&gt;IMAGE
   HEIGHT&lt;/height&gt;<br>   &lt;/image&gt;<br>
   <br>    &lt;!--- LOOP OVER ITEMS
   ---&gt;<br>
   &lt;item&gt;<br>
    &lt;title&gt;TITLE OF
   ITEM&lt;/title&gt;<br>       &lt;link&gt;LINK
   TO
   ITEM&lt;/link&gt;<br>
    &lt;category&gt;CATEGORY OF
   ITEM&lt;/category&gt;<br>    &lt;description&gt;DESCTIPTION
   OF ITEM&lt;/description&gt;
   <br>
    &lt;pubDate&gt;#dateformat(now(), &quot;ddd, dd mmm yyyy&quot;)#
   #timeformat(now(), &quot;HH:mm:ss&quot;)# CDT&lt;/pubDate&gt;
   <br>
    &lt;author&gt;EMAIL
   ADDRESS&lt;/author&gt;<br>
   &lt;/item&gt;<br>    <br>
&lt;/channel&gt;<br>&lt;/rss&gt;<br>&lt;/cfsavecontent&gt;<br>&lt;/cfoutput&gt;</p>
   <p>&lt;cffile action=&quot;write&quot; file=&quot;rss-feed.xml&quot;
   output=&quot;#request.fileContent#&quot;
nameconflict=&quot;overwrite&quot;&gt;<br>****************************************************************</p>
   <p><br><br> </p>
<blockquote style="padding-left:5px;margin-left:5px;border-left:rgb(160,198,229) 2px solid;margin-right:0px"><font style="font-size:11px;font-family:tahoma,sans-serif"></font>
     <hr color="#a0c6e5" size=1>
     <font style="font-size:11px;font-family:tahoma,sans-serif">From:
<i>&quot;Colin Wilson&quot; &lt;<a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED] </a>&gt;</i><br>Reply-To: <i><a href="mailto:[email protected]";>[email protected]</a></i><br>To: <i>&lt;<a href="mailto:[email protected]";> [email protected]</a>&gt;</i><br>Subject: <i>RSS.xml</i><br>Date: <i>Wed,
     17 Aug 2005 11:23:06 -0700</i><span class=q><br><br>
     <div><span><font face=Arial color="#0000ff" size=2>Just curious - does
     anyone have a good resource for creating an rss.xml file from a cold
     fusion query.</font></span></div>
<div><span><font face=Arial color="#0000ff" size=2></font></span> </div> <div><span><font face=Arial color="#0000ff" size=2>Thanks</font></span></div> <div><span><font face=Arial color="#0000ff" size=2></font></span> </div> <div><span><font face=Arial color="#0000ff" size=2>Colin</font></span></div><br></span></font></blockquote></div></blockquote></div><br></blockquote></body></html>


<p><hr size=1></p>
<p><strong>
CONFIDENTIALITY NOTICE: The information contained in this e-mail and
attached document(s) may contain confidential information that is intended
only for the addressee(s). If you are not the intended recipient, you are
hereby advised that any disclosure, copying, distribution or the taking of
any action in reliance upon the information is prohibited.  If you have
received this e-mail in error, please immediately notify the sender and
delete it from your system.
</strong></p>
</body>
</html>

<br></font></BLOCKQUOTE>


----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm


Reply via email to