RE: Caching with CFHTTP?

2000-04-13 Thread Dennis Powers

Dave,

You can use their XML feed.  Just cfhttp the XML file then parse the
headlines using MS's DCOM object.   To save processing time, I have a
scheduled event that pulls the XML file to my local server every 4
hours then parses the XML file and outputs the results into several
include files that my template references.

Best Regards,

Dennis Powers
UXB Internet
(203)879-2844
http://www.uxbinfo.com

-Original Message-
From: Dave Hannum [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 12, 2000 3:18 PM
To: [EMAIL PROTECTED]
Subject: Caching with CFHTTP?

Ok - I'm outta my realm here, but I need to make it my realm.  I have
a news feed from Moreover that uses JavaScript to incorporate
it into my page.  This works, but is an extremely slow process.  (I
know it's the same for iSyndicate too - I use them other
places).  Is there anyway to grab this info, say hourly, and cache it
for my use???  Anybody trying anything like this???

Dave


=
"Always Drink Upstream From The Herd!"




--

Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_tal
k 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=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Caching with CFHTTP?

2000-04-13 Thread Paul Hastings

 You can use their XML feed.  Just cfhttp the XML file then parse the
 headlines using MS's DCOM object.   To save processing time, I have a

moreover has a developer section where they provide URLs to
various formats including WDDX. cfhttp in those links  use 
CFWDDX to trans form these into a cfquery. clean  easy.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Caching with CFHTTP?

2000-04-13 Thread Dave Hannum

Thanks - I'll go for that.  Ken Wilson sent me some code that I'm gonna try.

Dave


=
"Always Drink Upstream From The Herd!"

David Hannum
Web Analyst/Programmer
Ohio University
[EMAIL PROTECTED]
(740) 597-2524



- Original Message -
From: Paul Hastings [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 13, 2000 10:47 AM
Subject: Re: Caching with CFHTTP?


 You can use their XML feed.  Just cfhttp the XML file then parse the
 headlines using MS's DCOM object.   To save processing time, I have a

moreover has a developer section where they provide URLs to
various formats including WDDX. cfhttp in those links  use
CFWDDX to trans form these into a cfquery. clean  easy.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=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=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Caching with CFHTTP?

2000-04-12 Thread Dave Hannum

Ok - I'm outta my realm here, but I need to make it my realm.  I have a news feed from 
Moreover that uses JavaScript to incorporate
it into my page.  This works, but is an extremely slow process.  (I know it's the same 
for iSyndicate too - I use them other
places).  Is there anyway to grab this info, say hourly, and cache it for my use???  
Anybody trying anything like this???

Dave


=
"Always Drink Upstream From The Herd!"




--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Caching with CFHTTP?

2000-04-12 Thread Josh Farr

I'd use the wddx streams and cache the wddx packet or the deserialized
recordset. and schedule an event to refresh that cache however often.

-Original Message-
From: Dave Hannum [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 12, 2000 2:18 PM
To: [EMAIL PROTECTED]
Subject: Caching with CFHTTP?


Ok - I'm outta my realm here, but I need to make it my realm.  I have a news
feed from Moreover that uses JavaScript to incorporate
it into my page.  This works, but is an extremely slow process.  (I know
it's the same for iSyndicate too - I use them other
places).  Is there anyway to grab this info, say hourly, and cache it for my
use???  Anybody trying anything like this???

Dave


=
"Always Drink Upstream From The Herd!"





--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=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=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Caching with CFHTTP?

2000-04-12 Thread Ken Wilson

On our Intranet site I'm grabbing headlines and writing them to a database
on a scheduled basis so that users can pull them from the db rather than
having to go out and fetch them every time they login. Not exactly "caching"
in the sense that you are asking about but it accomplishes the same goal
plus makes them searchable for however long I let the old headlines sit in
the DB.

Let me know if you'd like the code I use for it.

Ken




 Ok - I'm outta my realm here, but I need to make it my realm.  I have a
news feed from Moreover that uses JavaScript to incorporate
 it into my page.  This works, but is an extremely slow process.  (I know
it's the same for iSyndicate too - I use them other
 places).  Is there anyway to grab this info, say hourly, and cache it for
my use???  Anybody trying anything like this???

 Dave


 =
 "Always Drink Upstream From The Herd!"




 --

 Archives: http://www.eGroups.com/list/cf-talk
 To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=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=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Caching with CFHTTP?

2000-04-12 Thread Sharon DiOrio

It depends on how they've got it setup with the javascript.  If it's
basically just a page you can hit via http, then using cfhttp would work.
 cfhttp saves what it retrieves as a variable anyway.  No reason you
couldn't save it into APPLICATION scope and refresh it at will.  Or use it
on a page with cfcache.

Sharon

At 02:18 PM 4/12/2000 -0500, Dave Hannum wrote:
Ok - I'm outta my realm here, but I need to make it my realm.  I have a news 
feed from Moreover that uses JavaScript to incorporate
it into my page.  This works, but is an extremely slow process.  (I know 
it's the same for iSyndicate too - I use them other
places).  Is there anyway to grab this info, say hourly, and cache it for my 
use???  Anybody trying anything like this???

Dave


=
"Always Drink Upstream From The Herd!"




--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=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=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Caching with CFHTTP?

2000-04-12 Thread Emily B. Kim

you might want to try to do the call to CFHTTP but have a CFCACHE tag at
the top of the page. CFCACHE will cache the the resultant html page that is
produced (makes a tmp file). you can just call that cached page over and
over again...you can then run a scheduler to flush the page when you want
the results to be refreshed. just be careful that you don't end up with an
error message on that page because it will cache the error message. -emily

At 05:03 PM 4/12/2000 -0400, you wrote:
On our Intranet site I'm grabbing headlines and writing them to a database
on a scheduled basis so that users can pull them from the db rather than
having to go out and fetch them every time they login. Not exactly "caching"
in the sense that you are asking about but it accomplishes the same goal
plus makes them searchable for however long I let the old headlines sit in
the DB.

Let me know if you'd like the code I use for it.

Ken

 Ok - I'm outta my realm here, but I need to make it my realm.  I have a
news feed from Moreover that uses JavaScript to incorporate
 it into my page.  This works, but is an extremely slow process.  (I know
it's the same for iSyndicate too - I use them other
 places).  Is there anyway to grab this info, say hourly, and cache it for
my use???  Anybody trying anything like this???

 Dave

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.