Skip to content

settle on new base uri for styles, update ids accordingly #2

Open
bdarcus opened this Issue Mar 1, 2011 · 9 comments

3 participants

@bdarcus
Citation Style Language member
bdarcus commented Mar 1, 2011

Right now, styles have a base uri of http://zotero.org/styles. We need to change that to a more generic like http://citationstyles.org/styles/.

A separate question is whether we want to serve files directly from github, either using the github base uri, or some sort of indirection (cnames, or whatever).

@rmzelle
Citation Style Language member
rmzelle commented Mar 1, 2011

Shouldn't we wait for this until we can actually serve the styles via those URIs?

@bdarcus
Citation Style Language member
bdarcus commented Mar 1, 2011

Sure. I have no timeline on it; just want to note it's something we need to resolve at some point.

@bdarcus
Citation Style Language member
bdarcus commented Mar 7, 2011

A thought: if it would help smooth transition, we could add a new link rel value of something like "samas"?

<id>http://citationstyles.org/styles/apa.csl</id>
<link rel="samas" href="http://zotero.org/styles/apa.csl"/>
@rmzelle
Citation Style Language member
rmzelle commented Mar 7, 2011

Should that be "sameas"? We could, but it wouldn't validate against the CSL 1.0 schema.

@bdarcus
Citation Style Language member
bdarcus commented Mar 7, 2011

Yes to both. But effectively that schema change is to make things easier for Mendeley and Zotero, in particular. So I don't think we should add it at all unless they really want it.

@cparnot
cparnot commented Mar 26, 2011

Hi, Charles from mekentosj here. From our perspective, this kind of one-time change, even though it requires a bit of work, it's not a huge deal. It's just a matter of a few extra lines of code to treat zotero.org specially. The issue is only potentially when an old 'zotero.org' style can be confused with a new 'zotero.org' style, and decide wether that should be considered a 'citationsstyles.org' style or interpreted as really a zotero.org style (not sure if that's clear). Best would be to make the transition at the same time as a csl version change, so we could empirically rely on the version, without the need for an extra id property in the schema.

@bdarcus
Citation Style Language member
bdarcus commented Mar 26, 2011

The suggestion on my March 7 comment is a way to account for id changes.

But the reason we're talking about this, to fill in some context, is a desire to move style hosting to an independent site, and to build up additional functionality there, such as the in-development WYSIWYG editor:

https://bitbucket.org/csledit/csl-wysiwyg-editor

I'm still holding back on implementing this while we work out the details.

@rmzelle
Citation Style Language member
rmzelle commented Apr 1, 2011

Styles that exist in multiple repositories don't necessary have to be in sync, so "alternate" might be a better value for rel than "sameas" (see also http://www.atomenabled.org/developers/syndication/atom-format-spec.php#rel_attribute ). E.g.:

<id>http://citationstyles.org/styles/apa</id>
<link href="http://citationstyles.org/styles/1.0/apa" rel="self"/>
<link href="http://www.zotero.org/styles/1.0/apa" rel="alternate"/>

Somewhat related, I'm wondering if it wouldn't be better if the links included the ".csl" extension.

@bdarcus
Citation Style Language member
bdarcus commented Apr 1, 2011

I think the original idea was we could do content negotiation such that a web browser requesting the URI would get an HTML page, while a reference manager would get the CSL XML. But that may indeed be too clever, and we could always include both links explicitly.

@grolimur grolimur pushed a commit to grolimur/styles that referenced this issue May 3, 2013
grolimur Update iso690-author-date-en.csl
Submission #2:
Delete ANON. for documents with no author (bibliogaphy sorted by title).
Small bug fixes on some fields display.
4469beb
@grolimur grolimur pushed a commit to grolimur/styles that referenced this issue May 3, 2013
grolimur Update iso690-author-date-fr.csl
Submission #2:
Delete ANON. for documents with no author (bibliogaphy sorted by title).
Small bug fixes on some fields display.
908f535
@grolimur grolimur pushed a commit to grolimur/styles that referenced this issue May 3, 2013
grolimur Update iso690-numeric-en.csl
Submission #2:
Delete ANON. for documents with no author (bibliogaphy sorted by title).
Small bug fixes on some fields display.
43dafec
@grolimur grolimur pushed a commit to grolimur/styles that referenced this issue May 3, 2013
grolimur Update iso690-numeric-fr.csl
Submission #2:
Delete ANON. for documents with no author.
Small bug fixes on some fields display.
743e23a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.