summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2017-11-02 00:18:13 +0100
committerGitHub <noreply@github.com>2017-11-02 00:18:13 +0100
commitddeea6386b0ff6c837925513af27d383513dae19 (patch)
treed0fd28462a249106512e4507ed36476386109d6c
parent3d50b0288dc2ba42baf550353f3fb5bee6462754 (diff)
parentb7eb80122e6913ef0a00c64eb0d1a205624bb5d9 (diff)
downloadsearxng-ddeea6386b0ff6c837925513af27d383513dae19.tar.gz
searxng-ddeea6386b0ff6c837925513af27d383513dae19.zip
Merge pull request #1076 from jibe-b/patch-10
[add] OpenAIRE publication engine
-rw-r--r--searx/settings.yml16
1 files changed, 14 insertions, 2 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 067a842e4..b6c6d49d1 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,19 @@ 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
+ engine : json_engine
+ 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