Hello everybody, just a short update on the recent development of the next webgen versions: 0.4.3 ==== Following changes are now in the repository: * The offending website style plain has been removed * Added meaningful parameters from MenuStyle/Vertical to MenuStyle/ Horizontal * Different EOL encodings in page/template files are now handled correctly * Data directory search order fixed and new log message showing the location * File/TemplateHandler now has its own set of default meta information I will add the submitted plugins in the next week or so sothat 0.4.3 can be released around April 20th. 0.5.0 ==== The repository development version now also supports * File/CopyHandler, File/TemplateHandler and File/PageHandler in the first incarnations * regeneration of the necessary files only (also works for page files!) To try it out, check out the repository version using svn: svn co svn://rubyforge.org/var/svn/webgen/devel Make sure you have installed erubis, redcloth, cmdparse (both available as gems)! Then, to run webgen use the following command: cd devel ruby -Ilib bin/webgen run The website templates and styles have not been updated which means that the create command does not create a valid website currently! However, after creating a test site manually and populating it with some test files, you will get output similar to the following: erebus:~/work/webgen/devel thomasleitner$ time ruby -rubygems - Ilib bin/webgen -d /tmp/testsite/ -V 1 run INFO -- Starting rendering of website </tmp/testsite>... INFO -- Using webgen data directory at </Users/thomasleitner/work/ webgen/devel/data/webgen> INFO -- Creating node(s) for file </tmp/testsite/src/test.png>... INFO -- Creating node(s) for file </tmp/testsite/src/ default.template>... INFO -- Creating node(s) for file </tmp/testsite/src/index.page>... INFO -- Creating virtual node for path <doit.page>... INFO -- Writing </tmp/testsite/output/> INFO -- Writing </tmp/testsite/output/test.png> INFO -- Nothing to do for: </tmp/testsite/output/default.template> INFO -- Using default template for </tmp/testsite/src/index.page> INFO -- Using default template for </tmp/testsite/src/ default.template> INFO -- Writing </tmp/testsite/output/index.html> INFO -- Nothing to do for: <http://webgen.rubyforge.org> INFO -- Rendering of website </tmp/testsite> finished real 0m0.290s user 0m0.203s sys 0m0.084s erebus:~/work/webgen/devel thomasleitner$ time ruby -rubygems - Ilib bin/webgen -d /tmp/testsite/ -V 1 run INFO -- Starting rendering of website </tmp/testsite>... INFO -- Using webgen data directory at </Users/thomasleitner/work/ webgen/devel/data/webgen> INFO -- Creating node(s) for file </tmp/testsite/src/test.png>... INFO -- Creating node(s) for file </tmp/testsite/src/ default.template>... INFO -- Creating node(s) for file </tmp/testsite/src/index.page>... INFO -- Creating virtual node for path <doit.page>... INFO -- Nothing to do for: </tmp/testsite/output/> INFO -- Nothing to do for: </tmp/testsite/output/test.png> INFO -- Nothing to do for: </tmp/testsite/output/default.template> INFO -- Using default template for </tmp/testsite/src/index.page> INFO -- Using default template for </tmp/testsite/src/ default.template> INFO -- Nothing to do for: </tmp/testsite/output/index.html> INFO -- Nothing to do for: <http://webgen.rubyforge.org> INFO -- Rendering of website </tmp/testsite> finished real 0m0.269s user 0m0.191s sys 0m0.070s erebus:~/work/webgen/devel thomasleitner$ As you can see, nothing is written the second time because nothing has changed! Also notice the overall execution time of around 270ms. Estimated 180ms - 220ms are used for loading Rubygems and dependencies. webgen 0.4.2 needs about twice the time! That''s all for now! -- Thomas