Embed see-from headings (authorities) into bibliographic records at OAI repository level
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
Hi Julien, not sure if GetMarcBiblio would be the best spot, but I like the idea in general, especially as an optional switch. Maybe file a bug report for further discussion? Katrin On 19.06.21 20:08, Julien Sicot wrote:
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 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/
Hi Katrin, I create bug 28639 <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28639> I have also submitted a patch proposal There is probably a better way to do this. if someone can take a look at it, he is welcome :-) Thanks again Best Julien Sicot Applications documentaires DSI - Pôle Applications Université Rennes 2 02 22 51 44 41
Le 27 juin 2021 à 10:27, Katrin Fischer <katrin.fischer.83@web.de> a écrit :
Hi Julien,
not sure if GetMarcBiblio would be the best spot, but I like the idea in general, especially as an optional switch. Maybe file a bug report for further discussion?
Katrin
On 19.06.21 20:08, Julien Sicot wrote:
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?
<096af0a1-34a2-4a88-ac19-85cad80f4cb1.png>
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 <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel> website : https://www.koha-community.org/ <https://www.koha-community.org/> git : https://git.koha-community.org/ <https://git.koha-community.org/> bugs : https://bugs.koha-community.org/ <https://bugs.koha-community.org/>
Koha-devel mailing list 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/
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> 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 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/
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/
participants (4)
-
dcook@prosentient.com.au -
Julien Sicot -
Katrin Fischer -
Tomas Cohen Arazi