G. Switzer, II [mailto:[EMAIL PROTECTED]
Sent: 24 December 2007 12:43
To: CF-Talk
Subject: RE: CFHTTP and Caching
Ian,
>This is the error I am getting below even though weather_xml has been
>defined in the application.cfm page
>
>i.e.
>
>ERROR IS
>
>Element WEA
Ian,
>This is the error I am getting below even though weather_xml has been
>defined in the application.cfm page
>
>i.e.
>
>ERROR IS
>
>Element WEATHER_XML is undefined in APPLICATION.
>
>
>My application.cfm page is
>
>
>
>
>APPLICATION.TimeStamp, TimeFormat(NOW(), "hh:mm:s")) GT 20)
I am getting problems with CFHTTP and caching a RSS feed, I cant find
out why I am getting the error below ?? Any ideas on what it can be ?
This is the error I am getting below even though weather_xml has been
defined in the application.cfm page
i.e.
ERROR IS
Element WEATHER_XML is
This is the error I am getting below even though weather_xml has been
defined in the application.cfm page
i.e.
ERROR IS
Element WEATHER_XML is undefined in APPLICATION.
My application.cfm page is
http://feeds.bbc.co.uk/weather/feeds/rss/5day/id/3314.xml";
method="GET" resol
On Wednesday 19 Dec 2007, Ian Vaughan wrote:
> I have added the following but I am getting this error even though I
> have defined this in my application.cfm page
Did you wait 20 minutes (or whatever your DateDiff interval is) ?
--
Tom Chiverton
Helping to autoschediastically supply value-added
resolveurl="No">
-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED]
Sent: 19 December 2007 11:37
To: CF-Talk
Subject: Re: CFHTTP and Caching
On Wednesday 19 Dec 2007, Ian Vaughan wrote:
> Where would structkeyexists go in the application.cfm page ?
Round about where
On Wednesday 19 Dec 2007, Ian Vaughan wrote:
> Where would structkeyexists go in the application.cfm page ?
Round about where you check for application.foo's value, without checking foo
exists in application.
--
Tom Chiverton
Helping to administratively deploy guinine environments
on: http://th
CF-Talk
Subject: Re: CFHTTP and Caching
On Tuesday 18 Dec 2007, Ian Vaughan wrote:
> Any ideas on where I am going wrong ?
structKeyExists() or similar
--
Tom Chiverton
Helping to conveniently synthesize enterprise niches
on: http://thefalken.livejournal.com
*
On Tuesday 18 Dec 2007, Ian Vaughan wrote:
> Any ideas on where I am going wrong ?
structKeyExists() or similar
--
Tom Chiverton
Helping to conveniently synthesize enterprise niches
on: http://thefalken.livejournal.com
This email is sent for
27;ALL')#
-Original Message-
From: Paul Vernon [mailto:[EMAIL PROTECTED]
Sent: 13 December 2007 15:07
To: CF-Talk
Subject: RE: CFHTTP and Caching
> However what can I use in Coldfusion to cache this CFHTTP request
> (every
> 2 hours)so that it does not request the RSS f
> However what can I use in Coldfusion to cache this CFHTTP request
> (every
> 2 hours)so that it does not request the RSS feed every time a user
> loads
> our webpage?
>
> Any ideas if this is possible ?
We do this all the time, here are a couple of possibilities...
Save the RSS feed to the DB
Putting the result in the application scope is a good idea. Just do something
like:
Then refer elsewhere in your code to application.myRSSdata rather than
cfhttp.filecontent or whatever you were using for a result variable.
>I have tried the cachedwithin="#CreateTimeSpan(0,3,0,0)#" at t
TP request in the code ?
-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED]
Sent: 13 December 2007 15:17
To: CF-Talk
Subject: Re: CFHTTP and Caching
On Thursday 13 Dec 2007, Ian Vaughan wrote:
> Could I just use cachedwithin="#CreateTimeSpan(0,3,0,0)#" on the end
Just use cf_accelerate. It does all the heavy lifting for you.
Russ
> -Original Message-
> From: Ian Vaughan [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 13, 2007 10:02 AM
> To: CF-Talk
> Subject: RE: CFHTTP and Caching
>
> Could I just use cachedwi
On Thursday 13 Dec 2007, Ian Vaughan wrote:
> Could I just use cachedwithin="#CreateTimeSpan(0,3,0,0)#" on the end of
> the CFHTTP statement ?
Have you tried ?
What happened ?
Did you consult the documentation ?
--
Tom Chiverton
Helping to economically brand exceptional e-markets
on: http://thef
Re: CFHTTP and Caching
Use a schedule task to dump the result in the application scope? Every
3
hours or so, go get a new version of the xml? How do you want this to
be
done?
On Dec 13, 2007 9:44 AM, Ian Vaughan <[EMAIL PROTECTED]>
wrote:
> Hi
>
> I am using CFHTTP to get an R
Use a schedule task to dump the result in the application scope? Every 3
hours or so, go get a new version of the xml? How do you want this to be
done?
On Dec 13, 2007 9:44 AM, Ian Vaughan <[EMAIL PROTECTED]>
wrote:
> Hi
>
> I am using CFHTTP to get an RSS feed to display on our website.
>
> ht
Hi
I am using CFHTTP to get an RSS feed to display on our website.
http://feeds.bbc.co.uk/weather/feeds/rss/5day/id/2315.xml";
method="GET" resolveurl="No"
However what can I use in Coldfusion to cache this CFHTTP request (every
2 hours)so that it does not request the RSS feed every time a user
18 matches
Mail list logo