Create static pages from RoR

I'm learning RoR and I need to solve a particular problem. I have a database which I currently use to create a complete web site, it has pages like \Europe\Spain\hotels-in-Spain.html and \Europe\Spain \Index.html, and \Europe\Index.html, you get the general idea. Reading about routes.rb I see that with some tricking about I could preserve this search engine friendly way of doing things, but for the most part these pages are static and change maybe once a week or even less. Rather than have Rails generate a new page from scratch on each request, I want to use Rails to create the entire web site and write it into the right directories as static pages, with just a few dynamic pages, or maybe some AJAX sections on the static pages.

How do I do it?

http://radiantcms.org/

Uses caching.

Ta for that, sadly the demo doesn't work anymore, when I click the login button I go straight to "server cannot be found". I'll download the thing as see if I can get it to work that way.

Cheers

John Small

JDS no spam wrote:

Ta for that, sadly the demo doesn't work anymore, when I click the login button I go straight to "server cannot be found". I'll download the thing as see if I can get it to work that way.

Cheers

John Small    Radiant is very good and quite reliable. You should be able to get it running quite easily. There are download and install instructions at the website (http://radiantcms.org/ ) but they're migrating servers, so you may have some problems (that may be why the demo doesn't work).

There's a helpful mailing list on that site.

Also, after you download, you can follow the tutorial on my site to get started: http://notepad.onghu.com/2007/5/26/hello-world-using-radiant-cms

Cheers Mohit.