Commit b62ce7f5 authored by c24b's avatar c24b

Referencing CERN into website

parent fd2a242e
...@@ -123,7 +123,7 @@ LANGUAGES = { ...@@ -123,7 +123,7 @@ LANGUAGES = {
from gargantext.util.parsers import \ from gargantext.util.parsers import \
EuropressParser, RISParser, PubmedParser, ISIParser, CSVParser, ISTexParser EuropressParser, RISParser, PubmedParser, ISIParser, CSVParser, ISTexParser, CernParser
def resourcetype(name): def resourcetype(name):
''' '''
...@@ -195,8 +195,8 @@ RESOURCETYPES = [ ...@@ -195,8 +195,8 @@ RESOURCETYPES = [
}, },
# type 10 # type 10
{ "name": 'CERN', { "name": 'CERN',
"parser": CERNParser, "parser": CERNParser,
"default_language": "en", "default_language": "en",
}, },
] ]
......
...@@ -145,7 +145,8 @@ API_TOKENS = [ ...@@ -145,7 +145,8 @@ API_TOKENS = [
{ "CERN": { { "CERN": {
"APIKEY":'b8514451-82d1-408e-a855-56d342a0b5f8', "APIKEY":'b8514451-82d1-408e-a855-56d342a0b5f8',
"APISECRET":'6680b13e-2b5a-4fba-8c0e-408884d5b904', "APISECRET":'6680b13e-2b5a-4fba-8c0e-408884d5b904',
}, }
},
] ]
# Internationalization # Internationalization
# https://docs.djangoproject.com/en/1.9/topics/i18n/ # https://docs.djangoproject.com/en/1.9/topics/i18n/
......
...@@ -9,4 +9,4 @@ from .Europress import EuropressParser ...@@ -9,4 +9,4 @@ from .Europress import EuropressParser
from .ISTex import ISTexParser from .ISTex import ISTexParser
from .CSV import CSVParser from .CSV import CSVParser
#from .CERN import CernParser from .CERN import CernParser
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment