I had a few extra minutes on my hands and figured I'd give RSS feeds a whirl for our intranet site.

I pulled several examples from EasyCFM, CFDev, etc but when I run the template I receive the same error for every page.

The error is-Expected "</META>" to terminate element starting on line 3.  
Expected "" to terminate element starting on line 3.  It is exactly the same for every template regardless of differences in code.

I have included one of the templates that is throwing the error.  Obviously it isn't the code, but I'm at a loss for what it is.  

Any ideas?
Thanks,
Steve Hanzelman

<cfparam name="rss"
         default="http://rss.news.yahoo.com/rss/topstories" />

<cfhttp url=""
        method="GET"
        resolveUrl="false" />

<cfset myXMLDoc = XMLParse(cfhttp.filecontent) />
<cfset myItems = XMLSearch(myXMLDoc, "/rss/channel/item") />

<cfloop from="1" to="#arrayLen(myItems)#" index="i">
  <a href="" />
  #myItems[i].description.xmltext#
</cfloop>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to