saqimtiaz / BibSearch

App for Realfagsbibilioteket at UiO
MIT License
2 stars 3 forks source link

Some e-books not shown as e-books #44

Closed danmichaelo closed 11 years ago

danmichaelo commented 11 years ago

When searching for "kaker" without e-books I get zero results. When including e-books I get some results, but they show up wrongly as physical books, not e-books. It appears like there is a mixing of physical as electronic books, since the books exist in BIBSYS as physical books as well, just not at our library. Clicking on the books, the format is given as "printed", but there's no call code, isbn, etc.. It's easy to reproduce.

saqimtiaz commented 11 years ago

It looks like the data returned by the BIBSYS API is not consistent. For the books in question it returns "book_electronic" for the field material. In contrast the books correctly identified as ebooks have a value of "electronic" for material.

There has been a lot of guess work involved in understanding the various values used by BIBSYS for the various fields. It would be extremely helpful to ask them for a complete list of possible values for the fields "material" and "lending_status". There may be other fields but these are the ones I can think of.

danmichaelo commented 11 years ago

Yeah, I can guess :) I've sent an email to Asbjørn at BIBSYS to see if we can get a full list of possible values.

Btw. they put up a new availability service recently, which is well documented, but it only gives you the lending status, so then you would have to do two calls instead of one, and I'm not sure if that's really worth it.

http://blogs.bibsys.no/discovery/2013/04/04/implementasjon-av-utlansstatus-i-primo/

danmichaelo commented 11 years ago

Her er en liste over mulige verdier for material fra BIBSYS:

article|Artikkel
book|Bok
book_electronic|E-bok
book_print|Bok
book_sound|Lydbok
cd|CD
cdrom|CDROM
disc|Diskett
dissertation|Doktoravhandling
dvd|DVD
electronic|Nettressurs
these|Hovedfagsoppgave
journal_electronic|E-tidsskrift
journal_print|Trykt tidsskrift
manuscript|Manuskript
map|Kart
micro_form|Mikroform
music_cd|Musikk-CD
music_lp|Musikk-LP
music_notes|Musikknoter
music_tape|Musikkassett
music_track|Musikkspor
pamphlet|Brosjyre
student_paper|Studentoppgave
congress|Kongresser
video|Video
undefined|Udefinert

Lending_status skal bare ha to mulige verdier; "UTL" og blankt.

saqimtiaz commented 11 years ago

I'm pretty sure I've come across books with other values for lending_status. Will investigate and report back once I get back home.

kyrretl commented 11 years ago

The app now checks for all the types of electronic material listed in the post above:

book_electronic = "Electronic Book" journal_electronic ="Electronic Journal" electronic = "Electronic Resource"