Skip to content

First shot in notice import (cf #8 #9)

Yohan requested to merge gh-6d594ba1/68/ideascube/notice-import into master

Ref: #8 (closed) #9

Initial plan was to support UniMARC standard and Z39.50 protocol. I've looked at them a bit more, and it appears that, despite the name (MAchine Readable Cataloging), both are surviving from XIXe century, and we should absolutely avoid them.

For now, I've coded two identified scenarios: notice import from Moccam en ligne, and automatic import with an ISBN. For the first, I've chosen the CSV format, that appears to be the only usable choice. For the second, I'm relying on OpenLibrary, which, even being not perfect (missing many summaries), is the only API freely available, without licence constraint, and with a simple REST procotol.

Let's build with this for now and see if we need a more complex case.

There is one coming for sure, but not in the first iteration, which will be exporting notices from old servers and reimporting. But we can just have a SQL one shot script.

This PR also starts using the Django messages app.

Merge request reports