I grabbed the RSS info for a twitter search, but I'm unable to output it in Coldfusion MX 7 (can't use cffeed).
This is the URL: http://search.twitter.com/search.atom?q\x3d+%23activityTracker+from%3Awomenshealth
I've tried a couple different scenarios, but I all I get is errors. I tried using HTTP but it seems like it is looking for the data in XML, but Twitter is giving it to me in Atom. The code below give this error: "Element RSS.CHANNEL.ITEM is undefined in XMLCONTENT. "
I'm looking for a complete code sample if possible. But any help is very much appreciated.
<cfhttp url="http://search.twitter.com/search.atom?q\x3d+%23activityTracker+from%3Awomenshealth" method="GET"></cfhttp>
XMLContent = trim(cfhttp.filecontent);
XMLContent = XMLParse(XMLContent);
<cfloop from="1" to="#ArrayLen(XMLContent.rss.channel.item)#" index="idx">