- Timestamp:
- 2004-04-02T15:01:28+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/classify/DateList.pm
r6978 r7177 26 26 # classifier plugin for sorting by date 27 27 28 # always sorts by 'Date' metadata29 30 28 # date is assumed to be in the form yyyymmdd 31 29 32 30 # at present dates are split by year - this should change 33 31 # jrm21 - added option "bymonth", which splits by year and month. 34 35 # 12/05/02 Added usage datastructure - John Thompson36 32 37 33 # 23/09/03 Added some more options -kjdon. … … 39 35 # -nogroup, which makes each year (or year+month) an individual entry in 40 36 # the horizontal list and prevents compaction 41 # - datemeta, use a different metadata for the date (instead of Date), still expects yyyymmdd format. this affects display cos greenstone displays Date metadata as dd month yyyy, whereas any other date metadata is displayed as yyyymmdd - this needs fixing42 # -sort metaspecifies an additional metadata to use in sorting, will take affect when two docs have the same date.37 # -metadata, use a different metadata for the date (instead of Date), still expects yyyymmdd format. this affects display cos greenstone displays Date metadata as dd month yyyy, whereas any other date metadata is displayed as yyyymmdd - this needs fixing 38 # -sort specifies an additional metadata to use in sorting, will take affect when two docs have the same date. 43 39 44 40 package DateList; … … 99 95 q^bymonth^, \$self->{'bymonth'}, 100 96 q^nogroup^, \$self->{'nogroup'}, 101 q^ datemeta/.*/^, \$datemeta,102 q^sort meta/.*/^, \$sortmeta,97 q^metadata/.*/^, \$datemeta, 98 q^sort/.*/^, \$sortmeta, 103 99 "allow_extra_options")) { 104 100 $self->print_txt_usage(""); # Use default resource bundle
Note:
See TracChangeset
for help on using the changeset viewer.