Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
cda472de
Commit
cda472de
authored
May 18, 2017
by
delanoe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding ISIDORE and precision for REPEC
parent
c9faf1e7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
constants.py
gargantext/constants.py
+11
-3
bool2sparql.py
gargantext/util/crawlers/bool2sparql.py
+0
-0
sparql.py
gargantext/util/crawlers/sparql/sparql.py
+0
-0
No files found.
gargantext/constants.py
View file @
cda472de
...
@@ -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
]
...
...
moissonneu
rs/bool2sparql.py
→
gargantext/util/crawle
rs/bool2sparql.py
View file @
cda472de
File moved
moissonneurs
/sparql.py
→
gargantext/util/crawlers/sparql
/sparql.py
View file @
cda472de
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment