How to migrate custom styles from URL/Mendeley
Hi there - I'm in the process of migrating many libraries to Zotero from Mendeley and each group has their own custom style they prefer. My question is, how can I take the style information located via URL, which is how Mendeley prefers the input, (such as https://csl.mendeley.com/styles/535553551/apa) and turn that into a csl file that I can then install in Zotero? I've done a decent amount of searching to find a solution and am finally giving in to ask you directly. Thanks a lot!
Zotero doesn't like the csl.mendeley links as style IDs, though,* so you need to open the file in a text editor and replace that with something else -- it doesn't need to be a URL that actually exists, but could e.g. be
<id>http://zotero.org/styles/535553551</id>
or something more meaningful after the last slash -- it really doesn't matter.For distributing them, if you host the file on github, you can just point people at the raw link and Zotero will automatically prompt users to install it when they click the link.
* @dstillman -- any reason for that? Fails with
[JavaScript Error: "_styles is not iterable" {file: "chrome://zotero/content/xpcom/style.js" line: 387}]