webgen

Static website generation made easy
Download

webgen Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Thomas Leitner
  • Publisher web site:
  • http://cmdparse.rubyforge.org/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 404 KB

webgen Tags


webgen Description

Static website generation made easy webgen is an easy-to-use, extensible web site generator in Ruby. webgen is used to generate static web sites from templates and content files and provides tools for generating dynamic content like menus.Anything can be put into webgen's source directory sothat it gets copied to the output directory but some file types are handled specially:· Page files (primarily used to define the content of a web page but can really be used to create about any text-based file format)· Template files (used to define the general layout of a web page, these are chainable/nestable)· Gallery files (you create one such file and get a whole image gallery for free, including goodies like EXIF information extraction and automatic thumbnail creation)· Sipttra files (files using a simple text-based feature/request tracking format)Although webgen can be used to easily create a finally static website, it allows one to embed dynamic parts in page and template files to support features like dynamic menu generation, dynamic link generation and more.The following methods for adding dynamic content are supported:· webgen tags: these allow non-programmers to easily add dynamic content using a simple markup syntax. webgen ships with many tag plugins for generating menus and breadcrumb trails, listing all translations of a page, syntax highlighting code fragments or entire files, and much more.· ERB (embedded Ruby) for custom scripts embedded into content files for advanced users. Here are some key features of "webgen": · Fast (only the necessary files are regenerated) · Easy to install and use · Runs on Linux, Mac OS X, Windows · Extendable by writing add-ons in Ruby · Easy to configure if one needs to (no need if you are happy with the default values) · Command line interface uses command style syntax (like Subversion's svn command) · Markdown (including special syntax like setting header ids and html attributes through the Maruku library) · Textile · Haml and Sass · RDoc (the native API documentation format for Ruby) · Builder (tool for programatically creating XML documents) · Smiley-to-emoticon conversion · Plain text · Meta information can be specified for every file (e.g. title, menu ordering information) · Support for specifying 'virtual files and directories' (can be used, for example, to include links to external pages in the menu) · Generated HTML files can be automatically checked if they are standard conform What's New in This Release: Minor enhancements: · Added content processor for checking an XML (XHTML) file for well-formedness and validness Bug fixes: · `Tag::TikZ`: the generated image tags now always have an `alt` attribute · Fixed problem with the webgui when creating a new website · Fixed problem with matching directory nodes (reported by Hermann Schichl) · Fixed bug RF#26885: paths with dots in the extension and without a language part were handled incorrectly (reported by John Lockman) · Fixed bug RF#26890: detecting unused paths did not always work correctly (reported by John Lockman) · Fixed problem with handling paths of the form `NUMBER.REST` (e.g. `1340.png`): the number part is now considered the basename and the rest is the extension : {relocatable: ../documentation/contentprocessor/xmllint.html}


webgen Related Software