Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > [ANN] webgen 0.4.0 released

Thread Tools

[ANN] webgen 0.4.0 released

Thomas Leitner
Posts: n/a
Hey all,

finally a new webgen release More information and install
instructions below!

Thanks for all the help and feedback!




webgen is used to generate web pages from page and template files. You
create one or more template files in which you define the layout of
your page and where the content should go. After that you create page
files in which you only define the content.

When webgen is run it combines the template with each of the page
and generates the HTML output files. During this process special tags
are substituted so that, for example, a menu is generated.

More information on webgen can be found on its homepage:

Major changes

* New website layout
* webgen now includes many predefined website styles
* Template files can now be nested!
* New content converter plugin (ContentConverter/XmlBuilder)
* New plugin for syntax highlighting (Misc/SyntaxHighlighter)
* Many changes to the core
* "Static" menus now available
* Many tests have been added.
* More complete documentation
* Fixed many bugs
* Many, many other changes

Thanks for all the feedback!!!

Download & Installation



* cmdparse [1] version 2.0.0 or higher

All the following libraries are optional:

* RedCloth [2] version 2.0.10 or higher if you want Textile support
* BlueCloth [3] version 1.0.0 or higher if you want Markdown support
* RMagick [4] version 1.7.1 or higher if you want automatic thumbnail
creation for image galleries
* builder [5] version 2.0.0 or higher if you want programatic
HTML/XMLfile generation
* exifr [6] version 0.9.4 or higher if you want to be able to have
EXIF information available for image galleries
* coderay [7] version or higher if you want syntax
highlighting to be available for certain plugins

All the libraries can be installed via Rubygems (which is recommend).


The easiest way to install webgen is via Rubygems
$ gem install webgen

However, you can also use the included setup.rb installation method:
$ ruby setup.rb config
$ ruby setup.rb setup
$ ruby setup.rb install

Or all commands together via
$ rake install

The above listed methods also work when installing on Windows.


Reply With Quote
Thomas Leitner
Posts: n/a
> I'm sorry if this question has been posted already, I've had an
> extensive look to the website but apparently you don't provide any
> rails integration facility. I know Rails is mainly targetted at
> dynamic sites, but it would be nice to have webgen being able to
> generate .rhtml files for use with rails.
> Any chance this is going to happen?

I do not really know what the advantage of this would be! Which .rhtml
files should webgen generate, more specifically, what should be the
content of the .rhtml files?

Could you state a use case for using webgen in conjunction with Rails?

I would be willing to do something like this if you provide some more
information about what the result should be.

Regards, Thomas

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] webgen 0.5.7 released Thomas Leitner Ruby 3 03-01-2009 04:56 PM
[ANN] webgen 0.5.3 released Thomas Leitner Ruby 0 08-25-2008 06:01 PM
[ANN] webgen 0.5.2 released Thomas Leitner Ruby 0 08-13-2008 10:39 AM
[ANN] webgen 0.5.1 released Thomas Leitner Ruby 0 07-31-2008 10:06 AM
[ANN] webgen 0.5.0 released Thomas Leitner Ruby 0 07-09-2008 10:09 AM