May 09, 2008
For ColdFusion hosting try HostMySite.com. |
Home /
Groups /
ColdFusion Talk (CF-Talk)
Question about cfeed
Eh? When I viewed http://feeds.feedburner.com/Techcrunch directly, IRaymond Camden 03/28/08 02:52 P Hey Ray,Steve Sequenzia 03/29/08 01:59 A Firefox is using its own XSLT to show you the feed - it's displayingJames Holmes 03/29/08 04:21 A @JamesSteve Sequenzia 03/29/08 03:14 P @JamesSteve Sequenzia 03/29/08 03:42 P That's the correct CFFEED behaviour, according to the docsJames Holmes 03/29/08 08:21 P I am experimenting with building a very simple feed reader but I am hiving issues with cffeed not reading all the contents of the feed on certain sites. I have this very basic reader setup that reads the feeds and then does a dump on the page. Here it is http://dev.thinksys.com/feeds/1.cfm Most feeds that you put in there are fine but the contents field on certain sites are getting truncated. For instance TechCrunch.com. This is the feed URL http://feeds.feedburner.com/Techcrunch. You will notice that the contents is truncated but if you look directly at the feed it is not truncated. Anyone have any idea why? Also, I am wondering if it is possible to read some feeds ever so often and insert the results in a DB. I want this process to work even without anything happening on the site. Anyone have any idea how to do that? Thanks for any help in advance. Eh? When I viewed http://feeds.feedburner.com/Techcrunch directly, I saw this for the first entry: Update: More details of the scheme are here. Musicians themselves may just be crazy, but the music labels are dangerously stupid, and need to be stopped before they can do any further damage to the music industry. Case in point: Warner Music, fully aware that the days of charging for recorded music are coming to an [...] Notice the [...]. This is exactly what I saw in your app as well. "Also, I am wondering if it is possible to read some feeds ever so often and insert the results in a DB. I" Check out cfschedule and Scheduled Tasks. Also don't forget that the entire code base to ColdFusionBloggers.org is available for download. You can use that for help. I also have code that works around a lot of CFFEEDs.... "issues". On Thu, Mar 27, 2008 at 11:40 PM, Steve Sequenzia <cf@thinksys.com> wrote: ----- Excess quoted text cut - see Original Post for more ----- Hey Ray, Thanks for the response. Yeah it is strange if you look at the feed directly in FF it shows it truncated but in IE it shows all the full articles. Also, other readers like Goolge Reader show the full article not the truncated version. Any ideas why this would be different? I will checkout ColdFusionBloggers.org and look at the code. Thanks! ----- Excess quoted text cut - see Original Post for more ----- Firefox is using its own XSLT to show you the feed - it's displaying the description, not the content. IE is showing the feed with the XSLT that comes with the feed, which shows the content. On Sat, Mar 29, 2008 at 3:58 PM, Steve Sequenzia <cf@thinksys.com> wrote: ----- Excess quoted text cut - see Original Post for more ----- @James Thanks for the info, that makes sense. Do you know if there is any way to use cffeed or anything else in CF to read the description then or do I need to manually? Thanks Again. ----- Excess quoted text cut - see Original Post for more ----- @James Actually when I look at the dump of the cffeed the content is the truncated version. So I guess I am confused because IE shows the entire article but when I use cffeed it only shows the truncated version. Any ideas? ----- Excess quoted text cut - see Original Post for more ----- That's the correct CFFEED behaviour, according to the docs (http://www.cfquickdocs.com/cf8/?getDoc=cffeed): Column, Atom entry, RSS item CONTENT, content element value, description item value So, for an RSS feed, the "content" column should contain the description item, which it does. You'll have to parse the XML to get the content item. On Sun, Mar 30, 2008 at 4:41 AM, Steve Sequenzia <cf@thinksys.com> wrote: > @James > > Actually when I look at the dump of the cffeed the content is the truncated version. So I guess I am confused because IE shows the entire article but when I use cffeed it only shows the truncated version. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/
|
Mailing Lists
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||