The Accidental Rubyist

invalid byte sequence in UTF-8

Comparing some static HTML generators

with 2 comments

I have started looking at some static html website generators. Will be writing more about them in separate posts. I am not looking to have to know or do too much with CSS or too much customization. I would like it to use sensible defaults, conventions and leave me to just fill data. I like filters like textile, markdown and maruku. It should look good straight off. Links on the side or below would be great.

I first started with’s ZenWeb (written in ruby). The sparse directions for usage gave me many errors. I spent hours figuring them out. I still cannot get it to correctly make a site map of a subfolder from the main (due to bugs). Very basic filter. Not sure if it;s abandoned.

Then downloaded Webby – this thing began downloading half the internet ! and crashed out while running Rdocs on haml and builder.

So then i downloaded webgen (ruby gem) which looked better based on documentation. This does not run – gives an error about not finding console.
An error has occurred: uninitialized constant Console
That’s the issue with these uncompiled languages — so much time wasted due to uninitialized variables that only give errors when the program tried to execute the erroneous line.

Webby surprisingly runs and I will write more on that again.

Then also downloaded qsgen (a python egg), but not sure what all it does, and some samples of the format would have helped. To look at later.

Then i tried downloading HTMLGen – finally found it in macports – that first downloaded a lower version of python (2.4) (I have 2.5.1), and then finally said it can’t find htmlgen!

Edit: uninstalled latest webgen and installed an older stable version
gem install webgen -v '< 0.5.0'
This things rocks! Much more mature than webby.

[Edited in Vim using HTML.vim]
Published using by Scott Yang.


Written by totalrecall

August 24, 2008 at 7:09 pm

Posted in Uncategorized

2 Responses

Subscribe to comments with RSS.

  1. Hi! The error you got was due to an incompatible change in facets from 2.4.1 to 2.4.2 which is used by webgen. webgen 0.5.3 which fixes this will be released in 3 to 4 days and is better than the 0.4.x series although not as featureful currently (will be remedied with the following versions). So you might want to wait till 0.5.3 comes since there have been many changes between 0.4.x and 0.5.x

    Thomas Leitner

    August 24, 2008 at 9:34 pm

  2. Hi Thomas
    Thanks for the reply. Ok, I will wait a few days for the next version to come out.
    0.4.x looks great, btw. Great work.


    August 24, 2008 at 10:05 pm

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: