Commit cef6161f authored by delanoe's avatar delanoe

Adding ISIDORE and precision for REPEC

parent 4b5e0672
......@@ -240,7 +240,7 @@ RESOURCETYPES = [
'crawler': None,
},
{ "type": 9,
"name": 'SCOAP [CRAWLER/XML]',
"name": 'SCOAP [API/XML]',
"parser": "CernParser",
"format": 'MARC21',
'file_formats':["zip","xml"],
......@@ -255,7 +255,7 @@ RESOURCETYPES = [
# },
#
{ "type": 10,
"name": 'REPEC [CRAWLER]',
"name": 'REPEC [MULTIVAC API]',
"parser": "MultivacParser",
"format": 'JSON',
'file_formats':["zip","json"],
......@@ -263,13 +263,21 @@ RESOURCETYPES = [
},
{ "type": 11,
"name": 'HAL [CRAWLER]',
"name": 'HAL [API]',
"parser": "HalParser",
"format": 'JSON',
'file_formats':["zip","json"],
"crawler": "HalCrawler",
},
{ "type": 12,
"name": 'ISIDORE [SPARQLE API /!\ BETA]',
"parser": "IsidoreParser",
"format": 'JSON',
'file_formats':["zip","json"],
"crawler": "IsidoreCrawler",
},
]
#shortcut for resources declaration in template
PARSERS = [(n["type"],n["name"]) for n in RESOURCETYPES if n["parser"] is not None]
......
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