4 ms·
Here is a real URN which is also a good example of what you’d use a URN for - urn:isbn:9780133488838 - that’s one of the volumes of Knuth’s TAOCP
by skissane 2y ago
Here is a real URN which is also a good example of what you’d use a URN for - urn:isbn:9780133488838 - that’s one of the volumes of Knuth’s TAOCP
- tolerance 2y agoThank you. Most examples of URNs that I've found use ISBNs to convey their use. I just wish that there was more information out there about use cases. This post's article does make a good reference to one that I found interesting though.
- jdougan 2y agoThe RFC for a URN scheme for federated content: https://www.rfc-editor.org/rfc/rfc4198 https://www.rfc-editor.org/rfc/rfc4198 I ended up using this for XML namespaces.
- sham1 2y agoAlso somewhat relatedly, XMPP tends to use URNs for the XML namespaces af the various stanzas, which in turn define the various parts of the IM message or what have you.
- gorgoiler 2y agoIt’s hard to imagine URNs without a DNS based namespace to back up the universality part of it. urn:catalogue.isbn.org:1234 You could use a URL for information about the book as the URN for the book itself? Or is that “bad” because in 25 years we might not use either https or DNS? https://isbn.org/catalogue/1234 If the URN is a kind of type prefix for an otherwise meaningless number, are we supposed to use these inline / Hungarian notation types everywhere the number is used?: https://amazon.com/books/urn:isbn:1234/purchase
- immibis 2y agoThis is how XML namespaces work. They're URLs, but they identify resources rather than locating them. Often, conventionally, some information about the identified thing also happens to exist at the URL.