Hello! I have written some code that pulls bibtex data from Crossref/doi.org using the API. It’s great! However, recently (in the past 2 months?) it seems the return format has changed. Previously, strings returned were punctuated with newline and tab characters like this:
' @article{Famiglietti_2014, \n\ttitle={The global groundwater crisis}, \n\tvolume={4}, \n\tISSN={1758-6798}, \n\turl={http://dx.doi.org/10.1038/nclimate2425}, \n\tDOI={10.1038/nclimate2425}, \n\tnumber={11},' ...
however, when I pulled the same record yesterday, buth the tab and newlines were gone:
' @article{Famiglietti_2014, title={The global groundwater crisis}, volume={4}, ISSN={1758-6798}, url={http://dx.doi.org/10.1038/nclimate2425}, DOI={10.1038/nclimate2425}, number={11},' ...
This has a couple ramifications: first, I was parsing the strings using the newline characters and now that fails. Second, when I write the string into a file, the record ends up on a single line which is cumbersome for users.
Can anyone point me to documentation about how the bibtex strings are returned or at least advise if this format is likely to change again? I can rewrite my parser to handle this, but would prefer the old format as parsing into lines requires some pretty involved logic.
Many thanks!