forked from Ponysearch/Ponysearch
[add] OpenAIRE publication engine
and modifies OpenAIRE datasets engine
This commit is contained in:
parent
3d50b0288d
commit
3e9cc1474f
1 changed files with 13 additions and 2 deletions
|
@ -415,7 +415,7 @@ engines:
|
||||||
shortcut : nt
|
shortcut : nt
|
||||||
disabled : True
|
disabled : True
|
||||||
|
|
||||||
- name : openaire
|
- name : openairedatasets
|
||||||
engine : json_engine
|
engine : json_engine
|
||||||
paging : True
|
paging : True
|
||||||
search_url : http://api.openaire.eu/search/datasets?format=json&page={pageno}&size=10&title={query}
|
search_url : http://api.openaire.eu/search/datasets?format=json&page={pageno}&size=10&title={query}
|
||||||
|
@ -424,7 +424,18 @@ engines:
|
||||||
title_query : metadata/oaf:entity/oaf:result/title/$
|
title_query : metadata/oaf:entity/oaf:result/title/$
|
||||||
content_query : metadata/oaf:entity/oaf:result/description/$
|
content_query : metadata/oaf:entity/oaf:result/description/$
|
||||||
categories : science
|
categories : science
|
||||||
shortcut : oa
|
shortcut : oad
|
||||||
|
timeout: 5.0
|
||||||
|
|
||||||
|
- name : openairepublications
|
||||||
|
paging : True
|
||||||
|
search_url : http://api.openaire.eu/search/publications?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 : oap
|
||||||
timeout: 5.0
|
timeout: 5.0
|
||||||
|
|
||||||
- name : openstreetmap
|
- name : openstreetmap
|
||||||
|
|
Loading…
Reference in a new issue