Changeset 32518
- Timestamp:
- 2018-10-16T13:52:48+13:00 (5 years ago)
- Location:
- main/trunk/greenstone2
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/import.pl
r31700 r32518 88 88 { 'name' => "GreenstoneMETS", 89 89 'desc' => "{export.saveas.GreenstoneMETS}"}, 90 { 'name' => "MySQL", 91 'desc' => "{export.saveas.MySQL}"}, 92 { 'name' => "MySQL_metadata_only", 93 'desc' => "{export.saveas.MySQL.meta_only}"}, 94 { 'name' => "MySQL_fulltext_only", 95 'desc' => "{export.saveas.MySQL.text_only}"}, 90 96 ]; 91 97 -
main/trunk/greenstone2/perllib/docprint.pm
r32514 r32518 67 67 $all_text .= " <Description>\n"; 68 68 69 # scalar comparisons on a constant is allowed (but not string evaluation of scalars) 70 # https://www.perlmonks.org/?node_id=559456 69 71 if($options->{'output'} == OUTPUT_ALL || $options->{'output'} == OUTPUT_META_ONLY) { 70 72 # output metadata -
main/trunk/greenstone2/perllib/strings.properties
r32303 r32518 417 417 418 418 export.saveas.GreenstoneXML:Greenstone XML Archive format 419 export.saveas.MySQL:Save metadata and text in MySQL database 420 export.saveas.MySQL.meta_only:Store metadata in MySQL database (and full text in Greenstone XML Archive format) 421 export.saveas.MySQL.text_only:Store full text in MySQL database (and metadata in Greenstone XML Archive format) 419 422 420 423 export.saveas.MARCXML:MARC XML format (an XML version of MARC 21) … … 1440 1443 METSPlugout.xslt_mets:Transform a mets's docmets.xml with the XSLT in the named file. 1441 1444 1445 MySQLPlugout.desc:Output metadata and/or full text to a MySQL database instead of doc.xml. 1446 MySQLPlugout.process_mode:Setting determines whether full text and/or metadata will be output to a MySQL database instead of to doc.xml during import. 1447 MySQLPlugout.process_mode.all:Import stage outputs the full text and metadata to a MySQL database instead of to doc.xml. 1448 MySQLPlugout.process_mode.meta_only:Import stage outputs the metadata to a MySQL database and any text to doc.xml. 1449 MySQLPlugout.process_mode.text_only:Import stage outputs the full text to a MySQL database and any metadata to doc.xml. 1450 1451 1442 1452 # 1443 1453 # Perl module strings
Note:
See TracChangeset
for help on using the changeset viewer.