Browse Source

[add] OpenAIRE publication engine

and modifies OpenAIRE datasets engine
jibe-b 7 years ago
parent
commit
3e9cc1474f
No account linked to committer's email
1 changed files with 13 additions and 2 deletions
  1. 13
    2
      searx/settings.yml

+ 13
- 2
searx/settings.yml View File

415
     shortcut : nt
415
     shortcut : nt
416
     disabled : True
416
     disabled : True
417
 
417
 
418
-  - name : openaire
418
+  - name : openairedatasets
419
     engine : json_engine
419
     engine : json_engine
420
     paging : True
420
     paging : True
421
     search_url : http://api.openaire.eu/search/datasets?format=json&page={pageno}&size=10&title={query}
421
     search_url : http://api.openaire.eu/search/datasets?format=json&page={pageno}&size=10&title={query}
424
     title_query : metadata/oaf:entity/oaf:result/title/$
424
     title_query : metadata/oaf:entity/oaf:result/title/$
425
     content_query : metadata/oaf:entity/oaf:result/description/$
425
     content_query : metadata/oaf:entity/oaf:result/description/$
426
     categories : science
426
     categories : science
427
-    shortcut : oa
427
+    shortcut : oad
428
+    timeout: 5.0
429
+
430
+  - name : openairepublications
431
+    paging : True
432
+    search_url : http://api.openaire.eu/search/publications?format=json&page={pageno}&size=10&title={query}
433
+    results_query : response/results/result
434
+    url_query : metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
435
+    title_query : metadata/oaf:entity/oaf:result/title/$
436
+    content_query : metadata/oaf:entity/oaf:result/description/$
437
+    categories : science
438
+    shortcut : oap
428
     timeout: 5.0
439
     timeout: 5.0
429
 
440
 
430
   - name : openstreetmap
441
   - name : openstreetmap