Skip to content

artesis/os_convert

Repository files navigation

OpenSearch Convert

This converts proxied ting items ID's to OpenSearch 3.1 format ID's. Mostly this module should be run only once. No direct call to ting library, only NanoSoap dependency making the requests relatively fast.

For most precise results, items are requested one by one. This may take ten's of hours if ting_object table is really large. For this purpose each item is requested via a separate AJAX call, so PHP won't throw fatal errors regarding max_execution time (see Note p.5).

Special notes here:

  1. This will work fine for bookmarks, reservations, loans only if the ID of the item is in the ting_object table. By logic means this item ID should be there since the user somehow accessed and bookmarked/reserved it;

  2. InterLibrary Loans could be the issue with conversion since those might not be requested from current site, and their ID's are not in the system;

  3. Originally OpenRuth has no mechanism of searching items, so if an item was loaned or reserved in ting/OpenRuth agency A and this item is not found, then the instance switched to some B agency, most likely the item will still be shown as blank;

  4. Pseudo-ting object is not working by any means now and there is no current solution for this, since ting library was refactored;

  5. Conversion process will be time demanding. And by this is meant tens (if not hundreds) of hours too lookup all the records in the ting_object table. For a ~650k entries and a 800ms request time, it takes smth like ~144h to query and update them all.

Usage:

  1. Enable OpenSearch Convert module;

  2. Go to /admin/config/ting/os_convert;

  3. Follow the instructions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published