Ignore:
Timestamp:
2018-10-16T13:52:48+13:00 (6 years ago)
Author:
ak19
Message:

Untested first attempt at MySQLPlugout that is meant to write metadata and/or fulltext to a mysql db rather than to doc.xml. We're switching over to using perl mysql libs, dbd (mysql) for drivers and dbi (mysql), for db access. However, I still want to commit this initial attempt at manually doing database operations in perl.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/docprint.pm

    r32514 r32518  
    6767    $all_text .= "  <Description>\n";
    6868
     69    # scalar comparisons on a constant is allowed (but not string evaluation of scalars)
     70    # https://www.perlmonks.org/?node_id=559456
    6971    if($options->{'output'} == OUTPUT_ALL || $options->{'output'} == OUTPUT_META_ONLY) {
    7072    # output metadata
Note: See TracChangeset for help on using the changeset viewer.