Skip to content

Commit

Permalink
metadata: contribution with organisations
Browse files Browse the repository at this point in the history
* Renames module persons to contribution.
* Adds organisations from Mef to contribution.
* Closes rero#1360

Co-Authored-by: Peter Weber <peter.weber@rero.ch>
  • Loading branch information
rerowep and rerowep committed Nov 5, 2020
1 parent b8eac95 commit 0d296a8
Show file tree
Hide file tree
Showing 86 changed files with 86,664 additions and 81,978 deletions.
66,203 changes: 66,203 additions & 0 deletions data/contributions_big.json

Large diffs are not rendered by default.

15,243 changes: 15,243 additions & 0 deletions data/contributions_small.json

Large diffs are not rendered by default.

5,085 changes: 3,020 additions & 2,065 deletions data/documents_big.json

Large diffs are not rendered by default.

1,096 changes: 638 additions & 458 deletions data/documents_small.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,10 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

"""Persons resolver."""


import jsonresolver
from requests import get as requests_get # noqa


@jsonresolver.route('/api/mef/<pid>', host='mef.rero.ch')
def person_resolver(pid):
"""MEF person resolver."""
return dict(pid=pid)
# OAI-PMH harvester configuration.
ebooks:
baseurl: http://localhost:5005/oai2d
metadataprefix: marc21
comment: ''
setspecs: ''
Loading

0 comments on commit 0d296a8

Please sign in to comment.