# HG changeset patch # User ymh # Date 1455913092 -3600 # Node ID e550b10fe3ca37935ef61f121afa7490bc1b44c7 # Parent 93234b0b12f3c83f9b089fc5b066e83cb6ce4cad add language resolver on api data diff -r 93234b0b12f3 -r e550b10fe3ca cms/app-client/app/models/document.js --- a/cms/app-client/app/models/document.js Fri Feb 12 23:46:15 2016 +0100 +++ b/cms/app-client/app/models/document.js Fri Feb 19 21:18:12 2016 +0100 @@ -30,154 +30,1314 @@ CPDocument.reopenClass({ FIXTURES: [ { - "id": "crdo-09-CAYCHAX_SOUND", - "uri": "http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-09-CAYCHAX_SOUND", + "id": "corpusparole:crdo-09-CAYCHAX_SOUND", + "uri": "http://corpusdelaparole.huma-num.fr/corpus/res/crdo-09-CAYCHAX_SOUND", "title": "ALLOc : Caychax : Parabole", "language": "http://lexvo.org/id/iso639-3/oci", "modified": "2010-10-25T18:16:38+02:00", - "publishers": [ ], - "contributors": [ ], - "mediaArray": [ ] + "publishers": [ + "Équipe de Recherche en Syntaxe et Sémantique", + "Bases, corpus, langage" + ], + "contributors": [ + { + "name": null, + "url": "http://viaf.org/viaf/56666014", + "role": "http://www.language-archives.org/OLAC/1.1/data_inputter" + }, + { + "name": "LDOR", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Thésaurus Occitan", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Équipe de Recherche en Syntaxe et Sémantique", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": "Bases, corpus, langage", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": null, + "url": "http://viaf.org/viaf/91792187", + "role": "http://www.language-archives.org/OLAC/1.1/interviewer" + }, + { + "name": null, + "url": "http://viaf.org/viaf/51700729", + "role": "http://www.language-archives.org/OLAC/1.1/researcher" + }, + { + "name": "Alazet, Pierre", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/speaker" + }, + { + "name": "Del Duca, Jeanne", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/transcriber" + } + ], + "mediaArray": { + "http://cocoon.huma-num.fr/data/archi/144792_09-CAYCHAX_22km.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/144792_09-CAYCHAX_22km.wav", + "format": "audio/x-wav", + "extent": "PT03M18S", + "extent_ms": 198000, + "master": false + }, + "http://cocoon.huma-num.fr/data/archi/masters/144792.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/masters/144792.wav", + "format": "audio/x-wav", + "extent": "PT03M18S", + "extent_ms": 198000, + "master": true + }, + "http://cocoon.huma-num.fr/data/archi/mp3/144792_09-CAYCHAX_44k.mp3": { + "url": "http://cocoon.huma-num.fr/data/archi/mp3/144792_09-CAYCHAX_44k.mp3", + "format": "audio/mpeg", + "extent": "PT03M18S", + "extent_ms": 198000, + "master": false + }, + "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-CAYCHAX.xml": { + "url": "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-CAYCHAX.xml", + "format": "application/xml", + "extent": null, + "extent_ms": null, + "master": false + } + } }, { - "id": "crdo-09-DUN_SOUND", - "uri": "http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-09-DUN_SOUND", - "title": "ALLOc : Dun : Parabole", - "language": "http://lexvo.org/id/iso639-3/oci", - "modified": "2010-10-25T18:18:23+02:00", - "publishers": [ ], - "contributors": [ ], - "mediaArray": [ ] + "id": "corpusparole:crdo-09-DUN_SOUND", + "uri": "http://corpusdelaparole.huma-num.fr/corpus/res/crdo-09-DUN_SOUND", + "title": "ALLOc : Dun : Parabole", + "language": "http://lexvo.org/id/iso639-3/oci", + "modified": "2010-10-25T18:18:23+02:00", + "publishers": [ + "Équipe de Recherche en Syntaxe et Sémantique", + "Bases, corpus, langage" + ], + "contributors": [ + { + "name": null, + "url": "http://viaf.org/viaf/56666014", + "role": "http://www.language-archives.org/OLAC/1.1/data_inputter" + }, + { + "name": "LDOR", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Thésaurus Occitan", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Équipe de Recherche en Syntaxe et Sémantique", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": "Bases, corpus, langage", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": null, + "url": "http://viaf.org/viaf/91792187", + "role": "http://www.language-archives.org/OLAC/1.1/interviewer" + }, + { + "name": null, + "url": "http://viaf.org/viaf/51700729", + "role": "http://www.language-archives.org/OLAC/1.1/researcher" + }, + { + "name": "Tricoire, Raymonde", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/speaker" + }, + { + "name": "Del Duca, Jeanne", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/transcriber" + } + ], + "mediaArray": { + "http://cocoon.huma-num.fr/data/archi/144793_09-DUN_22km.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/144793_09-DUN_22km.wav", + "format": "audio/x-wav", + "extent": "PT03M07S", + "extent_ms": 187000, + "master": false + }, + "http://cocoon.huma-num.fr/data/archi/masters/144793.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/masters/144793.wav", + "format": "audio/x-wav", + "extent": "PT03M07S", + "extent_ms": 187000, + "master": true + }, + "http://cocoon.huma-num.fr/data/archi/mp3/144793_09-DUN_44k.mp3": { + "url": "http://cocoon.huma-num.fr/data/archi/mp3/144793_09-DUN_44k.mp3", + "format": "audio/mpeg", + "extent": "PT03M07S", + "extent_ms": 187000, + "master": false + }, + "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-DUN.xml": { + "url": "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-DUN.xml", + "format": "application/xml", + "extent": null, + "extent_ms": null, + "master": false + } + } }, { - "id": "crdo-09-LABASTIDE-DE-LORDAT_SOUND", - "uri": "http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-09-LABASTIDE-DE-LORDAT_SOUND", - "title": "ALLOc : La Bastide-de-Lordat : Parabole", - "language": "http://lexvo.org/id/iso639-3/oci", - "modified": "2010-10-25T18:20:08+02:00", - "publishers": [ ], - "contributors": [ ], - "mediaArray": [ ] + "id": "corpusparole:crdo-09-LABASTIDE-DE-LORDAT_SOUND", + "uri": "http://corpusdelaparole.huma-num.fr/corpus/res/crdo-09-LABASTIDE-DE-LORDAT_SOUND", + "title": "ALLOc : La Bastide-de-Lordat : Parabole", + "language": "http://lexvo.org/id/iso639-3/oci", + "modified": "2010-10-25T18:20:08+02:00", + "publishers": [ + "Équipe de Recherche en Syntaxe et Sémantique", + "Bases, corpus, langage" + ], + "contributors": [ + { + "name": null, + "url": "http://viaf.org/viaf/56666014", + "role": "http://www.language-archives.org/OLAC/1.1/data_inputter" + }, + { + "name": "LDOR", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Thésaurus Occitan", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Équipe de Recherche en Syntaxe et Sémantique", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": "Bases, corpus, langage", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": null, + "url": "http://viaf.org/viaf/91792187", + "role": "http://www.language-archives.org/OLAC/1.1/interviewer" + }, + { + "name": null, + "url": "http://viaf.org/viaf/51700729", + "role": "http://www.language-archives.org/OLAC/1.1/researcher" + }, + { + "name": "Roumieu, Berthe", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/speaker" + }, + { + "name": "Del Duca, Jeanne", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/transcriber" + } + ], + "mediaArray": { + "http://cocoon.huma-num.fr/data/archi/144794_09-LABASTIDE-DE-LORDAT_22km.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/144794_09-LABASTIDE-DE-LORDAT_22km.wav", + "format": "audio/x-wav", + "extent": "PT02M46S", + "extent_ms": 166000, + "master": false + }, + "http://cocoon.huma-num.fr/data/archi/masters/144794.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/masters/144794.wav", + "format": "audio/x-wav", + "extent": "PT02M46S", + "extent_ms": 166000, + "master": true + }, + "http://cocoon.huma-num.fr/data/archi/mp3/144794_09-LABASTIDE-DE-LORDAT_44k.mp3": { + "url": "http://cocoon.huma-num.fr/data/archi/mp3/144794_09-LABASTIDE-DE-LORDAT_44k.mp3", + "format": "audio/mpeg", + "extent": "PT02M46S", + "extent_ms": 166000, + "master": false + }, + "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-LABASTIDE-DE-LORDAT.xml": { + "url": "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-LABASTIDE-DE-LORDAT.xml", + "format": "application/xml", + "extent": null, + "extent_ms": null, + "master": false + } + } }, { - "id": "crdo-09-LOUBENS_SOUND", - "uri": "http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-09-LOUBENS_SOUND", - "title": "ALLOc : Loubens : Parabole", - "language": "http://lexvo.org/id/iso639-3/oci", - "modified": "2010-10-25T18:21:23+02:00", - "publishers": [ ], - "contributors": [ ], - "mediaArray": [ ] + "id": "corpusparole:crdo-09-LOUBENS_SOUND", + "uri": "http://corpusdelaparole.huma-num.fr/corpus/res/crdo-09-LOUBENS_SOUND", + "title": "ALLOc : Loubens : Parabole", + "language": "http://lexvo.org/id/iso639-3/oci", + "modified": "2010-10-25T18:21:23+02:00", + "publishers": [ + "Équipe de Recherche en Syntaxe et Sémantique", + "Bases, corpus, langage" + ], + "contributors": [ + { + "name": null, + "url": "http://viaf.org/viaf/56666014", + "role": "http://www.language-archives.org/OLAC/1.1/data_inputter" + }, + { + "name": "LDOR", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Thésaurus Occitan", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Équipe de Recherche en Syntaxe et Sémantique", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": "Bases, corpus, langage", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": null, + "url": "http://viaf.org/viaf/91792187", + "role": "http://www.language-archives.org/OLAC/1.1/interviewer" + }, + { + "name": null, + "url": "http://viaf.org/viaf/51700729", + "role": "http://www.language-archives.org/OLAC/1.1/researcher" + }, + { + "name": "Faure, Antoinette", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/speaker" + }, + { + "name": "Del Duca, Jeanne", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/transcriber" + } + ], + "mediaArray": { + "http://cocoon.huma-num.fr/data/archi/144795_09-LOUBENS_22km.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/144795_09-LOUBENS_22km.wav", + "format": "audio/x-wav", + "extent": "PT02M28S", + "extent_ms": 148000, + "master": false + }, + "http://cocoon.huma-num.fr/data/archi/masters/144795.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/masters/144795.wav", + "format": "audio/x-wav", + "extent": "PT02M28S", + "extent_ms": 148000, + "master": true + }, + "http://cocoon.huma-num.fr/data/archi/mp3/144795_09-LOUBENS_44k.mp3": { + "url": "http://cocoon.huma-num.fr/data/archi/mp3/144795_09-LOUBENS_44k.mp3", + "format": "audio/mpeg", + "extent": "PT02M28S", + "extent_ms": 148000, + "master": false + }, + "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-LOUBENS.xml": { + "url": "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-LOUBENS.xml", + "format": "application/xml", + "extent": null, + "extent_ms": null, + "master": false + } + } }, { - "id": "crdo-09-MERENS-LES-VALS_SOUND", - "uri": "http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-09-MERENS-LES-VALS_SOUND", - "title": "ALLOc : Mérens-les-Vals : Parabole", - "language": "http://lexvo.org/id/iso639-3/oci", - "modified": "2010-10-25T18:22:24+02:00", - "publishers": [ ], - "contributors": [ ], - "mediaArray": [ ] + "id": "corpusparole:crdo-09-MERENS-LES-VALS_SOUND", + "uri": "http://corpusdelaparole.huma-num.fr/corpus/res/crdo-09-MERENS-LES-VALS_SOUND", + "title": "ALLOc : Mérens-les-Vals : Parabole", + "language": "http://lexvo.org/id/iso639-3/oci", + "modified": "2010-10-25T18:22:24+02:00", + "publishers": [ + "Équipe de Recherche en Syntaxe et Sémantique", + "Bases, corpus, langage" + ], + "contributors": [ + { + "name": null, + "url": "http://viaf.org/viaf/56666014", + "role": "http://www.language-archives.org/OLAC/1.1/data_inputter" + }, + { + "name": "LDOR", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Thésaurus Occitan", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Équipe de Recherche en Syntaxe et Sémantique", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": "Bases, corpus, langage", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": null, + "url": "http://viaf.org/viaf/91792187", + "role": "http://www.language-archives.org/OLAC/1.1/interviewer" + }, + { + "name": null, + "url": "http://viaf.org/viaf/51700729", + "role": "http://www.language-archives.org/OLAC/1.1/researcher" + }, + { + "name": "Laurens, François", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/speaker" + }, + { + "name": "Del Duca, Jeanne", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/transcriber" + } + ], + "mediaArray": { + "http://cocoon.huma-num.fr/data/archi/144796_09-MERENS-LES-VALS_22km.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/144796_09-MERENS-LES-VALS_22km.wav", + "format": "audio/x-wav", + "extent": "PT02M45S", + "extent_ms": 165000, + "master": false + }, + "http://cocoon.huma-num.fr/data/archi/masters/144796.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/masters/144796.wav", + "format": "audio/x-wav", + "extent": "PT02M45S", + "extent_ms": 165000, + "master": true + }, + "http://cocoon.huma-num.fr/data/archi/mp3/144796_09-MERENS-LES-VALS_44k.mp3": { + "url": "http://cocoon.huma-num.fr/data/archi/mp3/144796_09-MERENS-LES-VALS_44k.mp3", + "format": "audio/mpeg", + "extent": "PT02M45S", + "extent_ms": 165000, + "master": false + }, + "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-MERENS-LES-VALS.xml": { + "url": "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-MERENS-LES-VALS.xml", + "format": "application/xml", + "extent": null, + "extent_ms": null, + "master": false + } + } }, { - "id": "crdo-09-MONTSEGUR_SOUND", - "uri": "http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-09-MONTSEGUR_SOUND", - "title": "ALLOc : Montségur : Parabole", - "language": "http://lexvo.org/id/iso639-3/oci", - "modified": "2010-10-25T18:23:14+02:00", - "publishers": [ ], - "contributors": [ ], - "mediaArray": [ ] + "id": "corpusparole:crdo-09-MONTSEGUR_SOUND", + "uri": "http://corpusdelaparole.huma-num.fr/corpus/res/crdo-09-MONTSEGUR_SOUND", + "title": "ALLOc : Montségur : Parabole", + "language": "http://lexvo.org/id/iso639-3/oci", + "modified": "2010-10-25T18:23:14+02:00", + "publishers": [ + "Équipe de Recherche en Syntaxe et Sémantique", + "Bases, corpus, langage" + ], + "contributors": [ + { + "name": null, + "url": "http://viaf.org/viaf/56666014", + "role": "http://www.language-archives.org/OLAC/1.1/data_inputter" + }, + { + "name": "LDOR", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Thésaurus Occitan", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Équipe de Recherche en Syntaxe et Sémantique", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": "Bases, corpus, langage", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": null, + "url": "http://viaf.org/viaf/91792187", + "role": "http://www.language-archives.org/OLAC/1.1/interviewer" + }, + { + "name": null, + "url": "http://viaf.org/viaf/51700729", + "role": "http://www.language-archives.org/OLAC/1.1/researcher" + }, + { + "name": "Couquet, Marius", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/speaker" + }, + { + "name": "Del Duca, Jeanne", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/transcriber" + } + ], + "mediaArray": { + "http://cocoon.huma-num.fr/data/archi/144797_09-MONTSEGUR_22km.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/144797_09-MONTSEGUR_22km.wav", + "format": "audio/x-wav", + "extent": "PT02M50S", + "extent_ms": 170000, + "master": false + }, + "http://cocoon.huma-num.fr/data/archi/masters/144797.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/masters/144797.wav", + "format": "audio/x-wav", + "extent": "PT02M50S", + "extent_ms": 170000, + "master": true + }, + "http://cocoon.huma-num.fr/data/archi/mp3/144797_09-MONTSEGUR_44k.mp3": { + "url": "http://cocoon.huma-num.fr/data/archi/mp3/144797_09-MONTSEGUR_44k.mp3", + "format": "audio/mpeg", + "extent": "PT02M50S", + "extent_ms": 170000, + "master": false + }, + "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-MONTSEGUR.xml": { + "url": "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-MONTSEGUR.xml", + "format": "application/xml", + "extent": null, + "extent_ms": null, + "master": false + } + } }, { - "id": "crdo-09-PRAYOLS_SOUND", - "uri": "http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-09-PRAYOLS_SOUND", - "title": "ALLOc : Prayols : Parabole", - "language": "http://lexvo.org/id/iso639-3/oci", - "modified": "2010-10-25T18:24:06+02:00", - "publishers": [ ], - "contributors": [ ], - "mediaArray": [ ] + "id": "corpusparole:crdo-09-PRAYOLS_SOUND", + "uri": "http://corpusdelaparole.huma-num.fr/corpus/res/crdo-09-PRAYOLS_SOUND", + "title": "ALLOc : Prayols : Parabole", + "language": "http://lexvo.org/id/iso639-3/oci", + "modified": "2010-10-25T18:24:06+02:00", + "publishers": [ + "Équipe de Recherche en Syntaxe et Sémantique", + "Bases, corpus, langage" + ], + "contributors": [ + { + "name": null, + "url": "http://viaf.org/viaf/56666014", + "role": "http://www.language-archives.org/OLAC/1.1/data_inputter" + }, + { + "name": "LDOR", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Thésaurus Occitan", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": null, + "url": "http://viaf.org/viaf/91792187", + "role": "http://www.language-archives.org/OLAC/1.1/interviewer" + }, + { + "name": null, + "url": "http://viaf.org/viaf/51700729", + "role": "http://www.language-archives.org/OLAC/1.1/researcher" + }, + { + "name": "Laguerre, Aimé", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/speaker" + }, + { + "name": "Del Duca, Jeanne", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/transcriber" + } + ], + "mediaArray": { + "http://cocoon.huma-num.fr/data/archi/144798_09-PRAYOLS_22km.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/144798_09-PRAYOLS_22km.wav", + "format": "audio/x-wav", + "extent": "PT03M02S", + "extent_ms": 182000, + "master": false + }, + "http://cocoon.huma-num.fr/data/archi/masters/144798.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/masters/144798.wav", + "format": "audio/x-wav", + "extent": "PT03M02S", + "extent_ms": 182000, + "master": true + }, + "http://cocoon.huma-num.fr/data/archi/mp3/144798_09-PRAYOLS_44k.mp3": { + "url": "http://cocoon.huma-num.fr/data/archi/mp3/144798_09-PRAYOLS_44k.mp3", + "format": "audio/mpeg", + "extent": "PT03M02S", + "extent_ms": 182000, + "master": false + }, + "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-PRAYOLS.xml": { + "url": "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-PRAYOLS.xml", + "format": "application/xml", + "extent": null, + "extent_ms": null, + "master": false + } + } }, { - "id": "crdo-09-QUERIGUT_SOUND", - "uri": "http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-09-QUERIGUT_SOUND", - "title": "ALLOc : Quérigut : Parabole", - "language": "http://lexvo.org/id/iso639-3/oci", - "modified": "2010-10-25T18:24:56+02:00", - "publishers": [ ], - "contributors": [ ], - "mediaArray": [ ] + "id": "corpusparole:crdo-09-QUERIGUT_SOUND", + "uri": "http://corpusdelaparole.huma-num.fr/corpus/res/crdo-09-QUERIGUT_SOUND", + "title": "ALLOc : Quérigut : Parabole", + "language": "http://lexvo.org/id/iso639-3/oci", + "modified": "2010-10-25T18:24:56+02:00", + "publishers": [ + "Équipe de Recherche en Syntaxe et Sémantique", + "Bases, corpus, langage" + ], + "contributors": [ + { + "name": null, + "url": "http://viaf.org/viaf/56666014", + "role": "http://www.language-archives.org/OLAC/1.1/data_inputter" + }, + { + "name": "LDOR", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Thésaurus Occitan", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Équipe de Recherche en Syntaxe et Sémantique", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": "Bases, corpus, langage", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": null, + "url": "http://viaf.org/viaf/91792187", + "role": "http://www.language-archives.org/OLAC/1.1/interviewer" + }, + { + "name": null, + "url": "http://viaf.org/viaf/51700729", + "role": "http://www.language-archives.org/OLAC/1.1/researcher" + }, + { + "name": "Tichadou, Joseph", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/speaker" + }, + { + "name": "Del Duca, Jeanne", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/transcriber" + } + ], + "mediaArray": { + "http://cocoon.huma-num.fr/data/archi/144799_09-QUERIGUT_22km.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/144799_09-QUERIGUT_22km.wav", + "format": "audio/x-wav", + "extent": "PT02M51S", + "extent_ms": 171000, + "master": false + }, + "http://cocoon.huma-num.fr/data/archi/masters/144799.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/masters/144799.wav", + "format": "audio/x-wav", + "extent": "PT02M51S", + "extent_ms": 171000, + "master": true + }, + "http://cocoon.huma-num.fr/data/archi/mp3/144799_09-QUERIGUT_44k.mp3": { + "url": "http://cocoon.huma-num.fr/data/archi/mp3/144799_09-QUERIGUT_44k.mp3", + "format": "audio/mpeg", + "extent": "PT02M51S", + "extent_ms": 171000, + "master": false + }, + "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-QUERIGUT.xml": { + "url": "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-QUERIGUT.xml", + "format": "application/xml", + "extent": null, + "extent_ms": null, + "master": false + } + } }, { - "id": "crdo-09-SIGUER_SOUND", - "uri": "http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-09-SIGUER_SOUND", - "title": "ALLOc : Siguer : Parabole", - "language": "http://lexvo.org/id/iso639-3/oci", - "modified": "2010-10-25T18:25:51+02:00", - "publishers": [ ], - "contributors": [ ], - "mediaArray": [ ] + "id": "corpusparole:crdo-09-SIGUER_SOUND", + "uri": "http://corpusdelaparole.huma-num.fr/corpus/res/crdo-09-SIGUER_SOUND", + "title": "ALLOc : Siguer : Parabole", + "language": "http://lexvo.org/id/iso639-3/oci", + "modified": "2010-10-25T18:25:51+02:00", + "publishers": [ + "Équipe de Recherche en Syntaxe et Sémantique", + "Bases, corpus, langage" + ], + "contributors": [ + { + "name": null, + "url": "http://viaf.org/viaf/56666014", + "role": "http://www.language-archives.org/OLAC/1.1/data_inputter" + }, + { + "name": "LDOR", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Thésaurus Occitan", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Équipe de Recherche en Syntaxe et Sémantique", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": "Bases, corpus, langage", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": null, + "url": "http://viaf.org/viaf/91792187", + "role": "http://www.language-archives.org/OLAC/1.1/interviewer" + }, + { + "name": null, + "url": "http://viaf.org/viaf/51700729", + "role": "http://www.language-archives.org/OLAC/1.1/researcher" + }, + { + "name": "Caujolle, Joseph", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/speaker" + }, + { + "name": "Del Duca, Jeanne", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/transcriber" + } + ], + "mediaArray": { + "http://cocoon.huma-num.fr/data/archi/144800_09-SIGUER_22km.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/144800_09-SIGUER_22km.wav", + "format": "audio/x-wav", + "extent": "PT02M57S", + "extent_ms": 177000, + "master": false + }, + "http://cocoon.huma-num.fr/data/archi/masters/144800.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/masters/144800.wav", + "format": "audio/x-wav", + "extent": "PT02M57S", + "extent_ms": 177000, + "master": true + }, + "http://cocoon.huma-num.fr/data/archi/mp3/144800_09-SIGUER_44k.mp3": { + "url": "http://cocoon.huma-num.fr/data/archi/mp3/144800_09-SIGUER_44k.mp3", + "format": "audio/mpeg", + "extent": "PT02M57S", + "extent_ms": 177000, + "master": false + }, + "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-SIGUER.xml": { + "url": "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-SIGUER.xml", + "format": "application/xml", + "extent": null, + "extent_ms": null, + "master": false + } + } }, { - "id": "crdo-09-ST-MARTIN-D-OYDES_SOUND", - "uri": "http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-09-ST-MARTIN-D-OYDES_SOUND", - "title": "ALLOc : Saint-Martin-d'Oydes : Parabole", - "language": "http://lexvo.org/id/iso639-3/oci", - "modified": "2010-10-25T18:26:22+02:00", - "publishers": [ ], - "contributors": [ ], - "mediaArray": [ ] + "id": "corpusparole:crdo-09-ST-MARTIN-D-OYDES_SOUND", + "uri": "http://corpusdelaparole.huma-num.fr/corpus/res/crdo-09-ST-MARTIN-D-OYDES_SOUND", + "title": "ALLOc : Saint-Martin-d'Oydes : Parabole", + "language": "http://lexvo.org/id/iso639-3/oci", + "modified": "2010-10-25T18:26:22+02:00", + "publishers": [ + "Équipe de Recherche en Syntaxe et Sémantique", + "Bases, corpus, langage" + ], + "contributors": [ + { + "name": null, + "url": "http://viaf.org/viaf/56666014", + "role": "http://www.language-archives.org/OLAC/1.1/data_inputter" + }, + { + "name": "LDOR", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Thésaurus Occitan", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Équipe de Recherche en Syntaxe et Sémantique", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": "Bases, corpus, langage", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": null, + "url": "http://viaf.org/viaf/91792187", + "role": "http://www.language-archives.org/OLAC/1.1/interviewer" + }, + { + "name": null, + "url": "http://viaf.org/viaf/51700729", + "role": "http://www.language-archives.org/OLAC/1.1/researcher" + }, + { + "name": "Ferriès, Marcel", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/speaker" + }, + { + "name": "Del Duca, Jeanne", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/transcriber" + } + ], + "mediaArray": { + "http://cocoon.huma-num.fr/data/archi/144801_09-ST-MARTIN-D-OYDES_22km.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/144801_09-ST-MARTIN-D-OYDES_22km.wav", + "format": "audio/x-wav", + "extent": "PT03M05S", + "extent_ms": 185000, + "master": false + }, + "http://cocoon.huma-num.fr/data/archi/masters/144801.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/masters/144801.wav", + "format": "audio/x-wav", + "extent": "PT03M05S", + "extent_ms": 185000, + "master": true + }, + "http://cocoon.huma-num.fr/data/archi/mp3/144801_09-ST-MARTIN-D-OYDES_44k.mp3": { + "url": "http://cocoon.huma-num.fr/data/archi/mp3/144801_09-ST-MARTIN-D-OYDES_44k.mp3", + "format": "audio/mpeg", + "extent": "PT03M05S", + "extent_ms": 185000, + "master": false + }, + "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-ST-MARTIN-D-OYDES.xml": { + "url": "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-ST-MARTIN-D-OYDES.xml", + "format": "application/xml", + "extent": null, + "extent_ms": null, + "master": false + } + } }, { - "id": "crdo-09-SURBA_SOUND", - "uri": "http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-09-SURBA_SOUND", - "title": "ALLOc : Surba : Parabole", - "language": "http://lexvo.org/id/iso639-3/oci", - "modified": "2010-10-25T18:26:42+02:00", - "publishers": [ ], - "contributors": [ ], - "mediaArray": [ ] + "id": "corpusparole:crdo-09-SURBA_SOUND", + "uri": "http://corpusdelaparole.huma-num.fr/corpus/res/crdo-09-SURBA_SOUND", + "title": "ALLOc : Surba : Parabole", + "language": "http://lexvo.org/id/iso639-3/oci", + "modified": "2010-10-25T18:26:42+02:00", + "publishers": [ + "Équipe de Recherche en Syntaxe et Sémantique", + "Bases, corpus, langage" + ], + "contributors": [ + { + "name": null, + "url": "http://viaf.org/viaf/56666014", + "role": "http://www.language-archives.org/OLAC/1.1/data_inputter" + }, + { + "name": "LDOR", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Thésaurus Occitan", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Équipe de Recherche en Syntaxe et Sémantique", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": "Bases, corpus, langage", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": null, + "url": "http://viaf.org/viaf/91792187", + "role": "http://www.language-archives.org/OLAC/1.1/interviewer" + }, + { + "name": null, + "url": "http://viaf.org/viaf/51700729", + "role": "http://www.language-archives.org/OLAC/1.1/researcher" + }, + { + "name": "Roques, Camille", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/speaker" + }, + { + "name": "Del Duca, Jeanne", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/transcriber" + } + ], + "mediaArray": { + "http://cocoon.huma-num.fr/data/archi/144802_09-SURBA_22km.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/144802_09-SURBA_22km.wav", + "format": "audio/x-wav", + "extent": "PT02M39S", + "extent_ms": 159000, + "master": false + }, + "http://cocoon.huma-num.fr/data/archi/masters/144802.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/masters/144802.wav", + "format": "audio/x-wav", + "extent": "PT02M39S", + "extent_ms": 159000, + "master": true + }, + "http://cocoon.huma-num.fr/data/archi/mp3/144802_09-SURBA_44k.mp3": { + "url": "http://cocoon.huma-num.fr/data/archi/mp3/144802_09-SURBA_44k.mp3", + "format": "audio/mpeg", + "extent": "PT02M39S", + "extent_ms": 159000, + "master": false + }, + "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-SURBA.xml": { + "url": "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-09-SURBA.xml", + "format": "application/xml", + "extent": null, + "extent_ms": null, + "master": false + } + } }, { - "id": "crdo-11-GRAMAZIE_SOUND", - "uri": "http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-11-GRAMAZIE_SOUND", - "title": "ALLOc : Gramazie : Parabole", - "language": "http://lexvo.org/id/iso639-3/oci", - "modified": "2010-10-25T18:27:39+02:00", - "publishers": [ ], - "contributors": [ ], - "mediaArray": [ ] + "id": "corpusparole:crdo-11-GRAMAZIE_SOUND", + "uri": "http://corpusdelaparole.huma-num.fr/corpus/res/crdo-11-GRAMAZIE_SOUND", + "title": "ALLOc : Gramazie : Parabole", + "language": "http://lexvo.org/id/iso639-3/oci", + "modified": "2010-10-25T18:27:39+02:00", + "publishers": [ + "Équipe de Recherche en Syntaxe et Sémantique", + "Bases, corpus, langage" + ], + "contributors": [ + { + "name": null, + "url": "http://viaf.org/viaf/56666014", + "role": "http://www.language-archives.org/OLAC/1.1/data_inputter" + }, + { + "name": "LDOR", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Thésaurus Occitan", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Équipe de Recherche en Syntaxe et Sémantique", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": "Bases, corpus, langage", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": null, + "url": "http://viaf.org/viaf/91792187", + "role": "http://www.language-archives.org/OLAC/1.1/interviewer" + }, + { + "name": null, + "url": "http://viaf.org/viaf/51700729", + "role": "http://www.language-archives.org/OLAC/1.1/researcher" + }, + { + "name": "Léger, Clémence", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/speaker" + }, + { + "name": "De Lorenzo, Linda", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/transcriber" + } + ], + "mediaArray": { + "http://cocoon.huma-num.fr/data/archi/144803_11-GRAMAZIE_22km.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/144803_11-GRAMAZIE_22km.wav", + "format": "audio/x-wav", + "extent": "PT02M27S", + "extent_ms": 147000, + "master": false + }, + "http://cocoon.huma-num.fr/data/archi/masters/144803.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/masters/144803.wav", + "format": "audio/x-wav", + "extent": "PT02M27S", + "extent_ms": 147000, + "master": true + }, + "http://cocoon.huma-num.fr/data/archi/mp3/144803_11-GRAMAZIE_44k.mp3": { + "url": "http://cocoon.huma-num.fr/data/archi/mp3/144803_11-GRAMAZIE_44k.mp3", + "format": "audio/mpeg", + "extent": "PT02M27S", + "extent_ms": 147000, + "master": false + }, + "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-11-GRAMAZIE.xml": { + "url": "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-11-GRAMAZIE.xml", + "format": "application/xml", + "extent": null, + "extent_ms": null, + "master": false + } + } }, { - "id": "crdo-11-MOLLEVILLE_SOUND", - "uri": "http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-11-MOLLEVILLE_SOUND", - "title": "ALLOc : Molleville : Parabole", - "language": "http://lexvo.org/id/iso639-3/oci", - "modified": "2010-10-25T18:28:06+02:00", - "publishers": [ ], - "contributors": [ ], - "mediaArray": [ ] + "id": "corpusparole:crdo-11-MOLLEVILLE_SOUND", + "uri": "http://corpusdelaparole.huma-num.fr/corpus/res/crdo-11-MOLLEVILLE_SOUND", + "title": "ALLOc : Molleville : Parabole", + "language": "http://lexvo.org/id/iso639-3/oci", + "modified": "2010-10-25T18:28:06+02:00", + "publishers": [ + "Équipe de Recherche en Syntaxe et Sémantique", + "Bases, corpus, langage" + ], + "contributors": [ + { + "name": null, + "url": "http://viaf.org/viaf/56666014", + "role": "http://www.language-archives.org/OLAC/1.1/data_inputter" + }, + { + "name": "LDOR", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Thésaurus Occitan", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Équipe de Recherche en Syntaxe et Sémantique", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": "Bases, corpus, langage", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": null, + "url": "http://viaf.org/viaf/91792187", + "role": "http://www.language-archives.org/OLAC/1.1/interviewer" + }, + { + "name": null, + "url": "http://viaf.org/viaf/51700729", + "role": "http://www.language-archives.org/OLAC/1.1/researcher" + }, + { + "name": "Cathala, Auguste", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/speaker" + }, + { + "name": "De Lorenzo, Linda", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/transcriber" + } + ], + "mediaArray": { + "http://cocoon.huma-num.fr/data/archi/144804_11-MOLLEVILLE_22km.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/144804_11-MOLLEVILLE_22km.wav", + "format": "audio/x-wav", + "extent": "PT02M53S", + "extent_ms": 173000, + "master": false + }, + "http://cocoon.huma-num.fr/data/archi/masters/144804.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/masters/144804.wav", + "format": "audio/x-wav", + "extent": "PT02M53S", + "extent_ms": 173000, + "master": true + }, + "http://cocoon.huma-num.fr/data/archi/mp3/144804_11-MOLLEVILLE_44k.mp3": { + "url": "http://cocoon.huma-num.fr/data/archi/mp3/144804_11-MOLLEVILLE_44k.mp3", + "format": "audio/mpeg", + "extent": "PT02M53S", + "extent_ms": 173000, + "master": false + }, + "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-11-MOLLEVILLE.xml": { + "url": "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-11-MOLLEVILLE.xml", + "format": "application/xml", + "extent": null, + "extent_ms": null, + "master": false + } + } }, { - "id": "crdo-11-PUIVERT_SOUND", - "uri": "http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-11-PUIVERT_SOUND", - "title": "ALLOc : Puivert : Parabole", - "language": "http://lexvo.org/id/iso639-3/oci", - "modified": "2010-10-25T18:28:40+02:00", - "publishers": [ ], - "contributors": [ ], - "mediaArray": [ ] + "id": "corpusparole:crdo-11-PUIVERT_SOUND", + "uri": "http://corpusdelaparole.huma-num.fr/corpus/res/crdo-11-PUIVERT_SOUND", + "title": "ALLOc : Puivert : Parabole", + "language": "http://lexvo.org/id/iso639-3/oci", + "modified": "2010-10-25T18:28:40+02:00", + "publishers": [ + "Équipe de Recherche en Syntaxe et Sémantique", + "Bases, corpus, langage" + ], + "contributors": [ + { + "name": null, + "url": "http://viaf.org/viaf/56666014", + "role": "http://www.language-archives.org/OLAC/1.1/data_inputter" + }, + { + "name": "LDOR", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Thésaurus Occitan", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Équipe de Recherche en Syntaxe et Sémantique", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": "Bases, corpus, langage", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": null, + "url": "http://viaf.org/viaf/91792187", + "role": "http://www.language-archives.org/OLAC/1.1/interviewer" + }, + { + "name": null, + "url": "http://viaf.org/viaf/51700729", + "role": "http://www.language-archives.org/OLAC/1.1/researcher" + }, + { + "name": "Maugard, Marie", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/speaker" + }, + { + "name": "De Lorenzo, Linda", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/transcriber" + } + ], + "mediaArray": { + "http://cocoon.huma-num.fr/data/archi/144805_11-PUIVERT_22km.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/144805_11-PUIVERT_22km.wav", + "format": "audio/x-wav", + "extent": "PT02M35S", + "extent_ms": 155000, + "master": false + }, + "http://cocoon.huma-num.fr/data/archi/masters/144805.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/masters/144805.wav", + "format": "audio/x-wav", + "extent": "PT02M35S", + "extent_ms": 155000, + "master": true + }, + "http://cocoon.huma-num.fr/data/archi/mp3/144805_11-PUIVERT_44k.mp3": { + "url": "http://cocoon.huma-num.fr/data/archi/mp3/144805_11-PUIVERT_44k.mp3", + "format": "audio/mpeg", + "extent": "PT02M35S", + "extent_ms": 155000, + "master": false + }, + "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-11-PUIVERT.xml": { + "url": "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-11-PUIVERT.xml", + "format": "application/xml", + "extent": null, + "extent_ms": null, + "master": false + } + } }, { - "id": "crdo-11-RIBOUISSE_SOUND", - "uri": "http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-11-RIBOUISSE_SOUND", - "title": "ALLOc : Ribouisse : Parabole", - "language": "http://lexvo.org/id/iso639-3/oci", - "modified": "2010-10-25T18:29:32+02:00", - "publishers": [ ], - "contributors": [ ], - "mediaArray": [ ] + "id": "corpusparole:crdo-11-RIBOUISSE_SOUND", + "uri": "http://corpusdelaparole.huma-num.fr/corpus/res/crdo-11-RIBOUISSE_SOUND", + "title": "ALLOc : Ribouisse : Parabole", + "language": "http://lexvo.org/id/iso639-3/oci", + "modified": "2010-10-25T18:29:32+02:00", + "publishers": [ + "Équipe de Recherche en Syntaxe et Sémantique", + "Bases, corpus, langage" + ], + "contributors": [ + { + "name": null, + "url": "http://viaf.org/viaf/56666014", + "role": "http://www.language-archives.org/OLAC/1.1/data_inputter" + }, + { + "name": "LDOR", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Thésaurus Occitan", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/depositor" + }, + { + "name": "Équipe de Recherche en Syntaxe et Sémantique", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": "Bases, corpus, langage", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/editor" + }, + { + "name": null, + "url": "http://viaf.org/viaf/91792187", + "role": "http://www.language-archives.org/OLAC/1.1/interviewer" + }, + { + "name": null, + "url": "http://viaf.org/viaf/51700729", + "role": "http://www.language-archives.org/OLAC/1.1/researcher" + }, + { + "name": "Dournès, Lucien", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/speaker" + }, + { + "name": "De Lorenzo, Linda", + "url": null, + "role": "http://www.language-archives.org/OLAC/1.1/transcriber" + } + ], + "mediaArray": { + "http://cocoon.huma-num.fr/data/archi/144806_11-RIBOUISSE_22km.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/144806_11-RIBOUISSE_22km.wav", + "format": "audio/x-wav", + "extent": "PT03M11S", + "extent_ms": 191000, + "master": false + }, + "http://cocoon.huma-num.fr/data/archi/masters/144806.wav": { + "url": "http://cocoon.huma-num.fr/data/archi/masters/144806.wav", + "format": "audio/x-wav", + "extent": "PT03M11S", + "extent_ms": 191000, + "master": true + }, + "http://cocoon.huma-num.fr/data/archi/mp3/144806_11-RIBOUISSE_44k.mp3": { + "url": "http://cocoon.huma-num.fr/data/archi/mp3/144806_11-RIBOUISSE_44k.mp3", + "format": "audio/mpeg", + "extent": "PT03M11S", + "extent_ms": 191000, + "master": false + }, + "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-11-RIBOUISSE.xml": { + "url": "http://cocoon.huma-num.fr/exist/crdo/thesoc/oc/crdo-11-RIBOUISSE.xml", + "format": "application/xml", + "extent": null, + "extent_ms": null, + "master": false + } + } } ] }); diff -r 93234b0b12f3 -r e550b10fe3ca cms/app-client/bower.json --- a/cms/app-client/bower.json Fri Feb 12 23:46:15 2016 +0100 +++ b/cms/app-client/bower.json Fri Feb 19 21:18:12 2016 +0100 @@ -1,14 +1,18 @@ { "name": "app-client", "dependencies": { - "ember": "2.3.1", + "ember": "~2.3.1", "ember-cli-shims": "0.1.0", "ember-cli-test-loader": "0.2.2", - "ember-qunit-notifications": ">=0.1.0", - "jquery": "^2.1", + "ember-qunit-notifications": "0.1.0", + "jquery": "^2.2", "qunit": "~1.18.0", "bootstrap-sass": "bootstrap-sass-official#~3.3.6", "ammap3": "~3.18.6", - "font-awesome": "~4.4.0" + "font-awesome": "~4.4.0", + "pretender": "^0.10.0" + }, + "resolutions": { + "jquery": "^2.2" } } diff -r 93234b0b12f3 -r e550b10fe3ca cms/app-client/package.json --- a/cms/app-client/package.json Fri Feb 12 23:46:15 2016 +0100 +++ b/cms/app-client/package.json Fri Feb 19 21:18:12 2016 +0100 @@ -1,6 +1,6 @@ { "name": "app-client", - "version": "0.0.0", + "version": "0.0.1", "description": "Small description for app-client goes here", "private": true, "directories": { @@ -25,7 +25,7 @@ "broccoli-merge-trees": "^1.1.0", "broccoli-static-compiler": "^0.2.2", "ember-ajax": "0.7.1", - "ember-cli": "2.3.0-beta.2", + "ember-cli": "2.3.0", "ember-cli-app-version": "^1.0.0", "ember-cli-babel": "^5.1.6", "ember-cli-d3": "1.1.2", diff -r 93234b0b12f3 -r e550b10fe3ca server/bo_client/bower.json --- a/server/bo_client/bower.json Fri Feb 12 23:46:15 2016 +0100 +++ b/server/bo_client/bower.json Fri Feb 19 21:18:12 2016 +0100 @@ -1,11 +1,11 @@ { "name": "bo-client", "dependencies": { - "ember": "2.3.1", + "ember": "~2.3.1", "ember-cli-shims": "0.1.0", "ember-cli-test-loader": "0.2.2", "ember-qunit-notifications": "0.1.0", - "jquery": "1.11.3", + "jquery": "^2.2", "loader.js": "^4.0.0", "qunit": "~1.20.0", "bootstrap-sass": "bootstrap-sass-official#~3.3.6", @@ -16,6 +16,6 @@ }, "resolutions": { "ember": "2.3.1", - "qunit-notifications": "~0.1.0" + "jquery": ">=1.7" } } diff -r 93234b0b12f3 -r e550b10fe3ca server/bo_client/package.json --- a/server/bo_client/package.json Fri Feb 12 23:46:15 2016 +0100 +++ b/server/bo_client/package.json Fri Feb 19 21:18:12 2016 +0100 @@ -26,7 +26,7 @@ "broccoli-static-compiler": "^0.2.2", "ember-aupac-typeahead": "2.0.4", "ember-ajax": "0.7.1", - "ember-cli": "2.3.0-beta.2", + "ember-cli": "2.3.0", "ember-cli-app-version": "^1.0.0", "ember-cli-babel": "^5.1.6", "ember-cli-content-security-policy": "^0.5.0", diff -r 93234b0b12f3 -r e550b10fe3ca server/src/app/Http/Controllers/Api/DocumentController.php --- a/server/src/app/Http/Controllers/Api/DocumentController.php Fri Feb 12 23:46:15 2016 +0100 +++ b/server/src/app/Http/Controllers/Api/DocumentController.php Fri Feb 19 21:18:12 2016 +0100 @@ -26,9 +26,11 @@ public function index() { $paginator = $this->documentRepository->paginateAll(); - $res = []; - foreach ($paginator->toArray() as $key => $value) { - $res[($key === 'data')?'documents':$key] = $value; + $res = $paginator->toArray(); + if(array_key_exists('data', $res)) { + $documents = $res['data']; + unset($res['data']); + $res['documents'] = $this->documentRepository->resolveLexvo($documents); } return response()->json($res); } @@ -63,6 +65,7 @@ public function show($id) { $doc = $this->documentRepository->get($id); + $this->documentRepository->resolveLexvo([$doc,]); if(is_null($doc)) { abort(404); } diff -r 93234b0b12f3 -r e550b10fe3ca server/src/app/Libraries/Mappers/CocoonTextRdfMapper.php --- a/server/src/app/Libraries/Mappers/CocoonTextRdfMapper.php Fri Feb 12 23:46:15 2016 +0100 +++ b/server/src/app/Libraries/Mappers/CocoonTextRdfMapper.php Fri Feb 19 21:18:12 2016 +0100 @@ -135,6 +135,14 @@ // We do not add date to the providedCHO for Text resource } + protected function addConformsToProperty($webResource, $res, $mimetype) { + if($mimetype === 'application/xml') { + $this->applyPropertiesToRes($res, $webResource, [ + ['http://purl.org/dc/terms/conformsTo', null], + ]); + } + } + // protected function propertyTypeMap($providedCHOResource, $prop, $value) { // if((!$value instanceof Resource) || $value->getUri() !== "http://purl.org/dc/dcmitype/Text") { // $providedCHOResource->add($prop, $value); @@ -157,6 +165,7 @@ $this->addResourceRightProperties($webResource, $res); $this->addDateToWebResource($webResource, $res); + $this->addConformsToProperty($webResource, $res, $mimetype); $aggregationNode->addResource('edm:hasView', $reprUrl); } diff -r 93234b0b12f3 -r e550b10fe3ca server/src/app/Models/Document.php --- a/server/src/app/Models/Document.php Fri Feb 12 23:46:15 2016 +0100 +++ b/server/src/app/Models/Document.php Fri Feb 19 21:18:12 2016 +0100 @@ -30,6 +30,7 @@ private $providedCHO = null; private $title = false; private $lang = null; + private $langResolved = null; private $publishers = null; private $mediaArray = null; private $issued = null; @@ -47,6 +48,7 @@ $this->providedCHO = null; $this->title = false; $this->lang = null; + $this->langResolved = null; $this->publishers = null; $this->mediaArray = null; $this->issued = null; @@ -93,6 +95,14 @@ return null; } + public function getLanguageResolved() { + return $this->langResolved; + } + public function setLanguageResolved($languageResolved) { + $this->langResolved = $languageResolved; + } + + public function getTitle() { if($this->title === false) { try { @@ -349,6 +359,7 @@ 'uri' => $this->getUri(), 'title' => $this->getTitleValue(), 'language' => $this->getLanguageValue(), + 'language_resolved' => $this->getLanguageResolved(), 'modified' => $this->getModifiedValue(), 'publishers' => $publishers, 'contributors' => $contributors, diff -r 93234b0b12f3 -r e550b10fe3ca server/src/app/Repositories/DocumentRepository.php --- a/server/src/app/Repositories/DocumentRepository.php Fri Feb 12 23:46:15 2016 +0100 +++ b/server/src/app/Repositories/DocumentRepository.php Fri Feb 19 21:18:12 2016 +0100 @@ -20,5 +20,11 @@ */ public function paginateAll($perPage = 15, $pageName = 'page', $page = null); + /** + * Resolve lexvo id for all documents in the list + * this allow to optimise the call of lexvo repository + */ + public function resolveLexvo(Array $docList); + public function getCount(); } diff -r 93234b0b12f3 -r e550b10fe3ca server/src/app/Repositories/RdfDocumentRepository.php --- a/server/src/app/Repositories/RdfDocumentRepository.php Fri Feb 12 23:46:15 2016 +0100 +++ b/server/src/app/Repositories/RdfDocumentRepository.php Fri Feb 19 21:18:12 2016 +0100 @@ -7,6 +7,7 @@ use CorpusParole\Models\Document; use CorpusParole\Libraries\CorpusParoleException; use CorpusParole\Libraries\Sparql\SparqlClient; +use CorpusParole\Services\LexvoResolverInterface; use EasyRdf\Graph; @@ -20,9 +21,11 @@ class RdfDocumentRepository implements DocumentRepository { private $sparqlClient; + private $lexvoResolver; - public function __construct(SparqlClient $sparqlClient) { + public function __construct(SparqlClient $sparqlClient, LexvoResolverInterface $lexvoResolver) { $this->sparqlClient = $sparqlClient; + $this->lexvoResolver = $lexvoResolver; } public function getSparqlClient() { @@ -168,5 +171,33 @@ ]); } + /** + * Resolve lexvo id for all documents in the list + * this allow to optimise the call of lexvo repository + * @param $docList Array: a list (Array) of document to resolve + */ + public function resolveLexvo(Array $docList) { + + $languageIds = []; + #get the list pf language needing resolving + foreach ($docList as $doc) { + if($doc->getLanguageValue() && is_null($doc->getLanguageResolved())) { + $languageIds[$doc->getLanguageValue()] = true; + } + } + + # call LexvoResolver + $langNames = $this->lexvoResolver->getNames(array_keys($languageIds)); + + foreach ($docList as $doc) { + if($doc->getLanguageValue() && is_null($doc->getLanguageResolved())) { + $doc->setLanguageResolved($langNames[$doc->getLanguageValue()]); + } + } + + return $docList; + } + + } diff -r 93234b0b12f3 -r e550b10fe3ca server/src/tests/libraries/Mappers/CocoonTextRdfMapperTest.php --- a/server/src/tests/libraries/Mappers/CocoonTextRdfMapperTest.php Fri Feb 12 23:46:15 2016 +0100 +++ b/server/src/tests/libraries/Mappers/CocoonTextRdfMapperTest.php Fri Feb 19 21:18:12 2016 +0100 @@ -241,7 +241,7 @@ } /** - * Test that the web resources + * Test that the web resources has good date * * @return void */ @@ -265,4 +265,27 @@ } + /** + * Test that the web resources as conformsTo property + * + * @return void + */ + public function testWebResourcesConformsTo() { + + $resources = $this->resGraphes['BASE']->allOfType('edm:WebResource'); + foreach ($resources as $wres) { + + $mimetypes = $wres->all($this->resGraphes['BASE']->resource('http://purl.org/dc/elements/1.1/format')); + $mimetype = $mimetypes[0]->getValue(); + if($mimetype !== 'application/xml') { + continue; + } + $conformsTo = $wres->get(''); + $this->assertNotNull($conformsTo, "Must have a conformsTo node"); + $this->assertInstanceOf('EasyRdf\Resource', $conformsTo, "Must be a resource"); + $this->assertEquals("http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-dtd_archive", $conformsTo->getUri(), "Must be http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-dtd_archive"); + } + } + + }