Changeset 2022


Ignore:
Timestamp:
2001-02-20T14:32:26+13:00 (23 years ago)
Author:
sjboddie
Message:

Caught some of the classifiers up with the documentation (finally). The
old "title" option has been replaced with the "buttonname" option.

Location:
trunk/gsdl/perllib/classify
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/classify/AZCompactList.pm

    r1948 r2022  
    3030#                      will be included in list, list will be sorted
    3131#                      by this element.
    32 # title=Title       -- (optional) the title field for this classification.
     32# buttonname=Title  -- (optional) the title field for this classification.
    3333#                      if not included title field will be Metaname.
    3434# mingroup=Num      -- (optional) the smallest value that will cause
     
    5555  options:
    5656   -metadata     Metadata field used for classification
    57    -title        Title to use on web pages
     57   -buttonname   Title to use on web pages
    5858
    5959   -mingroup
     
    8282     if (!parsargv::parse(\@_,
    8383             q^metadata/.*/^, \$metaname,
    84              q^title/.*/^, \$title,
     84             q^buttonname/.*/^, \$title,
    8585
    8686             q^mingroup/.*/2^, \$mingroup,
  • trunk/gsdl/perllib/classify/AZList.pm

    r2001 r2022  
    2525
    2626# classifier plugin for sorting alphabetically
    27 # options are:
    28 # metadata=Metaname -- all documents with Metaname metadata
    29 #                      will be included in list, list will be sorted
    30 #                      by this element.
    31 # title=Title       -- (optional) the title field for this classification.
    32 #                      if not included title field will be Metaname.
    3327
    3428package AZList;
     
    4741  options:
    4842 
    49   -metadata X     (erquired) Metadata field used for classification.
     43  -metadata X     (required) Metadata field used for classification.
    5044                  List will be sorted by this element.
    5145
    52    -title X       (optional) Title field for this classification.
     46  -buttonname X   (optional) Button name for this classification.
    5347                  defaults to metadata name.
    5448";
     
    6357    if (!parsargv::parse(\@_,
    6458             q^metadata/.*/^, \$metaname,
    65              q^title/.*/^, \$title,
     59             q^buttonname/.*/^, \$title,
    6660             "allow_extra_options")) {
    6761   
  • trunk/gsdl/perllib/classify/AZSectionList.pm

    r1839 r2022  
    5151                  list will be sorted by this element.
    5252
    53    -title X       (OPTIONAL) Title field for this classification.
     53   -buttonname X  (OPTIONAL) Title field for this classification.
    5454                  if not included title field will be Metaname.
    5555
  • trunk/gsdl/perllib/classify/HTML.pm

    r1839 r2022  
    2727# that's simply a link to a web page
    2828# options are:
    29 # title=Title       -- (optional) the title field for this classification.
     29# buttonname=Title  -- (optional) the title field for this classification.
    3030#                      if not included title field 'Browse'
    3131# url=url           -- the url of the web page to link to
     
    4444  options:
    4545   -url X         The url of the web page to link to.
    46    -title X       (optional) the title field for this classification.
     46   -buttonname X  (optional) the title field for this classification.
    4747                  The default is 'Browse'
    4848
     
    6060    if (!parsargv::parse(\@_,
    6161             q^url/.*/^, \$url,
    62              q^title/.*/Browse^, \$title,
     62             q^buttonname/.*/Browse^, \$title,
    6363             "allow_extra_options")) {
    6464   
  • trunk/gsdl/perllib/classify/Hierarchy.pm

    r1947 r2022  
    3535#                     will sort each field alphabetically by Meta (Meta may
    3636#                     also be 'Filename' to sort by the original filename).
    37 # -title Title       - another optional field. this is what will end up in the
     37# -buttonname Title  - another optional field. this is what will end up in the
    3838#                     Title field for this classification. if not present it
    3939#                     defaults to Metaname
     
    5555  options:
    5656
    57    -title X       Title field for this classification.
     57   -buttonname X  Title field for this classification.
    5858                  Defaults to metadata name.
    5959
     
    7676
    7777    if (!parsargv::parse(\@_,
    78              q^title/.*/^, \$title,
     78             q^buttonname/.*/^, \$title,
    7979             q^sort/.*/nosort^, \$sortname,
    8080             q^hfile/.*/^, \$hfile,
  • trunk/gsdl/perllib/classify/List.pm

    r1839 r2022  
    3434#                      Meta may be Filename to sort by original filename or
    3535#                      nosort to force not to sort
    36 # title=Title       -- (optional) the title field for this classification.
     36# buttonname=Title  -- (optional) the title field for this classification.
    3737#                      if not included title field will be Metaname.
    3838#                      if metadata is also not included title will be 'List'
     
    5555                  list will be sorted by this element.
    5656
    57    -title X       (optional) Title field for this classification.
     57   -buttonname X  (optional) Title field for this classification.
    5858                  if not included title field will be Metaname.
    5959
     
    7272    if (!parsargv::parse(\@_,
    7373             q^metadata/.*/^, \$metaname,
    74              q^title/.*/^, \$title,
     74             q^buttonname/.*/^, \$title,
    7575             q^sort/.*/^, \$sortname,
    7676             "allow_extra_options")) {
  • trunk/gsdl/perllib/classify/SectionList.pm

    r1839 r2022  
    4545                  list will be sorted by this element.
    4646
    47    -title X       (optional) Title field for this classification.
     47   -buttonname X  (optional) Title field for this classification.
    4848                  if not included title field will be Metaname.
    4949
Note: See TracChangeset for help on using the changeset viewer.