jats_package: affiliations fix

* Adds an extra check before adding the
  affiliations to the author.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
edpsciences_package: new function get_date

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
Merge pull request #64 from GiorgosPa/edps-date

edpsciences_package: new function get_date
jats_package: fix authors aff check

Co-authored-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
global: Bibrecord dependecy removed.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
edpsciences_package: attach fulltext fix

* Modifies _attach_fulltext function to use requests.

* Removes the need for a special EDPS config in harvesting-kit.

* Fixes a typo in pos_package.

Co-authored-by Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
jats_package: empty affiliation fix

* Handles the case of empty affiliations.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
jats_package: author note fix

* Handles more than one note per author.

* Updates tests and removes tests.py which is unnecessary.

Tested-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
ftp_utils: new method

* Adds a new method to get the datestamp
  of a file.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
Merge pull request #61 from GiorgosPa/ftp-date

Ftp date
jats_package: author notes harvesting fix

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
edpsciences_package: conversion improvements

* Keeps the abstract formated in chapters.

* Seperates the author keywords in different fields.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
global: subscripts superscripts support

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
tests: add tests for minidom utils

* Strips XML output for newlines.

* Adds tests for minidom utils and amends tests where necessary
  to make the tests pass again after recent changes.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
utils: remove xml namespaces

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
utils: remove namespaces better

Co-authored-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
config: remove unnecessary warning

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
utils: collapse_initials fix

* Fix to handle more than one spaces between initials.

Signed-of-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
Merge branch 'master' of https://github.com/inspirehep/harvesting-kit