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>"Knipp, Eric"
<[EMAIL PROTECTED]></i><br>Reply-To: <i>[email protected]</i><br>To:
<i>"'[email protected]'" <[email protected]></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> <<a
href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>>
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 <item> 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><cfoutput><br><cfsavecontent
variable="request.fileContent"><br><?xml
version="1.0"
encoding="UTF-8"?><br><rss
version="2.0"><br>
<channel><br>
<title>TITLE</title>
<br> <link><a
href="http://www.mysite.com">http://www.mysite.com</a></link>
<br>
<description>MY DESCRIPTION</description>
<br>
<language>en-us</language><br>
<lastBuildDate>#dateformat(now(), "ddd, dd mmm yyyy")#
#timeformat(now(), "HH:mm:ss")# CDT</lastBuildDate>
<br>
<docs>#xmlformat(" <a
href="http://blogs.law.harvard.edu/tech/rss")#</docs">http://blogs.law.harvard.edu/tech/rss")#</docs</a>><br>
<managingEditor>EMAIL ADDRESS</managingEditor>
<br>
<webMaster>EMAIL ADDRESS</webMaster>
<br>
<ttl>1440</ttl><br>
<image><br> <title>IMAGE
TITLE</title><br> <url>IMAGE
URL</url><br> <link>URL TO SITE
HOMEPAGE</link> <br> <width>IMAGE
WIDTH</width><br> <height>IMAGE
HEIGHT</height><br> </image><br>
<br> <!--- LOOP OVER ITEMS
---><br>
<item><br>
<title>TITLE OF
ITEM</title><br> <link>LINK
TO
ITEM</link><br>
<category>CATEGORY OF
ITEM</category><br> <description>DESCTIPTION
OF ITEM</description>
<br>
<pubDate>#dateformat(now(), "ddd, dd mmm yyyy")#
#timeformat(now(), "HH:mm:ss")# CDT</pubDate>
<br>
<author>EMAIL
ADDRESS</author><br>
</item><br> <br>
</channel><br></rss><br></cfsavecontent><br></cfoutput></p>
<p><cffile action="write" file="rss-feed.xml"
output="#request.fileContent#"
nameconflict="overwrite"><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>"Colin Wilson" <<a
href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]
</a>></i><br>Reply-To: <i><a
href="mailto:[email protected]">[email protected]</a></i><br>To: <i><<a
href="mailto:[email protected]">
[email protected]</a>></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