From bruno at mkdoc.demon.co.uk Mon Jan 3 18:58:48 2005 From: bruno at mkdoc.demon.co.uk (bruno@mkdoc.demon.co.uk) Date: Mon Jan 3 18:58:30 2005 Subject: [MKDoc-commit] Added example MKDoc::Apache_Cache cache_policy file Message-ID: <20050103185848.A380A2E28E2@mkdoc.demon.co.uk> Log Message: ----------- Added example MKDoc::Apache_Cache cache_policy file Tags: ---- mkdoc-1-6 Added Files: ----------- mkd/conf: cache_policy.conf -------------- next part -------------- --- /dev/null +++ conf/cache_policy.conf @@ -0,0 +1,59 @@ +# example of an MKDoc configuration + +# some different kinds of requests + +CONDITION is_slash $ENV{PATH_INFO} =~ /\/$/ + +CONDITION is_sitemap $ENV{PATH_INFO} =~ /\/\.sitemap\.html$/ +CONDITION is_print $ENV{PATH_INFO} =~ /\/\.print\.html$/ +CONDITION is_rdf $ENV{PATH_INFO} =~ /\/\.meta\.rdf$/ +CONDITION is_rss $ENV{PATH_INFO} =~ /\/\.headlines\.rss$/ +CONDITION is_search $ENV{PATH_INFO} =~ /\/\.search\.html$/ + +CONDITION is_photo $ENV{PATH_INFO} =~ /\/[a-z0-9-]+\.[a-z]+,html$/ + +CONDITION is_poll $ENV{PATH_INFO} =~ /\/poll(-[0-9]+)?\.html$/ + +CONDITION is_discussion $ENV{PATH_INFO} =~ /\/discussion(-[0-9]+)?\.html$/ +CONDITION is_postmessage $ENV{PATH_INFO} =~ /\/discussion(-[0-9]+)?\.html,post$/ +CONDITION is_viewmessage $ENV{PATH_INFO} =~ /\/discussion(-[0-9]+)?\.html,view$/ + +CONDITION is_subscribe $ENV{PATH_INFO} =~ /\/\.account\.subscribe$/ +CONDITION is_reminder $ENV{PATH_INFO} =~ /\/\.account\.reminder$/ +CONDITION is_preferences $ENV{PATH_INFO} =~ /\/\.account\.preferences$/ +CONDITION is_remove $ENV{PATH_INFO} =~ /\/\.account\.remove$/ + +CONDITION is_user defined $ENV{REMOTE_USER} + +# some different times + +RET_VALUE never 0 +RET_VALUE ten_minutes "10 min" +RET_VALUE thirty_minutes "30 min" +RET_VALUE eight_hours "8 hours" +RET_VALUE one_day "24 hours" +RET_VALUE one_week "7 days" + +# non-default retrieval keys + +RET_VALUE no_query_string $ENV{REQUEST_METHOD} . ":" . $ENV{SERVER_NAME} . $ENV{PATH_INFO} +RET_VALUE dev_null 'dev_null' + +# the control list + +RULE never dev_null WHEN is_user +RULE never dev_null WHEN is_poll +RULE never dev_null WHEN is_search + +RULE one_day no_query_string WHEN is_sitemap + +RULE thirty_minutes no_query_string WHEN is_slash +RULE thirty_minutes no_query_string WHEN is_print +RULE thirty_minutes no_query_string WHEN is_photo + +RULE eight_hours no_query_string WHEN is_rdf +RULE eight_hours no_query_string WHEN is_rss + +RULE eight_hours WHEN is_discussion +RULE eight_hours WHEN is_viewmessage + From chris at mkdoc.demon.co.uk Wed Jan 5 11:08:57 2005 From: chris at mkdoc.demon.co.uk (chris@mkdoc.demon.co.uk) Date: Wed Jan 5 11:08:38 2005 Subject: [MKDoc-commit] Added select list and table row examples from the email list to the Message-ID: <20050105110857.4BE712E28E2@mkdoc.demon.co.uk> Log Message: ----------- Added select list and table row examples from the email list to the documentation. Modified Files: -------------- Petal/lib: Petal.pm -------------- next part -------------- Index: Petal.pm =================================================================== RCS file: /var/spool/cvs/Petal/lib/Petal.pm,v retrieving revision 1.122 retrieving revision 1.123 diff -Llib/Petal.pm -Llib/Petal.pm -u -r1.122 -r1.123 --- lib/Petal.pm +++ lib/Petal.pm @@ -1054,6 +1054,48 @@
+ This a odd row, it comes before the even row. + | +
+ This a even row. + | +
No elements | +
$rec/foo | +
String
+#
+foo
+ + + +ID | +Name | +Phone | +Active | +|
---|---|---|---|---|
No elements | +||||
ID | +First Last | +Phone | +x | +
Checkbox group | +Select group | +Radio button group | +
---|---|---|
+ + Test + + | + ++ + Test + + | + ++ + Test + + | +
+ Accounts can be enabled, which means that they can be used, or disabled which means that they can't be used. Index: en.html =================================================================== RCS file: /var/spool/cvs/mkd/templates/admin/user_modify/Attic/en.html,v retrieving revision 1.1.2.16 retrieving revision 1.1.2.17 diff -Ltemplates/admin/user_modify/en.html -Ltemplates/admin/user_modify/en.html -u -r1.1.2.16 -r1.1.2.17 --- templates/admin/user_modify/en.html +++ templates/admin/user_modify/en.html @@ -288,6 +288,44 @@ >/foo/bar/
+ +
+
+ Users may belong to one or more groups.
+ You can use groups to restrict access to areas
+ of your site to groups of users. This restriction affects
+ both editing and viewing. To select multiple groups or
+ select no groups you might need to use the
+ Ctrl key.
+
+
+
+
+
Log Message: ----------- Add note about xmllint preferring numeric entities rather than html entities. Modified Files: -------------- Petal/lib/Petal: Cookbook.pod -------------- next part -------------- Index: Cookbook.pod =================================================================== RCS file: /var/spool/cvs/Petal/lib/Petal/Cookbook.pod,v retrieving revision 1.3 retrieving revision 1.4 diff -Llib/Petal/Cookbook.pod -Llib/Petal/Cookbook.pod -u -r1.3 -r1.4 --- lib/Petal/Cookbook.pod +++ lib/Petal/Cookbook.pod @@ -71,10 +71,11 @@ xmlns:petal="http://purl.org/petal/1.0/" xmlns:metal="http://purl.org/petal/1.0/"> -You may receive errors from xmllint about unknown entities such as nbsp. These -can be safely ignored. If you find a way to suppress these warnings, please -let us know. In the meantime, you can pass the output through grep to ignore -these bogus warnings:. +You may receive errors from xmllint about unknown entities such as . +These can be safely ignored, though you can use the numeric version +instead to keep xmllint happy. If you find a way to suppress these warnings, +please let us know. In the meantime, you can pass the output through grep to +ignore these bogus warnings:. xmllint --noout tmpl/contact_info.tmpl >& grep -v 'Entity' From bruno at mkdoc.demon.co.uk Wed Jan 26 15:47:48 2005 From: bruno at mkdoc.demon.co.uk (bruno@mkdoc.demon.co.uk) Date: Wed Jan 26 15:47:30 2005 Subject: [MKDoc-commit] HTML::TreeBuilder hasn't been required for a loooong time Message-ID: <20050126154748.6D3972E28E2@mkdoc.demon.co.uk> Log Message: ----------- HTML::TreeBuilder hasn't been required for a loooong time Tags: ---- mkdoc-1-6 Modified Files: -------------- mkd: INSTALL.TXT -------------- next part -------------- Index: INSTALL.TXT =================================================================== RCS file: /var/spool/cvs/mkd/INSTALL.TXT,v retrieving revision 1.3.2.30 retrieving revision 1.3.2.31 diff -LINSTALL.TXT -LINSTALL.TXT -u -r1.3.2.30 -r1.3.2.31 --- INSTALL.TXT +++ INSTALL.TXT @@ -160,7 +160,6 @@ Text::Unidecode Unicode::String Mail::IMAPClient - HTML::TreeBuilder Time::ParseDate XML::RSS Cache::Cache From chris at mkdoc.demon.co.uk Thu Jan 27 10:14:52 2005 From: chris at mkdoc.demon.co.uk (chris@mkdoc.demon.co.uk) Date: Thu Jan 27 10:14:34 2005 Subject: [MKDoc-commit] New Directory Message-ID: <20050127101452.D2A0F2E28E2@mkdoc.demon.co.uk> Update of /var/spool/cvs/mkd/templates/account/preferences/audiences In directory devil.webarch.net:/tmp/cvs-serv14325/audiences Log Message: Directory /var/spool/cvs/mkd/templates/account/preferences/audiences added to the repository --> Using per-directory sticky tag `mkdoc-1-6' From chris at mkdoc.demon.co.uk Thu Jan 27 10:15:15 2005 From: chris at mkdoc.demon.co.uk (chris@mkdoc.demon.co.uk) Date: Thu Jan 27 10:14:57 2005 Subject: [MKDoc-commit] Audiences split into a seperate file Message-ID: <20050127101515.F05FB2E28E2@mkdoc.demon.co.uk> Log Message: ----------- Audiences split into a seperate file Tags: ---- mkdoc-1-6 Modified Files: -------------- mkd/templates/account/preferences: en.html Added Files: ----------- mkd/templates/account/preferences/audiences: en.html -------------- next part -------------- Index: en.html =================================================================== RCS file: /var/spool/cvs/mkd/templates/account/preferences/Attic/en.html,v retrieving revision 1.3.2.34 retrieving revision 1.3.2.35 diff -Ltemplates/account/preferences/en.html -Ltemplates/account/preferences/en.html -u -r1.3.2.34 -r1.3.2.35 --- templates/account/preferences/en.html +++ templates/account/preferences/en.html @@ -557,74 +557,8 @@ -
+ + From chris at mkdoc.demon.co.uk Fri Jan 28 11:16:51 2005 From: chris at mkdoc.demon.co.uk (chris@mkdoc.demon.co.uk) Date: Fri Jan 28 11:16:32 2005 Subject: [MKDoc-commit] Audiences preferences moved to the end of the form Message-ID: <20050128111651.E93AB2E28E2@mkdoc.demon.co.uk> Log Message: ----------- Audiences preferences moved to the end of the form Tags: ---- mkdoc-1-6 Modified Files: -------------- mkd/templates/account/preferences: en.html -------------- next part -------------- Index: en.html =================================================================== RCS file: /var/spool/cvs/mkd/templates/account/preferences/Attic/en.html,v retrieving revision 1.3.2.35 retrieving revision 1.3.2.36 diff -Ltemplates/account/preferences/en.html -Ltemplates/account/preferences/en.html -u -r1.3.2.35 -r1.3.2.36 --- templates/account/preferences/en.html +++ templates/account/preferences/en.html @@ -209,20 +209,20 @@ href="#newsletter-preferences" >Newsletter Preferences | Audience Preferences | + href="#language-preferences" + >Language Preferences | Language Preferences + href="#audience-preferences" + >Audience Preferences @@ -557,9 +557,6 @@ - - -Log Message: ----------- Moved prefixed audiences into seperate fieldsets but un prefixed ones not in an extra fieldset now... Tags: ---- mkdoc-1-6 Modified Files: -------------- mkd/templates/account/preferences/audiences: en.html -------------- next part -------------- Index: en.html =================================================================== RCS file: /var/spool/cvs/mkd/templates/account/preferences/audiences/Attic/en.html,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -Ltemplates/account/preferences/audiences/en.html -Ltemplates/account/preferences/audiences/en.html -u -r1.1.2.3 -r1.1.2.4 --- templates/account/preferences/audiences/en.html +++ templates/account/preferences/audiences/en.html @@ -25,70 +25,119 @@ customised email newsletters and listings of documents on the site.
-
+
+
+
+
+
-
-
-
-