xurizaemon / legolas

take the legislation, make a conversation
2 stars 3 forks source link

Citeable URIs #14

Open kayakr opened 9 years ago

kayakr commented 9 years ago

legislation.govt.nz has nasty URLs that appear to expose implementation of current publishing system.

e.g. the 1991 RMA is at http://legislation.govt.nz/act/public/1991/0069/latest/DLM230265.html

Instead it would be great to demonstrate more human-usable URls as well as more citeable ones. e.g. http://legislation.govt.nz/act/public/1991/rma

See, for example, http://www.legislation.gov.uk/developer/uris

Further, it would be great if one could cite the specific section of a law. Right now, to reference part 2 of the RMA, the URL is http://legislation.govt.nz/act/public/1991/0069/latest/DLM231904.html but it could be http://legislation.govt.nz/act/public/1991/rma/part/2 that would be both machine & human understandable.

Referencing 6(d) of the RMA: now: http://legislation.govt.nz/act/public/1991/0069/latest/DLM231907.html later: http://legislation.govt.nz/act/public/1991/rma/6(d)