Uploading a new style?
Hello,
I've managed to update a style to conform to the standards of "African Zoology" (thanks to some help from wonderful people here), tested it, and validated it using csl-validator.js
It all seems to work fine, but I can't seem to install the file. Whether I do it by dropping the csl file in an open Firefox window, or go through Zotero itself (add new style), it doesn't seem to recognize my file as a valid "style" file. The message is that the file "does not appear to be a style file". I created the file on my Mac, saving it as a .csl file in TextEdit. Below are the first few lines (mostly copied from another style:
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
<info>
<title>African Zoology</title>
<id>http://www.zotero.org/styles/African-zoology</id>
<link href="http://www.zotero.org/styles/african-zoology" rel="self"/>
<author>
<name>Aliza le Roux</name>
</author>
<contributor>
<name>Aliza le Roux</name>
</contributor>
<category citation-format="author-date"/>
<issn>0266-4674</issn>
<issn>1469-7831</issn>
<updated>2013-01-21T01:58:08+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
Can anyone advise me on what may have gone wrong? I'd also love to add this to the style repository, but think something must have gone wrong in my saving/ coding process.
Thanks a lot!
Aliza
I've managed to update a style to conform to the standards of "African Zoology" (thanks to some help from wonderful people here), tested it, and validated it using csl-validator.js
It all seems to work fine, but I can't seem to install the file. Whether I do it by dropping the csl file in an open Firefox window, or go through Zotero itself (add new style), it doesn't seem to recognize my file as a valid "style" file. The message is that the file "does not appear to be a style file". I created the file on my Mac, saving it as a .csl file in TextEdit. Below are the first few lines (mostly copied from another style:
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
<info>
<title>African Zoology</title>
<id>http://www.zotero.org/styles/African-zoology</id>
<link href="http://www.zotero.org/styles/african-zoology" rel="self"/>
<author>
<name>Aliza le Roux</name>
</author>
<contributor>
<name>Aliza le Roux</name>
</contributor>
<category citation-format="author-date"/>
<issn>0266-4674</issn>
<issn>1469-7831</issn>
<updated>2013-01-21T01:58:08+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
Can anyone advise me on what may have gone wrong? I'd also love to add this to the style repository, but think something must have gone wrong in my saving/ coding process.
Thanks a lot!
Aliza
Can you post it as a public gist here (and provide the link)?
I've posted it as a public gist here:
https://gist.github.com/4597474
Thanks!
https://gist.github.com/raw/4597474/9262cda0211361add6368c5bf6a3b2f913344d53/gistfile1.txt
right-click --save link as... --> and then save as african-zoology.csl
without going through TextEdit - this should really work.
If you submit corrections or additions to the style in the future, please always work with the most recent copy from the style repository, as we frequently adjust the formatting of styles.
Thank you for contributing!