pkp / ots

PKP XML Parsing Service
GNU General Public License v3.0
32 stars 19 forks source link

Default to APA Citation style if none is provided #132

Closed axfelix closed 6 years ago

axfelix commented 6 years ago

For simplicity's sake, especially when using batch conversion with the OJS plugin, we should allow users to post to our API without specifying a citation style, and automatically select a default for them rather than throwing an error.

My choice is to use APA for this, which is currently tied to the hash 3f0f7fede090f24cc71b7281073996be -- however, I'm not sure if the hashes will change when the CSL registry updates, so we might need to alias APA to an arbitrary value (like 1) if we're going to hardcode this behaviour.

kaschioudi commented 6 years ago

@axfelix : here's the PR https://github.com/pkp/ots/pull/133