User:Pcharoen

How To

Before you begin, please change directory to /usr/local/sites/talonline.ca/var/sitesearch.

Add New Database (Catalogue)

  • *New database information*
    • Z39.50 host name or server IP address.
    • Z39.50 port number, default is 210.
    • Library terminal IP addresses.
    • Library name and national library code.
    • ILL department and ILL contact email address.
  • *Add new server configuration file*
    • Copy one of server ini file in ini/servers directory and rename to new server following national library code.
    • Edit new server ini file, modify hostname and port number.
  • *Add new database configuration file*
    • Copy one of database ini file in ini/dbs directory and rename to new database following national library code.
    • Edit new database ini file, modify dbName, remoteZDbName, Longname, recordSyntax, ServerName, ServerIniFile. You can find remoteZDbName, recordSyntax by using yaz-client connecting to the server.
  • *Add new database to database list*
    • Edit ini/databases.ini and add new database at the end of the list.
  • *Add new database to database groups*
    • Edit ini/interface/obiv1/ObiTopics.ini and add new database to groups depending on type and location of institution.
  • *Add new database to database category*
    • Edit ini/ALIcategorieds.ini and add new database to categories depending on location and type of institution. This configuration will show up on Custom Search page.
  • *Add search stats for new database*
    • Copy one of configuration file in scripts/sstats_work for new database following national library code.
    • Edit the configuration file and change the database to new database code.
  • *Add new database and IP addresses to MySQL database*
    • Edit scripts/add_new_database.sql and change database code, database id and library name.
    • Run command: mysql talonline_sitesearch_accessdb < add_new_database.sql.
  • *Test a connection*
    • Run command: yaz-client
    • Open connection: open <server>:<port>
    • Test search attribute: find @attr 1=1016 @attr 2=3 @attr 3=3 @attr 4=2 @attr 5=100 @attr 6=1 "term"
    • Retrieve result: show 1
    • Help: help <command>

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.