Ignore:
Timestamp:
2008-11-15T15:01:04+13:00 (15 years ago)
Author:
anna
Message:

change the name tidy_html switch in HTMLPlug into use_realistic_book in HTMLPlugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/colservr/collectserver.cpp

    r16310 r17863  
    1 
     1 
    22/**********************************************************************
    33 *
     
    6060// configure should be called for each line in the
    6161// configuration files to configure the collection server and everything
    62 // it contains. The configuration should take place just before initialisationhttps://www.google.com/accounts/ServiceLogin?service=mail&passive=true&rm=false&continue=http%3A%2F%2Fmail.google.com%2Fmail%3Fui%3Dhtml%26zy%3Dl&ltmpl=ca_tlsosm_video&ltmplcache=2&hl=en.
     62// it contains. The configuration should take place just before initialisation
    6363void collectserver::configure (const text_t &key, const text_tarray &cfgline) {
    6464  if (cfgline.size() >= 1) {
     
    6969    const text_t &name = cfgline[0];
    7070   
    71     if (name == "HTMLPlug")
     71    if (name == "HTMLPlugin")
    7272    {
    7373        for (int hI = 1; hI < cfgline.size(); hI++)
     
    7575            const text_t &plugOption = cfgline[hI];
    7676           
    77             if (plugOption == "-tidy_html")
     77            if (plugOption == "-use_realistic_book")
    7878            {
    7979                collectinfo.useBook = true;
     
    166166      text_tmap params_map = collectinfo.collection_macros[meta_name];
    167167     
    168       if (cfgline.size() == 2) {// no params for this macrohttp://uk.sports.yahoo.com/13032007/13/news-brief.html
     168      if (cfgline.size() == 2) {// no params for this macro
    169169    params_map[g_EmptyText] = cfgline[1];
    170170      }
Note: See TracChangeset for help on using the changeset viewer.