Commit cda472de authored by delanoe's avatar delanoe

Adding ISIDORE and precision for REPEC

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