Fragmenta is a tool for generating static websites from folders of files and images. Instead of using a manual editing tool like coda or dreamweaver, you can generate from files containing ruby code, textile markup. You can even use rtf or word documents to style text, though textile is preferable. Image metadata is also read in from the XMP tags.

Features at a glance

Fragmenta can generate HTML from most source formats, and you can add support for other formats as required by adding a small ruby script. To find out more, you can read the full manual online.

  • Generate from source files including .txt, .textile, .doc, .rtf, .docx, .erb, .jpg,.png, .psd, .rb
  • Use templates to avoid repeating markup/text
  • Use ruby code inside source documents
  • Override import rules or classes in the app at run-time
  • Similar syntax to dynamic website scripts like Rails
  • Manage htaccess and password files via templates

There are many alternatives for generating simple pages with no templates which allow in place WYSIWYG editing of HTML, which may be more appropriate if you just want to create a few pages (iWeb, Coda etc). Fragmenta is intended to be used for generating large sites from templates and simple source files, without a database or scripts on the server. The following sites are built with Fragmenta :

Recent changes

Version 2.5

26 August 2008
  • Added a few examples
  • Added welcome page
  • First public release

Version 2.4.6

22 August 2008
  • Compiled with newer version of AGRegex
  • Added full_file_name field to fragment
  • Added fix for bug in ordering stylesheet attributes

Version 2.4.5

08 August 2008
  • Fixed bug meaning Website button could cause Preview button to display remote site
  • Updated home_name to look for home_name in site.info
  • Default navigation uses short_title
Fragmenta links

© Kenny Grant
and Mechanism Design

Hosted by Slicehost

Built with Fragmenta