That should work fine, but I would make sure to cache the contents and not
request it for each pageview... Are you having problems?

You could cache it easily using:

<cfwddx output="mynews">
<cfset Application.myNews = myNews>
<cfset Application.myNewsExpires = CreateTimeSpan(blah)>

Check the timespan to determine whether or not to cache it again..

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 25, 2000 2:46 PM
To: [EMAIL PROTECTED]
Subject: RE: WDDX OR XML News Feeds


Hi,

I am new to WDDX and I am wondering if this would be the correct way to
handle a WDDX news feed from MoreOver.  Is there any way to avoid using
CFHTTP?

<CFHTTP method="get"
    URL =
"http://p.moreover.com/cgi-local/page?index_digitaltelevision+wddx"
    resolveurl = 1
    throwonerror = Yes
    columns="title">


<CFWDDX input="#cfhttp.FileContent#" output="mynews" action="WDDX2CFML">

<CFOUTPUT query="mynews">
<a href="#url#">#headline_text#</a> (Source: #Source#, #harvest_time#)<p>
</cfoutput>

Thanks,

Eron

-----Original Message-----
From: David Gassner [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 22, 2000 4:15 PM
To: [EMAIL PROTECTED]
Subject: RE: WDDX OR XML News Feeds


www.isyndicate.com does feeds in XML and javascript formats.  The free
version sends only a link which maps to their site, then bounces the user to
the correct website containing the content.  Paid versions contain both
headline and content.

David

> -----Original Message-----
> From: Robert Everland [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 22, 2000 12:45 PM
> To: '[EMAIL PROTECTED]'
> Subject: WDDX OR XML News Feeds
>
>
>       Can anyone give me a link where I may be able to get some news feeds
> off of sites so that I may put them on my intranet. Please specify if they
> carry the whole story or only headlines.
>
> Robert Everland III
> Web Developer
> Dixon Ticonderoga
> ------------------------------------------------------------------
> ------------
> 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.
------------------------------------------------------------------------------
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.

Reply via email to