No idea, I'm really just a programmer ;)
Le ven. 21 juil. 2023 à 14:06, Nigel Titley <ni...@titley.com> a écrit : > > Thanks for the response... makes sense to use the ISBN and it explains > the observed behaviour. > > I've had a look at the code. One of these days I'll blow the dust off my > JS manuals and see if I can do something to extend the code (JS isn't my > favourite language and I've probably not written any for about 15 years). > > Is my supposition about where it would go in the MARC record correct? > > Thanks > > Nigel > > On 21/07/2023 12:29, Jonathan Druart wrote: > > Looks like it's only using the ISBN. The code is in > > koha-tmpl/opac-tmpl/bootstrap/js/openlibrary.js > > > > https://gitlab.com/koha-community/Koha/-/blob/master/koha-tmpl/opac-tmpl/bootstrap/js/openlibrary.js#L19 > > > > and opac-results: > > 899 [% IF OpenLibraryCovers > > %]KOHA.OpenLibrary.GetCoverFromIsbn();[% END %] > > > > > > Le ven. 21 juil. 2023 à 13:03, Nigel Titley <ni...@titley.com> a écrit : > >> > >> Furthur on this and reading a bit more into MARC it looks like the > >> information would go into MARC Field 024 with a source of 8. If there > >> was a defined Standard Identifier for Openlibrary then the source would > >> be 7 with the defined Standard Identifier for Openlibrary, but there isn't. > >> > >> I'm straying into Real Librarian Territory here and I'm starting to feel > >> a little lost (I'm really just a programmer). If the person who wrote > >> the code for fetching covers from Openlibrary is around I'd be grateful > >> if they could confirm/deny what their code does (or even point me to > >> where I could look it up myself). To this end I've copied in the Koha > >> Development community. > >> > >> Or I may be barking up an entirely wrong tree. In which case feel free > >> to say "Down boy, down". > >> > >> Nigel > >> > >> On 20/07/2023 23:20, Nigel Titley wrote: > >>> Just to give an example of an OpenLibrary record that I created earlier > >>> today > >>> > >>> https://openlibrary.org/books/OL49198571M/Analogue_Men#details > >>> > >>> If at all possible I'd like to be able to display the cover using the > >>> OLID (OL49198571M) but I'm not sure where to put it. > >>> > >>> Thanks > >>> > >>> Nigel > >>> > >>> On 20/07/2023 22:43, Nigel Titley wrote: > >>>> Gentlefolk > >>>> > >>>> I'm using the Openlibrary cover facility to display covers in my OPAC > >>>> and it generally works very well (in the case where the cover doesn't > >>>> exist in Openlibrary I scan and upload it). However, if the Biblio > >>>> record doesn't have an ISBN or LCCN the cover lookup fails > >>>> (obviously). Is there any way of recording the Openlibrary ID (OLID) > >>>> in a Biblio record so that the cover lookup will work, even if there > >>>> is no ISBN or LCCN? > >>>> > >>>> I've done a (fairly cursory) scan of the documentation but can't find > >>>> and reference to where I should put the OLID so that Koha will look up > >>>> the cover even if there is no ISBN or LCCN. Of course the facility may > >>>> not exist, in which case I'd be grateful for confirmation from Someone > >>>> Who Knows. > >>>> > >>>> Many thanks > >>>> > >>>> Nigel Titley > >>>> > >>>> _______________________________________________ > >>>> > >>>> Koha mailing list http://koha-community.org > >>>> k...@lists.katipo.co.nz > >>>> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha > >>> _______________________________________________ > >>> > >>> Koha mailing list http://koha-community.org > >>> k...@lists.katipo.co.nz > >>> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha > >> _______________________________________________ > >> 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/ > > _______________________________________________ > > > > Koha mailing list http://koha-community.org > > k...@lists.katipo.co.nz > > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha _______________________________________________ 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/