Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Generating static pages from database?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
sol  
View profile   Translate to Translated (View Original)
 More options 4 May, 15:44
From: sol <ch.bl...@gmail.com>
Date: Mon, 4 May 2009 07:44:22 -0700 (PDT)
Local: Mon 4 May 2009 15:44
Subject: Re: Generating static pages from database?
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google