Skip to content

Commit fe289b6

Browse files
egabancholudmilamarian
authored andcommitted
Merge pull request #191 from switowski/2016-09-19-bibsword-module
Updated version of bibsword module
2 parents 420487c + 86fc928 commit fe289b6

19 files changed

+6234
-5666
lines changed

configure.ac

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,7 @@ AC_CONFIG_FILES([config.nice \
775775
modules/bibsword/doc/admin/Makefile \
776776
modules/bibsword/doc/hacking/Makefile \
777777
modules/bibsword/lib/Makefile \
778+
modules/bibsword/lib/client_servers/Makefile \
778779
modules/bibsword/etc/Makefile \
779780
modules/bibupload/bin/Makefile \
780781
modules/bibupload/bin/bibupload \

modules/bibformat/lib/elements/bfe_sword_push.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,12 @@ def format_element(bfo, remote_server_id, link_label="Push via Sword"):
3838
return ""
3939

4040
sword_arguments = {'ln': bfo.lang,
41-
'recid': bfo.recID}
41+
'record_id': bfo.recID}
4242

4343
if remote_server_id:
44-
sword_arguments['id_remote_server'] = remote_server_id
45-
else:
46-
sword_arguments['status'] = 'select_server'
44+
sword_arguments['server_id'] = remote_server_id
4745

48-
return create_html_link(CFG_BASE_URL + '/bibsword',
46+
return create_html_link(CFG_BASE_URL + '/sword_client/submit',
4947
sword_arguments,
5048
link_label)
5149

modules/bibsword/lib/Makefile.am

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@
1515
# along with Invenio; if not, write to the Free Software Foundation, Inc.,
1616
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
1717

18+
SUBDIRS = client_servers
19+
1820
pylibdir = $(libdir)/python/invenio
1921

2022
pylib_DATA = bibsword_config.py \
21-
bibsword_client_dblayer.py \
22-
bibsword_client_formatter.py \
23-
bibsword_client_http.py \
2423
bibsword_client.py \
24+
bibsword_client_dblayer.py \
25+
bibsword_client_server.py \
2526
bibsword_client_templates.py \
26-
bibsword_webinterface.py \
27-
bibsword_client_tester.py
27+
bibsword_webinterface.py
2828

2929
EXTRA_DIST = $(pylib_DATA)
3030

0 commit comments

Comments
 (0)