Go to Google Groups Home    StaticMatic
Re: Generating static pages from database?

sol <ch.bl...@gmail.com>

Hi,

I meant, how would you create the actual pages?
Just run a script that outputs rows as files into pages/, or is there
a better way?

On 4 May, 16:15, Joshaven Potter <yourt...@gmail.com> wrote:

> Sure its possible.
> You can use a ruby module to connect to your database...http://www.kitebird.com/articles/ruby-mysql.html

> On Mon, May 4, 2009 at 9:46 AM, sol <ch.bl...@gmail.com> wrote:

> > Hey,

> > I used staticmatic a long time ago, so I'm not sure about it's
> > (current) features...

> > I need to create static html sites (around 200 000) from a database,
> > and I would like to use ruby for this - so staticmatic was the first
> > thing I thought about since I need a template system to easily change
> > and regenerate everything ... but I remember it needed files
> > describing the pages...

> > Is this possible with staticmatic or does anyone have suggestions how
> > to do this?

> > Thank you in advance,
> > Christoph

> --
> Sincerely,
> Joshaven Potter

> "No man making a profession of faith ought to sin, nor one possessed of love
> to hate his brother. For He that said, “Thou shalt love the Lord thy God,”
>  said also, “and thy neighbor as thyself.”  Those that profess themselves to
> be Christ’s are known not only by what they say, but by what they practice.
> “For the tree is known by its fruit.”" -- Ignatius