|
|
The main feature of remark, is its ability to allow you to add new html tags to it.
Remark has three distinct ways for you to create custom html tags. Two are for content creation and the other is for page template control.
HTAGS: HTML source tags
HTAGS are simply html content you wish to define externally to your pages and reuse (include) within your pages.
They are very usefull in a variaty of different situations and can be used for different purposes.
They are extremely easy to create as all you need to do is save out an ascii, html-containing file on disk, no coding required.
They are great at creating blocks of html layout (like tables), in which you want an artistic director to contribute, without burdening him with the REBOL aspect of things.
They can also be used to create default page items you wish to reuse within other page constructs... things like mail adresses, menus, headers, footers, etc.
The complete htag specification and documentation is covered in detail here: HTAGS: REBOL HTML Source Tags
RTAGS: Remark tags
RTAGS are the programable (dialected) tags of the remark engine
They are the core api of the remark engine. All custom tags are implented within the engine as RTAGS. Adding new tags is trivial, coding smart tags is a great deal of fun.
There is theoretically no limit to what an rtag can do, as it evaluates REBOL code when a tag is found. You could even do inserts WITHIN a database whenever a page is parsed, or do queries FROM a database to get data from it.
The complete rtag specification and documentation is covered in detail here: RTAGS: REBOL Dialected Tags
TTAGS: Template Page-Wrapping Tags
TTAGS allow you to wrap your pages within predefined page layouts (templates).
They are easily set up, much like htags, just by saving out a file within your site's custom tags folders.
They are just a convenience to further reduce the clutter of your actual html source files. And allow you to select the looks of pages.
When combined with an rtag which converts non html data into html, you can also make it so different file formats may be included within a remark setup without needing to convert them to html beforehand. Things like supporting txt files and make-doc data easily come to mind as potential htags.
The complete ttag specification and documentation is covered in detail here: TTAGS: Template Page-Wrapping Tags
last updated: 16-Feb-2006/22:31:38-5:00