Commit 053d0011 authored by delanoe's avatar delanoe

Merge branch 'testing' into stable

parents 7531f186 98a7089e
from django.conf.urls import patterns, url from django.conf.urls import url
from annotations import views from annotations import views
......
...@@ -184,7 +184,7 @@ def get_tagger(lang): ...@@ -184,7 +184,7 @@ def get_tagger(lang):
RESOURCETYPES = [ RESOURCETYPES = [
{ "type":1, { "type": 1,
'name': 'Europresse', 'name': 'Europresse',
'format': 'Europresse', 'format': 'Europresse',
'parser': "EuropresseParser", 'parser': "EuropresseParser",
...@@ -205,14 +205,14 @@ RESOURCETYPES = [ ...@@ -205,14 +205,14 @@ RESOURCETYPES = [
'file_formats':["zip", "xml"], 'file_formats':["zip", "xml"],
'crawler': "PubmedCrawler", 'crawler': "PubmedCrawler",
}, },
{ 'type':4, { 'type': 4,
'name': 'Scopus [RIS]', 'name': 'Scopus [RIS]',
'format': 'RIS', 'format': 'RIS',
'parser': "RISParser", 'parser': "RISParser",
'file_formats':["zip", "txt"], 'file_formats':["zip", "txt"],
'crawler': None, 'crawler': None,
}, },
{ 'type':5, { 'type': 5,
'name': 'Web of Science [ISI]', 'name': 'Web of Science [ISI]',
'format': 'ISI', 'format': 'ISI',
'parser': "ISIParser", 'parser': "ISIParser",
...@@ -220,14 +220,14 @@ RESOURCETYPES = [ ...@@ -220,14 +220,14 @@ RESOURCETYPES = [
#'crawler': "ISICrawler", #'crawler': "ISICrawler",
'crawler': None, 'crawler': None,
}, },
{ 'type':6, { 'type': 6,
'name': 'Zotero [RIS]', 'name': 'Zotero [RIS]',
'format': 'RIS', 'format': 'RIS',
'parser': 'RISParser', 'parser': 'RISParser',
'file_formats':["zip", "ris", "txt"], 'file_formats':["zip", "ris", "txt"],
'crawler': None, 'crawler': None,
}, },
{ 'type':7, { 'type': 7,
'name': 'CSV', 'name': 'CSV',
'format': 'CSV', 'format': 'CSV',
'parser': 'CSVParser', 'parser': 'CSVParser',
...@@ -241,14 +241,14 @@ RESOURCETYPES = [ ...@@ -241,14 +241,14 @@ RESOURCETYPES = [
'file_formats':["zip", "txt"], 'file_formats':["zip", "txt"],
'crawler': None, 'crawler': None,
}, },
{ "type":9, { "type": 9,
"name": 'SCOAP [XML]', "name": 'SCOAP [XML]',
"parser": "CernParser", "parser": "CernParser",
"format": 'MARC21', "format": 'MARC21',
'file_formats':["zip","xml"], 'file_formats':["zip","xml"],
"crawler": "CernCrawler", "crawler": "CernCrawler",
}, },
{ "type":10, { "type": 10,
"name": 'REPEC [RIS]', "name": 'REPEC [RIS]',
"parser": "RISParser", "parser": "RISParser",
"format": 'RIS', "format": 'RIS',
......
...@@ -23,7 +23,7 @@ class ISTexParser(Parser): ...@@ -23,7 +23,7 @@ class ISTexParser(Parser):
"abstract" : 'abstract', "abstract" : 'abstract',
# "authors" : 'author', # "authors" : 'author',
"authorsRAW" : 'author', "authorsRAW" : 'author',
"keywords" : "keywords" #"keywords" : "keywords"
} }
suma = 0 suma = 0
......
...@@ -82,7 +82,7 @@ def compute_graph( corpus_id=None , cooc_id=None ...@@ -82,7 +82,7 @@ def compute_graph( corpus_id=None , cooc_id=None
print("GRAPH #%d ... Notify by email owner of the graph." % cooc_id) print("GRAPH #%d ... Notify by email owner of the graph." % cooc_id)
corpus = session.query(Node).filter(Node.id==corpus_id).first() corpus = session.query(Node).filter(Node.id==corpus_id).first()
notify_owner(corpus, cooc_id, distance, bridgeness) #notify_owner(corpus, cooc_id, distance, bridgeness)
print("GRAPH #%d ... Returning data as json." % cooc_id) print("GRAPH #%d ... Returning data as json." % cooc_id)
return data return data
......
from django.conf.urls import patterns, url from django.conf.urls import url
# Module "Graph Explorer" # Module "Graph Explorer"
from graph.rest import Graph from graph.rest import Graph
......
...@@ -367,7 +367,7 @@ ...@@ -367,7 +367,7 @@
<p> <p>
Gargantext Gargantext
<span class="glyphicon glyphicon-registration-mark" aria-hidden="true"></span> <span class="glyphicon glyphicon-registration-mark" aria-hidden="true"></span>
, version 3.0.6.4, , version 3.0.6.5,
<a href="http://www.cnrs.fr" target="blank" title="Institution that enables this project."> <a href="http://www.cnrs.fr" target="blank" title="Institution that enables this project.">
Copyrights Copyrights
<span class="glyphicon glyphicon-copyright-mark" aria-hidden="true"></span> <span class="glyphicon glyphicon-copyright-mark" aria-hidden="true"></span>
......
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