rufuspollock-okfn / bibserver

BibServer is open-source software what makes it easy to publish, manage and find bibliographies. BibServer is RESTful and web-friendly.
MIT License
126 stars 34 forks source link

RIS Parser improvement to handle lines starting with spaces #180

Closed epoz closed 12 years ago

epoz commented 12 years ago

Some records may contain fields that have values split across multiple lines in the source file. These are commonly prefixed with 1 or more space characters to indicate that they belong with the preceding line.

See: http://lists.okfn.org/pipermail/openbiblio-dev/2012-February/000618.html for the first identification of this problem.

petermr commented 12 years ago

The RIS spec wasn't very clear as to whether there had to be leading spaces (and if so how many) or simply an absence of the 6-character Regex. But we should take it as epoz specifies