Just wondering what the "bug in ColdFusion" is that prompted moreover to
provide a seperate feed for CF as well as the basic WDDX feed. I have had no
problems using the WDDX one with 4.5. Any ideas anyone?
Steve
> -----Original Message-----
> From: Eron Cohen [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 15, 2000 19:34
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: RE: news feeds
>
>
> Hi Frank,
>
> I am using Moreover.Com with WDDX. Here's is how I am doing it.
> Basically
> I use CFHTTP to get the WDDX feed and then deserialize it. I
> have the added
> twist of caching the data into an application variable to save download
> time. This expires daily:
>
> <!--- Check to see if its time to "update" the current list of
> articles. --->
> <CFIF ISDEFINED("application.articles_expire") is false OR
> datecompare(application.articles_expire, now()) GT 0>
>
> <!--- Use CFHTTP to populate a variable with the WDDX feed. --->
> <CFHTTP method="get"
> URL =
> "http://p.moreover.com/cgi-local/page?index_digitaltelevision+wddx"
> resolveurl = 1
> throwonerror = Yes
> columns="title">
>
> <!--- This variable contains the cached newsfeed. This was suggested on
> CFTALK. --->
> <CFSET Application.cached_articles_from_newsfeed="#cfhttp.FileContent#">
> <!--- This variable holds the current expiration time. --->
> <CFSET application.articles_expire=dateadd("d","1", now())>
>
> </cfif>
>
> <!--- Use WDDX to deserialize the query held in my variable --->
> <CFWDDX input="#Application.cached_articles_from_newsfeed#"
> output="mynews"
> action="WDDX2CFML">
>
>
> <p>
> <!--- Output the articles.... --->
> <table border="0" cellpadding="2" cellspacing="0" width="155"
> bgcolor="ffffff">
> <tr>
> <td align="left">
> <font face="<CFOUTPUT>#Application.Heading_Font_Face#</CFOUTPUT>"
> size="<CFOUTPUT>#Application.Heading_Font_size2#</CFOUTPUT>"
> color="<CFOUTPUT>#Application.Heading_Font_color#</CFOUTPUT>"><b>D
igital TV
> News</b></font></td>
> </tr>
> <tr><td>
> <table border="0" cellpadding="3" cellspacing="0" width="130">
> <CFOUTPUT query="mynews" maxrows="5">
> <tr bgcolor="ffffff">
> <td><font face="#Application.BodyText_Font_face#"
> size="#Application.sidebarText_Font_Size#"
> color="#Application.BodyText_Font_Color#"><a
> href="#url#">#headline_text#</a> (Source: #Source#, #harvest_time#)</td>
> </tr>
> </cfoutput>
> </table>
> </td></tr>
> </table>
>
> -----Original Message-----
> From: Frank Mamone [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 15, 2000 11:34 AM
> To: ColdFusion Discussion List
> Subject: news feeds
>
>
> I'm looking for info on using WDDX tag to pull Moreover news feeds.
>
> Their site offers a CF feed but no info on implementing it.
>
> Thanks
>
>
>
> ------------------------------------------------------------------
> ----------
> --
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> ------------------------------------------------------------------
> ------------
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
_talk or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.