diff options
author | jibe-b <user701@orange.fr> | 2017-11-01 22:26:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-01 22:26:33 +0100 |
commit | 3e9cc1474fd4c3d844d7c1eb6c82164486082e27 (patch) | |
tree | 8c4bb5388e54a5dae03cc23cea1b4ec865ba42f2 /searx | |
parent | 3d50b0288dc2ba42baf550353f3fb5bee6462754 (diff) | |
download | searxng-3e9cc1474fd4c3d844d7c1eb6c82164486082e27.tar.gz searxng-3e9cc1474fd4c3d844d7c1eb6c82164486082e27.zip |
[add] OpenAIRE publication engine
and modifies OpenAIRE datasets engine
Diffstat (limited to 'searx')
-rw-r--r-- | searx/settings.yml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index 067a842e4..29028608e 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -415,7 +415,7 @@ engines: shortcut : nt disabled : True - - name : openaire + - name : openairedatasets engine : json_engine paging : True 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/$ content_query : metadata/oaf:entity/oaf:result/description/$ 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 - name : openstreetmap |