Convert Existing Site

Anyone tried to convert an existing static site (say, built with Front
Page) to the Rails framework?

If so, any hints?


If it’s really something spit out of frontpage or some other end user design tool, I would pretty much start from scratch; but that’s just me.

If you really want a quick and dirty convert job …

Grab the stylesheet and images and stick them in their respective public/ folders, save a ‘view source’ of the main page and copy that to layouts/application.rhtml.

Edit to clean up image and stylesheet references to new pathing, add your dynamic layout tag to the application.rhtml.

You’ve now cloned the look of the old site … start on your models and controllers.

Really though, just rewrite it :wink:

Thanks for the suggestion, Hank.


Tom Browder
Niceville, Florida