GNTML

GNTML is the markup language written by fiennes.org to describe the content that should appear in a document.

GNTML started off as a textile like formatting description engine. It supported the usual bold, italic, underline etc etc and then started to grow from there.

We now have a plugin architecture for GNTML which lets you register new block implementations so that you can embed structured database information into a GNTML document in a a flexible manner and have these blocks be generated dynamically every time the page is viewed so that the meta-data is always up-to-date with wherever it has been syndicated from.

Each block in a GNTML document can specify how it relates to the grid structure of the document itself. It is the responsbility of the block to render itself in the most appropriate way possible. This could be something as simple as a plain text phrase, eg:

The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog.

The quick brown fox jumped over the lazy dog.

The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog.

or it could be more complicated - for example the ScalableImage plugin will automatically generate (and cache) a scaled version of the upload hires image giving us: