Displaying 1 result from an estimated 1 matches for "newsstorycontroller".
2006 Oct 23
3
Design Dilemma - Please Help
...lers - Grabs a story from the DB, Sort the Stories, Search the
Stories etc.
View - HTML News Story, RSS Story etc.
Then a I have a news crawler, that will go crawl some feeds for new
stories, then insert them into the db. Where do I put it, and how do I
get cron to execute it?
Maybe put it in the NewsStoryController?
Do I make another file for cron to run, that contains something like
this:
---
nc = NewsStoryController.new
nc.crawl
---
If I do this will I still have access to the ActiveRecord the same as
usual?
I''m confused, and any guidance or feedback would be awesome!
Thanks,
Chris
--~--~---...