Update of /cvsroot/mhonarc/mharc/cgi-bin/template
In directory subversions:/tmp/cvs-serv2072/cgi-bin/template
Modified Files:
NMZ.head.in.dist
Log Message:
* bin/compress-files, bin/compress-mboxes:
. BUG FIX: Added -mbox-mode to compress-files. This is to fix a bug
with compress-mboxes for archives that have yearly archives.
If a mailbox is in YYYY format, a year is added to -mtime to
determine if the file should be compressed.
* bin/web-archive:
. NEW: Added auto-generation of all-lists index. The index will
contain contain the list of archives with links to the latest
indexes and showing the last update time for each archive.
The all-lists index file can be specified by the -alllistidx
option or ALL_LISTS_INDEX lib/config.sh variable. The default
value is lists.html within the html/ archive directory.
Equivalent options exists to set the URL to the file.
Run web-archive program with -man option to view the manpage
to get more information about this feature and other related
options.
* lib/common.mrc.in.dist:
. Several layout changes to provide a nicer appearance to archive
pages. Layout is now controled via stylesheet settings.
Tags have been added with CLASS attributes to allow control
of the visual appearance of pages without having to re-edit
the pages. An initial stylesheet (html/stylesheet.css.in.dist)
has been provided with some default styles (more information
about stylesheet below).
Attempts have been made to keep pages usable with text-based
browsers. Table-aware browsers like w3m and links, handle
the pages fine. Lynx does not handle the tables well, but
the pages should still be readable and usable with Lynx.
To see an example of the layout style, you can checkout the
mhonarc.org mailing lists at
<http://www.mhonarc.org/archive/html/>.
If you want to use the new layout, you must delete your local
copy of "lib/common.mrc.in" and run "make configure".
* html/stylesheet.css.in.dist:
. NEW: This is the main stylesheet controling the appearance
of archive pages generated by MHArc. Stylesheet settings are
based upon the CSS2 specification. The styles are supported by
Netscape 6+, Mozilla, and Mozilla-based browsers. Some styles
appear to not work with IE6, however, the failures of IE6 do not
affect the readability of pages.
* lib/mrc/_nothread.mrc.in.dist:
. NEW: MHonArc resource file use by archives that have threads
disabled, either by specifying -nothreads in the MHonArc-Options
option in lib/lists.def for a list or by a list-specific resource
file.
NOTE: There is a feature in MHArc that has not been explicitly
documented that allows you to provide additional
MHonArc resource settings on a per-list archive basis.
In lib/config.sh is a variable called MHA_RC_DIR that
specifies the location of archive-specific resource files.
By default, it is "<mharc-root>/lib/mrc". If you add a
file called "<list-name>.mrc", where "<list-name>" is the
name of the list as defined in lib/lists.def, MHArc will
pass that file to MHonArc when processing the HTML archive
for the list.
When creating a list-specific resource file, it is
recommended to create the file
"<mharc-root>/lib/mrc/<list-name>.mrc.in" and then run
"make configure". This allows you to use lib/config.sh
variables (e.g. "@@HTML_URL@@") in your resource file.
A way to reference _nothread.mrc in a resource file is to have
the following in the ".in" template version of a list resource
file:
<Include>
@@MHA_RC_DIR@@/_nothread.mrc
</Include>
When "make configure" is executed, the "@@MHA_RC_DIR@@" will get
expanded to the pathname location where archive-specific resource
files are kept.
* lib/config.sh.in.dist:
. Added the following variables:
# Pathname of archive lists index page.
ALL_LISTS_FILE=$HTML_DIR/lists.html
# Pathname of header template for archive lists index page.
ALL_LISTS_HEADER=$HTML_DIR/.PNM.all-head
# Pathname of header template for archive lists index page.
ALL_LISTS_FOOTER=$HTML_DIR/.PNM.all-foot
# Directory containing informational pages about each list archive.
INFO_DIR=$SW_ROOT/info
# Base URL containing informational pages about each list archive.
INFO_URL=$ROOT_URL/info
* cgi-bin/template/NMZ.head.in.dist, html/.PNM.head.in.dist:
. Minor change to labels for sorting search results by date.
Newer labels should be clearer about the ordering of dates since
previous wording can be ambiguous.
Index: NMZ.head.in.dist
===================================================================
RCS file: /cvsroot/mhonarc/mharc/cgi-bin/template/NMZ.head.in.dist,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** NMZ.head.in.dist 6 Mar 2002 19:30:19 -0000 1.2
--- NMZ.head.in.dist 26 Aug 2002 05:33:25 -0000 1.3
***************
*** 1,4 ****
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
- "http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
--- 1,2 ----
***************
*** 55,82 ****
<strong>Display:</strong>
<select name="max">
! <option value="10">10
! <option selected value="20">20
! <option value="30">30
! <option value="50">50
! <option value="100">100
</select>
<strong>Description:</strong>
<select name="result">
! <option selected value="normal">normal
! <option value="short">short
</select>
<strong>Sort:</strong>
<select name="sort">
<option selected value="score">by score
! <option value="date:late">by date in late order
! <option value="date:early">by date in early order
! <option value="field:subject:ascending">by title in ascending order
! <option value="field:subject:descending">by title in descending order
! <option value="field:from:ascending">by author in ascending order
! <option value="field:from:descending">by author in descending order
! <option value="field:size:ascending">by size in descending order
! <option value="field:size:descending">by size in descending order
! <option value="field:uri:ascending">by URI in descending order
! <option value="field:uri:descending">by URI in descending order
</select>
</p>
--- 53,80 ----
<strong>Display:</strong>
<select name="max">
! <option value="10">10</option>
! <option selected value="20">20</option>
! <option value="30">30</option>
! <option value="50">50</option>
! <option value="100">100</option>
</select>
<strong>Description:</strong>
<select name="result">
! <option selected value="normal">normal</option>
! <option value="short">short</option>
</select>
<strong>Sort:</strong>
<select name="sort">
<option selected value="score">by score
! <option value="date:late">in reverse chronological order</option>
! <option value="date:early">in chronological order</option>
! <option value="field:subject:ascending">by title in ascending order</option>
! <option value="field:subject:descending">by title in descending order</option>
! <option value="field:from:ascending">by author in ascending order</option>
! <option value="field:from:descending">by author in descending order</option>
! <option value="field:size:ascending">by size in descending order</option>
! <option value="field:size:descending">by size in descending order</option>
! <option value="field:uri:ascending">by URI in descending order</option>
! <option value="field:uri:descending">by URI in descending order</option>
</select>
</p>
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV