cite-architecture / citeobj

Collections of citable objects
1 stars 0 forks source link

~~ on range-URN for ordered collection? #33

Closed Eumaeus closed 7 years ago

Eumaeus commented 7 years ago

In OHCO2, something like this works:

corpus ~~ CtsUrn("urn:cts:greekLit:tlg0012.tlg001.msA:1.1-1.10")

I don't think this is currently implemented:

citeRepository.collectionData ~~ Cite2Urn("urn:cite2:hmt:msA.v1:1r-2v")

…which could yield a citeRepository whose collectionData contains four Objects.

Since we have indexOf and citableObject it would not be hard to do this client-side. But this might prove convenient in the service.

(My apologies if this is already in place, and I missed it on my first evening's reading of the API.)

neelsmith commented 7 years ago

good idea. will implement this.

neelsmith commented 7 years ago

done