add OpenAIRE engine as a json engine

This is the continuation of #1048 created by @jibe-b.

Closes #1048
This commit is contained in:
Noémi Ványi 2017-11-01 13:28:04 +01:00
parent 9c2b7a82f0
commit 7de8b43eb2
1 changed files with 12 additions and 0 deletions

View File

@ -415,6 +415,18 @@ engines:
shortcut : nt
disabled : True
- name : openaire
engine : json_engine
paging : True
search_url : http://api.openaire.eu/search/datasets?format=json&page={pageno}&size=10&title={query}
results_query : response/results/result
url_query : metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
title_query : metadata/oaf:entity/oaf:result/title/$
content_query : metadata/oaf:entity/oaf:result/description/$
categories : science
shortcut : oa
timeout: 5.0
- name : openstreetmap
engine : openstreetmap
shortcut : osm