EEXCESS / eexcess

This is the EEXCESS main repository bringing togehter the different sub-projects and providing the documentation in the Wiki. Its the starting point when you want to know more about the project.
http://eexcess.eu/
5 stars 2 forks source link

Return format of the details calls #7

Open ThomasCerq opened 8 years ago

ThomasCerq commented 8 years ago

The following issue was posted on JIRA and I created a patch to solve the problem on the privacy proxy. Nevertheless, I think this problem should be solved on the Federated Recommender. Can someone fix it?

The response of the detail call I am getting, looks something like the following (see below). the "detail-property contains encoded JSON. This should be decoded before returning it to the caller. { "documentBadge": [ { "id": "/04802/0C20B49D6C149705C27D255DC5666F27E46FE377", "uri": "http://europeana.eu/resolve/record/04802/0C20B49D6C149705C27D255DC5666F27E46FE377", "provider": "Europeana", "detail": "{\"eexcessProxy\":{\"edmlanguage\": {\"xmlnsedm\":\"http:\/\/www.europeana.eu\/schemas\/edm\/\",\"content\":\"fr\"} ,\"dctitle\": {\"content\":1998,\"xmlnsdc\":\"http:\/\/purl.org\/dc\/elements\/1.1\/\"} ,\"edmeuropeanaProxy\": {\"xmlnsedm\":\"http:\/\/www.europeana.eu\/schemas\/edm\/\",\"content\":false} ,\"edmconcept\":[ {\"xmlnsedm\":\"http:\/\/www.europeana.eu\/schemas\/edm\/\",\"content\":\"film\"} , {\"xmlnsedm\":\"http:\/\/www.europeana.eu\/schemas\/edm\/\",\"content\":\"documentary film\"} ],\"xmlnseexcess\":\"http:\/\/eexcess.eu\/schema\/\",\"dcidentifier\": {\"content\":\"\/04802\/0C20B49D6C149705C27D255DC5666F27E46FE377file://///04802/0C20B49D6C149705C27D255DC5666F27E46FE377/",\"xmlnsdc\":\"http:\/\/purl.org\/dc\/elements\/1.1\/\"} }}" }, .