New supertemplate 'LIST'.
[gruta.git] / RELEASE_NOTES
blob98f44f047c8856384267929ae93af8961004db6c
1 Gruta Release Notes
2 ===================
4 2.1.0 "Calenzano"
5 -----------------
7  * On-the-fly Gzip compression (if browser accepts it).
8  * New special uris; `abstract', to paste a story's abstract, and `body',
9    to paste the full body of another one.
10  * A new renderer, Text, for plain text content.
11  * New Artemus variables to set HTML metadata; `html_title',
12    `html_description' and `html_keywords'.
13  * A new supertemplate called CSS, that returns the Cascading Style
14    Sheet instead of having it embedded in all output.
15  * A new supertemplate called SITEMAP (to be aliased to /sitemap.xml).
16  * If a story called `index' is present in a topic, the 'TOPIC' template
17    shows its body instead of the list of stories in it.
18  * Several new commands in the `gruta' command line tool; _new_story_ (to
19    create a new story from STDIN), _import_rss_ (to import an RSS file
20    into a topic), _update_story_ (to update a story from STDIN).
21  * Topics now have a new field, `description', that is used in the
22    HTML description meta tag in `TOPIC'.
23  * Internal server errors set the HTTP status to 500.
24  * Some old function templates have been deleted and moved to Artemus.
25  * Many templates have been simplified with new Artemus keywords.
26  * The DBI driver is less verbose on errors.
27  * Those templates more prone to be changed when configuring a new
28    site have been renamed to have a prefix of 'cfg_'.
29  * Added POD documentation to some templates.
30  * Date formatting functions now accept `%w' to print the week day
31    as a number.
32  * New global argument `dummy_touch' to avoid updating the `hits' count
33    of each story.
34  * Several fixes to the Mbox driver.
35  * Don't generate empty 'about' and 'legal' links in 'meta_menu' if
36    they don't exist.
37  * Confirmation is requested when deleting a story.
38  * New global argument `static_urls', that forces some urls (mainly
39    links to topics and stories) to use a simplified, static-like look.
40    You *need* to have the following Apache's mod_rewrite keywords
41    for these urls to be re-converted to usable ones:
43  RewriteEngine On
44  RewriteRule /(img|download)/.* - [L]
45  RewriteRule ^/(.+)/index\.html$ /?t=TOPIC&topic=$1       [PT]
46  RewriteRule ^/(.+)/(.+)\.html$  /?t=STORY&topic=$1&id=$2 [PT]
47  RewriteRule ^/(.+)/$            /?t=TOPIC&topic=$1       [PT]
48  RewriteRule ^/rss\.xml$         /?t=RSS                  [PT]
49  RewriteRule ^/sitemap\.xml$     /?t=SITEMAP              [PT]