<?xml version="1.0" ?> 
<!-- RSS generated by SoftClassic.com on Fri, 24 Jan 2003 12:38:45 PST -->
<rss version="0.91">
<channel> <!--- The 'channel' tag is the area where you specify 
general information about your feed-->
    <title>SofrClassic RSS</title>
    <link>http://www.softclassic.com</link>
    <description>Latest SoftClassic Content</description>
    <language>en-us</language>
    <copyright>Copyright 2009 SoftClassic</copyright>
    <docs>http://softclassic.com/rss</docs>
    <lastBuildDate>Fri, 24 Jan 2003 12:38:45 PST</lastBuildDate>
	<image>
    <title>SoftClassic</title>
    <url>http://softclassic.com/misc/feed.png</url>
    <link>http://www.softclassic.com</link>
</image>
<item>
      <title>Attend to your future. </title>
      <description>A future where millions of 
users are waiting.</description>
      <link>http://www.softclassic.com/node</link>
      <author> pavichalex@gmail.com </author>
      <pubDate>Wed, 22 Jan 2003 11:19:28 PST</pubDate>
</item>
</channel>
</rss>
<cfset NumberOfFeedItems = 10>
<cfquery name="rssfeeds" 
datasource="softclas_forum">
SELECT     TOP #numberOfFeedItems# *
FROM         yourContent
ORDER BY PublishedDate DESC
</cfquery>
<cfset theDatetime = "#dateformat(now(), 
"ddd, dd mmm yyyy")# #timeformat(now(), 
"HH:mm:ss")# PST">
<cfsetting enablecfoutputonly="yes">
<cfsavecontent variable="theXML">
<cfoutput>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--  RSS generated by DevX on #theDatetime# -->
<rss version="2.0">
<channel>
    <title>SoftClassic Content</title>
    <link>http://www.softclassic.com</link>
    <description>Latest SoftClassic Content</description>
    <language>en-us</language>
    <copyright>Copyright 2009 SoftClassic</copyright>
    <docs>http://softclassic.com/rss</docs>
    <lastBuildDate>#theDatetime#</lastBuildDate>
    <image>
    <title>DevX</title>
    <url>http://softclassic.com/misc/feed.png</url>
    <link>http://www.softclassic.com</link>
    </image>
</cfoutput>
<cfloop from="1" to = "#numberOfFeedItems#" index="ctr">
<cfscript>
  title = replace(getContent.title[ctr], "<", "<", "ALL");
  description = replace(getContent.abstract[ctr], "<", "<", "ALL");
  description = replace(description, "&", "&", "ALL");
  date = dateformat(getContent.dateFirstPublished[ctr], "ddd, dd mmm yyyy");
  time = timeformat(getContent.dateFirstPublished[ctr], "HH:mm:ss") & " PST";
  author = replace(getContent.author[ctr], "<", "<", "ALL");
  pubDate = date & " " & time;
</cfscript>
<cfoutput>
    <item>
	<title>#title#</title>        
        <description>#description#</description>
        <link>http://www.devx.com/content/id/#getContent.content_id[ctr]#</link>
        <author>#authors#</author>
        <pubDate>#pubDate#</pubDate>
    </item>
</cfoutput>
</cfloop>
<cfoutput>
</channel>
</rss>
</cfoutput>
</cfsavecontent>
<cffile action="write" 
file="http://www.softclassic.com/rss/softclassic.xml" output="#theXml#">
<cfcontent type="text/xml">
<cfoutput>#theXml#</cfoutput>



