Fragmenta
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
- Added a few examples
- Added welcome page
- First public release
Version 2.4.6
- 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
- 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
Version 2.4.4
- Sorted arrays now sorted by file name as secondary sort key for values that are equal
- Added sort_primary and sort_secondary so that it’s easier to over-ride sort order
- Added iso_mtime function for pages and supporting functions for sitemap.xml files
- Added support for depends_on field in pages
- Now converts all images to RGB profile for web viewing (in case they are CMYK)
