I’m not familiar with the code but it looks like EmbedSeeFromHeadings.pm loops through the fields, looks for $9, and creates new versions of that field to house the seefrom data. The thing to do would probably be to use RecordProcessor in Koha::OAI::Server::Repository::get_biblio_marcxml(). It looks like we’re already running records through C4::XSLT::transformMARCXML4XSLT(), so it’ll slow things down further as it’ll add more loops at a bare minimum, but it would be doable. Occasionally, I think that we should handle OAI-PMH more like DSpace, which actually creates a Solr index of data to be sent out via OAI-PMH. In theory, that would make the OAI-PMH feed very fast. But maybe performance isn’t an issue at this point. David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 Online: 02 8005 0595 From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of Tomas Cohen Arazi Sent: Saturday, 25 June 2022 3:52 AM To: Julien Sicot <julien.sicot@univ-rennes2.fr> Cc: koha-devel <koha-devel@lists.koha-community.org> Subject: Re: [Koha-devel] Embed see-from headings (authorities) into bibliographic records at OAI repository level I like te idea, but where would you put those headings? El sáb., 19 jun. 2021 3:09 p. m., Julien Sicot <julien.sicot@univ-rennes2.fr <mailto:julien.sicot@univ-rennes2.fr> > escribió: Hi all, An enhancement idea : It could be interesting to enrich the bibliographic records exposed in OAI with see-from headings, this would allow users who use koha with a discovery tool to be able to manage, normalize and index some authorities data ? This is something that could be done directly in C4::Biblio::GetMarcBiblio following the same method used for embedding items. We could use an optional parameter like embed_items (embed_seefromheading) and a function similar to C4::Biblio::EmbedItemsInMarcBiblio by reusing what was made for zebra with EmbedSeeFromHeadings (bug #7417 <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7417> ). What do you think about this? Thanks for feedback, Best -- Julien Sicot Systems Librarian Université Rennes 2 02 22 51 44 41 _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/