Well, cf can pre-render it. Two ways you could accomplish this are a) use
twitter's api to get the tweets on the server side and cache it. or b)
create another js function that takes the tweet results and passes them back
to the server for caching, thus avoiding api development.

On Wed, Sep 14, 2011 at 7:13 AM, Matt Williams <mgw...@gmail.com> wrote:

>
> I switched to cffeed. I'm afraid we'll hit Twitter's limit too easily.
> I've already seen it in on the staging site.
>
> Thanks, I knew that about the client side javascript, I was just
> thinking that somehow the CF could pre-render that.
>
> Working too late, too many hours....
>
> -Matt
>
> On Tue, Sep 13, 2011 at 8:24 PM, Michael Grant <mgr...@modus.bz> wrote:
> >
> > Not on the client side. Either way you have to hit a server. Better
> > Twitter's than yours I'd say.
> >
> >
> >
> > On Tue, Sep 13, 2011 at 7:12 PM, Matt Williams <mgw...@gmail.com> wrote:
> >
> >>
> >> I have some divs that are populated with tweet.js (jquery plugin for
> >> twitter). So on document.ready(), the divs are populated by the
> >> plugin.
> >>
> >> I don't want to hit twitter on every page load and want to cache the
> >> populated divs somehow.
> >>
> >> Is there a way to take those populated divs and cache them? Simply
> >> saving the content to html is still saving the javascript too and not
> >> the actual output.
> >>
> >> I guess I may have to switch to grabbing the feed using cffeed or
> >> something, but this code is already done and styled, so I was hoping
> >> for something else.
> >>
> >> Thanks,
> >>
> >> -Matt
> >>
> >>
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347458
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to