Changeset 22452 for main/trunk/greenstone2/runtime-src/src
- Timestamp:
- 2010-07-20T15:55:04+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/src/z3950/z3950server.cpp
r22400 r22452 54 54 55 55 int z3950_verbosity_ = 3; 56 57 // change the default format here - these two must match 58 int default_marc_format_d2m_ = USMARC; // USMARC, UNIMARC, DANMARC, FINMARC, NORMARC, SWEMARC 59 oid_value default_marc_format_yaz_ = VAL_USMARC; // VAL_USMARC, VAL_UNIMARC, VAL_DANMARC, VAL_FINMARC, VAL_NORMARC, VAL_SWEMARC 56 60 57 61 // *** initialize things here *** … … 674 678 r->output_format = r->request_format; 675 679 676 // *** use this until found a good way of mapping Greenstone 677 // *** metadata fields to USMARC fields 680 // simple unstructured text 678 681 if (r->request_format == VAL_SUTRS) 679 682 { … … 756 759 default: 757 760 // we don;t know any other format, so assume usMARC 758 record_format = USMARC;761 record_format = default_marc_format_d2m_; 759 762 // set above to be request_format, but this may change it 760 r->output_format = VAL_USMARC;763 r->output_format = default_marc_format_yaz_; 761 764 } 762 765
Note:
See TracChangeset
for help on using the changeset viewer.