http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6440
Magnus Enger <mag...@enger.priv.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8078|0 |1 is obsolete| | --- Comment #18 from Magnus Enger <mag...@enger.priv.no> --- Created attachment 8081 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8081&action=edit Bug 6440: [SIGNED-OFF] Implement OAI-PMH Sets New sql tables: - oai_sets: contains the list of sets, described by a spec and a name - oai_sets_descriptions: contains a list of descriptions for each set - oai_sets_mappings: conditions on marc fields to match for biblio to be in a set - oai_sets_biblios: list of biblionumbers for each set New admin page: allow to configure sets: - Creation, deletion, modification of spec, name and descriptions - Define mappings which will be used for building oai sets Implements OAI Sets in opac/oai.pl: - ListSets, ListIdentifiers, ListRecords, GetRecord New script misc/migration_tools/build_oai_sets.pl: - Retrieve marcxml from all biblios and test if they belong to defined sets. The oai_sets_biblios table is then updated accordingly New system preference OAI-PMH:AutoUpdateSets. If on, update sets automatically when a biblio is created or updated. Use OPACBaseURL in oai_dc xslt Signed-off-by: Magnus Enger <mag...@enger.priv.no> I created a set based on a value in 245$a, ran the script and verified that the created st contained the expected records. I repeated this with a value from 952$a, to test item level data. Both were OK. Then i set OAI-PMH:AutoUpdateSets = Enable and created a set based on a value in 245$a, built the set with the script and verified that it looked OK. Then i changed the value in 245$a and verified that the set was updated without running the script. I repeated this with a value for 952$a. This did not work initially, but this has been fixed by the followup patch. All the options to build_oai_sets.pl work as expected. See comments on the bug for things that have been fixed along the way. -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/