Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
195
Issues
195
List
Board
Labels
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
f234d327
Commit
f234d327
authored
Sep 18, 2020
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] Xml parsers
parent
c33699c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Routes.hs
src/Gargantext/API/Routes.hs
+1
-1
Wikimedia.hs
src/Gargantext/Core/Text/Corpus/Parsers/Wikimedia.hs
+1
-1
stack.yaml
stack.yaml
+1
-1
No files found.
src/Gargantext/API/Routes.hs
View file @
f234d327
...
@@ -249,7 +249,7 @@ addCorpusWithQuery :: User -> GargServer New.AddWithQuery
...
@@ -249,7 +249,7 @@ addCorpusWithQuery :: User -> GargServer New.AddWithQuery
addCorpusWithQuery
user
cid
=
do
addCorpusWithQuery
user
cid
=
do
-- TODO gargantext.ini
-- TODO gargantext.ini
-- _env <- view hasConfig
-- _env <- view hasConfig
let
limit
=
Just
100
00
let
limit
=
Just
100
serveJobsAPI
$
serveJobsAPI
$
JobFunction
(
\
q
log
->
JobFunction
(
\
q
log
->
let
let
...
...
src/Gargantext/Core/Text/Corpus/Parsers/Wikimedia.hs
View file @
f234d327
...
@@ -61,7 +61,7 @@ tagUntil name = matching (/= name)
...
@@ -61,7 +61,7 @@ tagUntil name = matching (/= name)
-- | Utility function that consumes everything but the tag given
-- | Utility function that consumes everything but the tag given
-- usefull because we have to consume every data.
-- usefull because we have to consume every data.
manyTagsUntil_
::
MonadThrow
m
=>
Name
->
ConduitT
Event
o
m
()
manyTagsUntil_
::
MonadThrow
m
=>
Name
->
ConduitT
Event
o
m
()
manyTagsUntil_
n
=
many_
(
ignoreTree
Content
(
tagUntil
n
)
ignoreAttrs
)
manyTagsUntil_
n
=
many_
(
ignoreTree
(
tagUntil
n
)
ignoreAttrs
)
manyTagsUntil_'
::
MonadThrow
m
=>
Name
->
ConduitT
Event
o
m
()
manyTagsUntil_'
::
MonadThrow
m
=>
Name
->
ConduitT
Event
o
m
()
manyTagsUntil_'
=
many_
.
ignoreEmptyTag
.
tagUntil
manyTagsUntil_'
=
many_
.
ignoreEmptyTag
.
tagUntil
...
...
stack.yaml
View file @
f234d327
...
@@ -36,7 +36,7 @@ extra-deps:
...
@@ -36,7 +36,7 @@ extra-deps:
#
#
# External API connectin to get data
# External API connectin to get data
-
git
:
https://gitlab.iscpif.fr/gargantext/crawlers/pubmed.git
-
git
:
https://gitlab.iscpif.fr/gargantext/crawlers/pubmed.git
commit
:
7e9498491f9dba5636006e15ccd4ea6124f98ff0
commit
:
dc1457a96cd80b8bfa310572db19cbb01201904e
-
git
:
https://gitlab.iscpif.fr/gargantext/crawlers/istex.git
-
git
:
https://gitlab.iscpif.fr/gargantext/crawlers/istex.git
commit
:
daeae80365250c4bd539f0a65e271f9aa37f731f
commit
:
daeae80365250c4bd539f0a65e271f9aa37f731f
-
git
:
https://gitlab.iscpif.fr/gargantext/crawlers/hal.git
-
git
:
https://gitlab.iscpif.fr/gargantext/crawlers/hal.git
...
...
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