|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Newbie RSS creation question
When creating an RSS feed, does an XML file always need to be generated? OrChe Vilnonis 03/10/08 01:21 P I don't know if it works or not, but I highly doubt you'd want to generateAndy Matthews 03/10/08 01:27 P Well, if I have to write the XML file to make my feeds work, I'll just use aChe Vilnonis 03/10/08 01:42 P We are not yet using CFFEED, but we generate our HR RSS feed perDawson, Michael 03/10/08 02:04 P Is your RSS url anywhere online where we can see? What is a liveRaymond Camden 03/10/08 04:09 P > We are not yet using CFFEED, but we generate our HR RSS feedDave Watts 03/10/08 07:24 P When creating an RSS feed, does an XML file always need to be generated? Or can the XML can be created on the fly by using CFFEED. The reason I ask is that when I use cffeed to create the XML and then use <cfcontent type="text/xml" reset="true"><cfoutput>#rssXML#</cfoutput> to push the data, I always get a the Live Bookmark Failed To Load error. But when I link directly to the XML file that I write to the server, the feed populates properly in my browser. Any thoughts as to what I am doing wrong with CFFEED/CFCONTENT would be greatly appreciated. Thanks, Che I don't know if it works or not, but I highly doubt you'd want to generate the XML on every request. That's sort of the point of RSS readers. They watch a file to see when it changes, and then pull in the update. When creating an RSS feed, does an XML file always need to be generated? Or can the XML can be created on the fly by using CFFEED. The reason I ask is that when I use cffeed to create the XML and then use <cfcontent type="text/xml" reset="true"><cfoutput>#rssXML#</cfoutput> to push the data, I always get a the Live Bookmark Failed To Load error. But when I link directly to the XML file that I write to the server, the feed populates properly in my browser. Any thoughts as to what I am doing wrong with CFFEED/CFCONTENT would be greatly appreciated. Thanks, Che Well, if I have to write the XML file to make my feeds work, I'll just use a ST and update them a couple of times a day. Still want to know why cffeed/cfcontent is not working for me. I don't know if it works or not, but I highly doubt you'd want to generate the XML on every request. That's sort of the point of RSS readers. They watch a file to see when it changes, and then pull in the update. When creating an RSS feed, does an XML file always need to be generated? Or can the XML can be created on the fly by using CFFEED. The reason I ask is that when I use cffeed to create the XML and then use <cfcontent type="text/xml" reset="true"><cfoutput>#rssXML#</cfoutput> to push the data, I always get a the Live Bookmark Failed To Load error. But when I link directly to the XML file that I write to the server, the feed populates properly in my browser. Any thoughts as to what I am doing wrong with CFFEED/CFCONTENT would be greatly appreciated. Thanks, Che We are not yet using CFFEED, but we generate our HR RSS feed per request. I always thought the pubdate of each article is what the readers used. m!ke Well, if I have to write the XML file to make my feeds work, I'll just use a ST and update them a couple of times a day. Still want to know why cffeed/cfcontent is not working for me. I don't know if it works or not, but I highly doubt you'd want to generate the XML on every request. That's sort of the point of RSS readers. They watch a file to see when it changes, and then pull in the update. When creating an RSS feed, does an XML file always need to be generated? Or can the XML can be created on the fly by using CFFEED. The reason I ask is that when I use cffeed to create the XML and then use <cfcontent type="text/xml" reset="true"><cfoutput>#rssXML#</cfoutput> to push the data, I always get a the Live Bookmark Failed To Load error. But when I link directly to the XML file that I write to the server, the feed populates properly in my browser. Any thoughts as to what I am doing wrong with CFFEED/CFCONTENT would be greatly appreciated. Thanks, Che Is your RSS url anywhere online where we can see? What is a live bookmark? I've not had issues pointing Firefox to a page that does the cfcontent thing like you have below. ----- Excess quoted text cut - see Original Post for more ----- > We are not yet using CFFEED, but we generate our HR RSS feed > per request. I always thought the pubdate of each article is > what the readers used. My understanding is that readers may also rely on HTTP caching functionality (If-Modified-Since request headers, 304 status codes). Of course, that would require you to check HTTP requests for If-Modified-Since, and return a 304 instead of your normal document if nothing's changed. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified Partners http://training.figleaf.com/ WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers! http://www.webmaniacsconference.com/
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||