View nakala.py
import requests | |
import os | |
NAKALA_KEY = os.getenv('NAKALA_KEY', default=None) | |
headers = { | |
'Content-Type': 'multipart/form-data', | |
'X-API-KEY': NAKALA_KEY | |
} |
View test.html
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Page test</title> | |
</head> | |
<body itemscope itemtype="https://schema.org/Periodical"> | |
<h1 itemprop="name">Astasa</h1> | |
<span itemprop="issn">2741-2318</span> | |
<p>Une revue soutenue par l'<span itemprop="funder">Université Bordeaux Montaigne</span> |
View query.sql
select distinct A.label as surname, A.wikidata as qs, B.label as forename, B.wikidata as qf, A.gender as gender | |
from forename as A, surname as B | |
WHERE (A.B = 0 and B.B = 0) AND | |
(A.D = 0 and B.D = 0) AND | |
(A.E = 0 and B.E = 0) AND | |
(A.F = 0 and B.F = 0) AND | |
(A.G = 0 and B.G = 0) AND | |
(A.I = 0 and B.I = 0) AND | |
(A.J = 0 and B.J = 0) AND | |
(A.K = 0 and B.K = 0) AND |
View CheckDOI.json
[ | |
{ | |
"op": "core/column-addition-by-fetching-urls", | |
"description": "Create column DOI_resolver at index 1 by fetching URLs based on column DOI using expression grel:\"https://doi.org/api/handles/\" + value + \"?type=URL\"", | |
"engineConfig": { | |
"facets": [], | |
"mode": "row-based" | |
}, | |
"newColumnName": "DOI_resolver", | |
"columnInsertIndex": 1, |
View getCat.sh
wget https://upload.wikimedia.org/wikipedia/commons/transcoded/7/75/Achat_Nm_1_1_1_-_Elix.ogv/Achat_Nm_1_1_1_-_Elix.ogv.480p.webm | |
wget https://upload.wikimedia.org/wikipedia/commons/transcoded/a/a4/Alasaintglinglin_Adv_1_1_-_Elix.ogv/Alasaintglinglin_Adv_1_1_-_Elix.ogv.480p.vp9.webm | |
wget https://upload.wikimedia.org/wikipedia/commons/transcoded/1/18/Ame_Nf_2_2_1_-_Elix.ogv/Ame_Nf_2_2_1_-_Elix.ogv.480p.vp9.webm | |
wget https://upload.wikimedia.org/wikipedia/commons/transcoded/7/7e/Analogie_Nf_1_2_1_-_Elix.ogv/Analogie_Nf_1_2_1_-_Elix.ogv.480p.vp9.webm | |
wget https://upload.wikimedia.org/wikipedia/commons/transcoded/4/4a/Appetit_Nm_1_1_1_-_Elix.ogv/Appetit_Nm_1_1_1_-_Elix.ogv.480p.vp9.webm | |
wget https://upload.wikimedia.org/wikipedia/commons/transcoded/a/a6/Archipel_Nm_1_2_1_-_Elix.ogv/Archipel_Nm_1_2_1_-_Elix.ogv.480p.vp9.webm | |
wget https://upload.wikimedia.org/wikipedia/commons/transcoded/3/37/Bapteme_Nm_2_1_1_-_Elix.ogv/Bapteme_Nm_2_1_1_-_Elix.ogv.480p.vp9.webm | |
wget https://upload.wikimedia.org/wikipedia/commons/tr |
View 9408.xml
<nkl:Data xmlns:dcterms="http://purl.org/dc/terms/" xmlns:nkl="http://nakala.fr/schema#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dcterms:title>Cours du Niger de Tombouctou à Boussa : Mission Hourst</dcterms:title> | |
<dcterms:creator>Hourst</dcterms:creator> | |
<dcterms:creator>France</dcterms:creator> | |
<dcterms:type>http://purl.org/dc/dcmitype/StillImage</dcterms:type><dcterms:created>1899</dcterms:created> | |
<dcterms:coverage>Afrique de l'ouest intérieure</dcterms:coverage> | |
<dcterms:identifier>10-6-1-21</dcterms:identifier> | |
<dcterms:identifier>http://1886.u-bordeaux-montaigne.fr/items/show/9408</dcterms:identifier> | |
<dcterms:identifier>http://1886.u-bordeaux-montaigne.fr/files/original/a8e55722b79ac59840389c9709e511da.jpg</dcterms:identifier> | |
<nkl:originalFilename>B335222107_10_06_01_21_001.jpg</nkl:originalFilename><nkl:inCollection>11280/5b3d17c8</nkl:inCollection></nkl:Data> |
View bib_ubm.tsv
33PUDB_UBM | 3100400000 | 33PUDB_UBM_3100400000 | Arts and Humanities Library | fr_FR | Lettres et Sciences humaines | ||
---|---|---|---|---|---|---|---|
33PUDB_UBM | 3300700000 | 33PUDB_UBM_3300700000 | Bib. aménagement et communication | fr_FR | IATU/ISIC (Aménagement/Communication) | ||
33PUDB_UBM | 3000100000 | 33PUDB_UBM_3000100000 | Bibliothèque électronique | fr_FR | Bibliothèque électronique | ||
33PUDB_UBM | 3200300000 | 33PUDB_UBM_3200300000 | English, German and Linguistics Library | fr_FR | Henri Guillemin | ||
33PUDB_UBM | 3200600000 | 33PUDB_UBM_3200600000 | Franco-German Library | fr_FR | Franco-allemande | ||
33PUDB_UBM | 3300200000 | 33PUDB_UBM_3300200000 | Geography and Maps Library | fr_FR | Géographie/Cartothèque | ||
33PUDB_UBM | 3100500000 | 33PUDB_UBM_3100500000 | History and Art History Library | fr_FR | Histoire/Histoire de l'art | ||
33PUDB_UBM | 3400900000 | 33PUDB_UBM_3400900000 | IUT/IJBA Documentation Centre | fr_FR | IUT/IJBA | ||
33PUDB_UBM | 3200100000 | 33PUDB_UBM_3200100000 | Iberian Library | fr_FR | Etudes ibériques | ||
33PUDB_UBM | 3200800000 | 33PUDB_UBM_3200800000 | LE/LEA Library | fr_FR | L.E./L.E.A. |
View main.js
let app = angular.module('viewCustom', [ | |
'angularLoad', | |
] | |
); | |
app.component('prmSearchBarAfter', { | |
bindings: { parentCtrl: '<' }, | |
controller: 'prmSearchBarAfterController', | |
// templateUrl:'/primo-explore/custom/33PUDB_UBM_VU1/html/libqual.html' | |
}); |
View primo_to_library.php
<?php | |
$library = $_GET["libraryCode"]; | |
$urls = [ | |
"3100400000" => "http://www.u-bordeaux-montaigne.fr/fr/documentation/vos-bibliotheques/bibliotheque-universitaire-de-lettres.html", | |
"3101000000" => "http://www.u-bordeaux-montaigne.fr/fr/documentation/vos-bibliotheques/bibliotheque_maison_de_l_archeologie.html", | |
"3100500000" => "http://www.u-bordeaux-montaigne.fr/fr/documentation/vos-bibliotheques/bibliotheque-d-histoire-histoire-de-l-art.html", | |
"3200100000" => "http://www.u-bordeaux-montaigne.fr/fr/documentation/vos-bibliotheques/bibliotheque_etudes_iberiques_et_ibero_americaines.html", | |
"3200300000" => "http://www.u-bordeaux-montaigne.fr/fr/documentation/vos-bibliotheques/bibliotheque_lettres_anglais.html", | |
"3200600000" => "http://www.u-bordeaux-montaigne.fr/fr/documentation/vos-bibliotheques/bibliotheque-franco-allemande-bifa.html", |
View logs.tsv
MMM.Common.Devices.Barcode.MicroscanScanner | DEBUG | 7/10/2018 | 14:08:23 | 999 | Barcode Event: 1 | |
---|---|---|---|---|---|---|
MMM.Common.Devices.Barcode.MicroscanScanner | DEBUG | 7/10/2018 | 14:08:23 | 999 | Barcode Read: 1xxxxx5287 | |
MMM.Common.Devices.Barcode.MicroscanScanner | DEBUG | 7/10/2018 | 14:08:23 | 999 | Trim data | |
MMM.Common.Events.EventManager | DEBUG | 7/10/2018 | 14:08:24 | 19 | Handling event EVENT_BARCODE_DATA (7/10/2018 2:08:23 PM) | |
MMM.Common.Devices.Barcode.MicroscanScanner | DEBUG | 7/10/2018 | 14:08:24 | 29 | Device: Scanline has been disabled. | |
MMM.Common.Events.EventManager | DEBUG | 7/10/2018 | 14:08:24 | 119 | Handling event EVENT_CONTROLLER_SESSION_SCRUBBED (7/10/2018 2:08:24 PM) | |
MMM.Common.Events.EventManager | DEBUG | 7/10/2018 | 14:08:24 | 219 | Handling event EVENT_CIP_LOOKUP_USER (7/10/2018 2:08:24 PM) | |
MMM.Common.CIP.CIPManager | INFO | 7/10/2018 | 14:08:24 | 219 | Handle CIP Event: EVENT_CIP_LOOKUP_USER | |
MMM.Common.CIP.CIPManager | INFO | 7/10/2018 | 14:08:24 | 229 | sending request for charged items... | |
CirculationBL.SIPBL | DEBUG | 7/10/2018 | 14:08:24 | 229 | Leaving state to: CirculationBL.SIPBLRea |
NewerOlder