Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Må kunne sjekke raskt om vi har boka som ebok #19

Closed
danmichaelo opened this issue Jul 6, 2015 · 2 comments
Closed

Må kunne sjekke raskt om vi har boka som ebok #19

danmichaelo opened this issue Jul 6, 2015 · 2 comments
Milestone

Comments

@danmichaelo
Copy link
Member

1132 bøker finnes også som ebok: http://colligator.biblionaut.net/api/documents?q=_exists_:other_form , men ulike cases:

APIet må antakelig slå opp mot SRU-en for å finne ut dette. Spørsmålet er om vi skal gjøre det on-the-fly eller høste alt inn med en gang (må isåfall oppdateres en gang i blant)

@danmichaelo
Copy link
Member Author

@danmichaelo
Copy link
Member Author

Notes to self:

Vi har ikke tilgang til denne:

{
    id: "13g119177",
    bibliographic_record: "133123944",
    created: "2015-07-09T00:00:00+0000",
    status: "mini",
    location: "NB",
    sublocation: "NB/DIG",
    shelvinglocation: "NB/DIG nbdigi",
    circulation_status: "Available",
    fulltext: [
        {
            url: "http://urn.nb.no/URN:NBN:no-nb_digibok_2013091606113",
            linktext: "NB Digital",
            comment: "Elektronisk reproduksjon. Tilgjengelig på NBs lesesal"
        }
    ]
}

Men vi har tilgang til denne:

{
    id: "09sg63803",
    bibliographic_record: "094127468",
    created: "2015-07-09T00:00:00+0000",
    status: "mini",
    location: "NB",
    sublocation: "NB/DIG",
    shelvinglocation: "NB/DIG nbdigi",
    circulation_status: "Available",
    fulltext: [
        {
            url: "http://urn.nb.no/URN:NBN:no-nb_digibok_2008031300053",
            linktext: "NB Digital",
            comment: "Elektronisk reproduksjon. Gratis. For norske IP-adresser"
        }
    ]
}

Eneste måten å skille på er antakelig fritekstkommentaren :(

danmichaelo added a commit that referenced this issue Jul 9, 2015
Upon importing a MARC21 record; if the document has another form linked with 776 $w, we fetch the linked document through SRU. This will normally be an electronic version of the document (or the other way around if we have electronic documents in our collection).

Upon Elasticsearch indexing, we embed a simplified representation of the "other form" document focusing on whether or not we have access to the fulltext
@danmichaelo danmichaelo modified the milestone: v0.1 Jul 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant