IWF Metadata Harvester Manual Metadata Harvesting
Total Page:16
File Type:pdf, Size:1020Kb
IWF Metadata Harvester Manual Metadata Harvesting. Manual edition 1.0 for IWF Metadata Harvester Version 1.0 October 2006 Laurence D. Finston This is the IWF Metadata Harvester User and Reference Manual, edition 1.0 for the IWF Metadata Harvester 1.0. This manual was last updated on 18 October 2006. IWF Metadata Harvester is a package for metadata harvesting. The author is Laurence D. Finston. Copyright c 2006, 2007 IWF Wissen und Medien gGmbH Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License”. i Short Contents 1 Introduction................................... 1 2 About This Manual.............................. 3 3 Databases .................................... 4 4 Multi-Threading ................................ 6 5 Present Tasks .................................. 7 6 Future Tasks .................................. 8 7 Special Character Encodings. ....................... 9 8 ATest ...................................... 12 9 Dialog 1 .................................... 13 10 Dialog 2 .................................... 16 11 Global Functions ............................... 19 12 MetadataSource ............................... 20 13 Selector ..................................... 21 14 ODBC Classes for ATest ......................... 24 15 Database Tables for ATest ........................ 30 16 Database Stored Procedures ....................... 36 17 ZTest: Z39.50 ................................. 37 18 How ZTest Works .............................. 38 19 Dialog Z 1 ................................... 40 20 ZClient ..................................... 42 21 Utility Types ................................. 49 22 Pica Formats and Records ........................ 50 23 Pica+ Codes .................................. 51 24 Pica3 Codes .................................. 60 25 Pica Record .................................. 69 26 Category Container ............................. 70 27 Subcategory Container........................... 77 28 Database Command ............................ 93 29 Displaying Database Contents (DB Display) ............ 94 30 ODBC Classes for ZTest.......................... 98 31 Database Tables for ZTest........................ 110 32 Database Stored Procedures ...................... 123 Glossary ....................................... 124 Abbreviations ................................... 126 Bibliography .................................... 127 ii Concept Index ................................... 128 Variable Index ................................... 131 Data Type Index ................................. 139 Function Index .................................. 141 Database Table Index .............................. 145 Database Stored Procedure Index ...................... 150 Filename Index .................................. 151 Pica+ Index..................................... 152 Pica3 Index ..................................... 154 A GNU Free Documentation License .................. 156 B GNU General Public License ...................... 163 iii Table of Contents 1 Introduction............................... 1 1.1 Standards and Protocols ..................................... 1 1.2 Retrieving Data ............................................. 1 1.2.1 OAI ................................................... 1 1.2.2 Z39.50 ................................................. 1 1.3 Data Formats ............................................... 2 1.3.1 OAI ................................................... 2 1.3.2 Z39.50 ................................................. 2 2 About This Manual ........................ 3 2.1 Copying Conditions ......................................... 3 3 Databases ................................. 4 3.1 Association Tables........................................... 4 3.2 “Continuation” Columns ..................................... 4 4 Multi-Threading ........................... 6 5 Present Tasks ............................. 7 6 Future Tasks .............................. 8 7 Special Character Encodings. ............... 9 8 ATest .................................... 12 9 Dialog 1 ................................. 13 9.1 Downloading ............................................... 13 9.2 Data Members ............................................. 13 9.3 Functions .................................................. 14 9.3.1 Constructor ........................................... 14 9.3.2 Destructor ............................................ 14 9.3.3 Data Exchange ........................................ 14 9.3.4 Downloading Records .................................. 14 9.3.5 Event Handlers ........................................ 14 iv 10 Dialog 2 ................................ 16 10.1 Searching ................................................. 16 10.2 Listing ................................................... 16 10.3 Data Members ............................................ 17 10.4 Functions ................................................. 17 10.4.1 Constructor .......................................... 17 10.4.2 Destructor ........................................... 17 10.4.3 Exchanging Data ..................................... 17 10.4.4 Event Handlers ....................................... 18 11 Global Functions ........................ 19 12 MetadataSource ......................... 20 12.1 Data Members ............................................ 20 12.2 Functions ................................................. 20 12.2.1 Constructor .......................................... 20 12.2.2 Destructor ........................................... 20 12.2.3 Parsing Records ...................................... 20 12.2.4 Updating the Database................................ 20 13 Selector ................................. 21 13.1 Data Members ............................................ 21 13.1.1 Constants ............................................ 21 13.1.2 Variables............................................. 22 13.2 Functions ................................................. 23 13.2.1 Constructor .......................................... 23 13.2.2 Destructor ........................................... 23 13.2.3 Selecting Records ..................................... 23 13.2.4 Listing Records ....................................... 23 14 ODBC Classes for ATest ................. 24 14.1 Records .................................................. 24 14.2 Records Temp ............................................ 24 14.3 Creators .................................................. 24 14.4 Creators Temp............................................ 25 14.5 Contributors .............................................. 25 14.6 Contributors Temp ........................................ 25 14.7 Titles ................................................... 25 14.8 Titles Temp .............................................. 26 14.9 Descriptions Temp ........................................ 26 14.10 Subjects ................................................. 26 14.11 Subjects Temp........................................... 27 14.12 Identifiers Temp ......................................... 27 14.13 Languages Temp ......................................... 27 14.14 Publishers Temp ......................................... 27 14.15 Rights Temp ............................................ 28 14.16 Types Temp ............................................. 28 v 14.17 Temp IDs ............................................... 28 14.18 Temp IDs 1 ............................................. 29 15 Database Tables for ATest................ 30 15.1 Records .................................................. 30 15.2 Records Temp ............................................ 30 15.3 Creators .................................................. 31 15.4 Creators Temp............................................ 31 15.5 Contributors .............................................. 31 15.6 Contributors Temp ........................................ 32 15.7 Titles ................................................... 32 15.8 Titles Temp .............................................. 32 15.9 Descriptions .............................................. 32 15.10 Descriptions Temp ....................................... 33 15.11 Subjects ................................................. 33 15.12 Subjects Temp........................................... 33 15.13 Identifiers ............................................... 33 15.14 Identifiers Temp ......................................... 33 15.15 Languages ............................................... 33 15.16 Languages Temp ......................................... 34 15.17 Publishers ............................................... 34 15.18 Publishers Temp ......................................... 34 15.19 Rights................................................... 34 15.20 Rights Temp ............................................ 35 15.21 Types ................................................... 35 15.22 Types Temp ............................................. 35 15.23 Temp IDs ............................................... 35 15.24 Temp IDs 1 ............................................. 35 16 Database Stored Procedures.............. 36 17 ZTest: Z39.50 ..........................