The 'index' story substitutes the full list in 'TOPIC'.
[gruta.git] / RELEASE_NOTES
blob1a97ba5c5f1c32348d152a66b0ae1dd448417233
1 Gruta Release Notes
2 ===================
4 2.1.0
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  * Internal server errors set the HTTP status to 500.
22  * Some old function templates have been deleted and moved to Artemus.
23  * Many templates have been simplified with new Artemus keywords.
24  * The DBI driver is less verbose on errors.
25  * Those templates more prone to be changed when configuring a new
26    site have been renamed to have a prefix of 'cfg_'.
27  * Added POD documentation to some templates.
28  * Date formatting functions now accept `%w' to print the week day
29    as a number.
30  * New global argument `dummy_touch' to avoid updating the `hits' count
31    of each story.
32  * Several fixes to the Mbox driver.
33  * Don't generate empty 'about' and 'legal' links in 'meta_menu' if
34    they don't exist.
35  * Confirmation is requested when deleting a story.
36  * New global argument `static_urls', that forces some urls (mainly
37    links to topics and stories) to use a simplified, static-like look.
38    You *need* to have the following Apache's mod_rewrite keywords
39    for these urls to be re-converted to usable ones:
41  RewriteEngine On
42  RewriteRule /(img|download)/.* - [L]
43  RewriteRule ^/(.+)/index\.html$ /?t=TOPIC&topic=$1       [PT]
44  RewriteRule ^/(.+)/(.+)\.html$  /?t=STORY&topic=$1&id=$2 [PT]
45  RewriteRule ^/(.+)/$            /?t=TOPIC&topic=$1       [PT]
46  RewriteRule ^/rss\.xml$         /?t=RSS                  [PT]
47  RewriteRule ^/sitemap\.xml$     /?t=SITEMAP              [PT]