# uri, id, file names

**URL:** <https://discourse.citationstyles.org/t/uri-id-file-names/167>\
**Category:** CSL Development\
**Created:** [August 3, 2006, 2:54pm UTC](https://discourse.citationstyles.org/t/uri-id-file-names/167 "2006-08-03T14:54:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [August 3, 2006, 2:54pm UTC](https://discourse.citationstyles.org/t/uri-id-file-names/167/1 "2006-08-03T14:54:26Z")

</div>

I’m just now updating the CSL styles to conform to the new schema, and  
using that to make sure I have it right of course.

If we use the Atom content model, that means we need to include stable  
uri ids for all styles. So I think we need conventions for naming style  
titles/names, their file names, and their urls.

In the example I was playing with, I had:

 http://www.purl.org/net/xbiblio/csl/styles/apa APA 2006-07-27T04:35:20-07:00 

… but I honestly am not sure how to handle this. I just added a style  
called:

japanese\_journal\_religious\_studies.csl

… but that feels awkward.

Maybe all styles need a full name, and abbreviation, and the latter is  
used for the file name and the uri, with the subtitle field for the  
full name?

Bruce

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [August 3, 2006, 3:23pm UTC](https://discourse.citationstyles.org/t/uri-id-file-names/167/2 "2006-08-03T15:23:55Z")

</div>

> I’m trying to think of an example - all I can come up with is the  
> weblog ‘using titles in URLs’ convention, which would be something  
> like  
> [http://www.purl.org/net/xbiblio/csl/styles/japanese-journal-of-](http://www.purl.org/net/xbiblio/csl/styles/japanese-journal-of-)  
> religious-studies.csl

Yeah, that’s a possibility.

> An abbreviation would work in the URL too, as long as there aren’t  
> conflicts. Why would you put the full name in the subtitle and not the  
> title?

That’d b fine too, but I do want people to be able to use an API by  
creating a CSL object like:

```
CitationStyle("apa")

```

So there needs to be some notion of short titles (which are neither  
titles or subtitles of course!).

BTW, reminds me, we need unit tests for citeproc-py! I’d like to get  
the API right.

Bruce
