House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Newbie RSS creation question

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Che Vilnonis
03/10/2008 01:21 PM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Andy Matthews
03/10/2008 01:27 PM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Che Vilnonis
03/10/2008 01:42 PM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dawson, Michael
03/10/2008 02:04 PM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Raymond Camden
03/10/2008 04:09 PM

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 -----

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
03/10/2008 07:24 PM

> 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/


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference