commit: 7de8b43eb2081853ae15b2a52cc0cae43647320b
parent 9c2b7a82f0c515fd1df88ed80349eda7f49e0825
Author: Noémi Ványi <sitbackandwait@gmail.com>
Date: Wed, 1 Nov 2017 13:28:04 +0100
add OpenAIRE engine as a json engine
This is the continuation of #1048 created by @jibe-b.
Closes #1048
Diffstat:
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/searx/settings.yml b/searx/settings.yml
@@ -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