From 879cf48b4f16d65a705e883373b983309f6f7575 Mon Sep 17 00:00:00 2001
From: c24b <c24b@protonmail.com>
Date: Fri, 29 Jul 2016 10:00:08 +0200
Subject: [PATCH] REPEC integration

---
 gargantext/constants.py | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gargantext/constants.py b/gargantext/constants.py
index c975e567..468bad29 100644
--- a/gargantext/constants.py
+++ b/gargantext/constants.py
@@ -189,7 +189,7 @@ RESOURCETYPES = [
         'name': 'Zotero [RIS]',
         'format': 'RIS',
         'parser': 'RISParser',
-        'file_formats':["zip"],
+        'file_formats':["zip", "ris", "txt"],
         'crawler': None,
         'default_languages': ['en'],
     },
@@ -218,6 +218,14 @@ RESOURCETYPES = [
         "crawler": "CernCrawler",
         'default_languages': ['en'],
    },
+   {    "type":10,
+        "name": 'REPEC [RIS]',
+        "parser": "RisParser",
+        "format": 'RIS',
+        'file_formats':["zip","ris", "txt"],
+        "crawler": None,
+        'default_languages': ['en'],
+   },
 ]
 #shortcut for resources declaration in template
 PARSERS = [(n["type"],n["name"]) for n in RESOURCETYPES if n["parser"] is not None]
-- 
2.21.0