Changeset 451 for trunk/gsdl/src/recpt


Ignore:
Timestamp:
1999-08-12T11:28:59+12:00 (25 years ago)
Author:
sjboddie
Message:

added support for html classifier (i.e. the hp argumant now must be
translated too).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/receptionist.cpp

    r446 r451  
    1212/*
    1313   $Log$
     14   Revision 1.23  1999/08/11 23:28:59  sjboddie
     15   added support for html classifier (i.e. the hp argumant now must be
     16   translated too).
     17
    1418   Revision 1.22  1999/08/10 22:45:21  sjboddie
    1519   format option ShowTopPages is now called DocumentTopPages
     
    516520  }
    517521
    518   // translate "d" and "cl" arguments if required
     522  // translate "d", "cl", and "hp" arguments if required
    519523  translate_OIDs (args, collectproto, logout);
    520524
     
    660664}
    661665
    662 // translate_OIDs translates the "d" and "cl" arguments to their correct values
     666// translate_OIDs translates the "d", "cl", and "hp" arguments to their correct values
    663667// if they use the tricky ".fc", ".lc" type syntax. also sorts out the "d" argument
    664668// if the goto page ("gp") argument was used
     
    670674  text_t &arg_d = args["d"];
    671675  text_t &arg_cl = args["cl"];
     676  text_t &arg_hp = args["hp"];
    672677  text_t &collection = args["c"];
    673678  text_t &arg_gp = args["gp"];
     
    706711    else
    707712      arg_cl = response.docInfo[0].OID;
     713  }
     714
     715  if (needs_translating (arg_hp)) {
     716    request.docSet.insert (arg_hp);
     717    collectproto->filter (collection, request, response, err, logout);
     718    arg_hp = response.docInfo[0].OID;
    708719  }
    709720
Note: See TracChangeset for help on using the changeset viewer.