Hi Lennart,
You may have interests on this:
http://github.com/janx/newsmailer/blob/a4329bab234d8cc0252d9d7a72e97036b8a278df/app/models/crawler.rb
Best,
Jan
* Lennart Koopmann
<koopmann.lennart-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> [2009-01-30
13:09:19 +0100]:
>
> Hello everyone,
>
> I want to fetch some (5-10) RSS feeds from another server. I plan to
> fetch the RSS feeds asynchronously and store them on the hard disk
> every 30 minutes so I can read them from there on every request. (To
> treat the remote server with care and to avoid longer page generation
> time).
>
> What is the best way to do that?
>
> I think about starting a fetcher-thread on the start of my Rails
> application. I want to avoid cron jobs to keep everything in the Rails
> application.
>
> Thank you!
>
> So long
> Lennart Koopmann
>
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com
> For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
> -~----------~----~----~----~------~----~------~--~---
--
jan=callcc{|jan|jan};jan.call(jan)