[ckan-dev] dataset urls

Rufus Pollock rufus.pollock at okfn.org
Wed Apr 25 14:25:36 UTC 2012


On 25 April 2012 14:51, David Raznick <kindly at gmail.com> wrote:
>
>
> On Wed, Apr 25, 2012 at 1:19 PM, Toby Dacre <toby.okfn at gmail.com> wrote:
>>
>> As a compromise that allows us both nice urls and permanent urls
>>
>> non-permanent urls as currently
>>
>> /dataset/my-nice-name
>>
>> permanent urls have an extra piece of info that would be fixed for a
>> dataset
>>
>> /dataset/~a4fG2
>> /dataset/~a4fG2/my-nice-name <- name bit optional and can be anything
>>
>> using a-z A-Z 0-9 -_ we have 64 chars so 5 letters gives us 1,073,741,824
>> combinations which should do
>>
>> This would allow not too ugly permanent urls.
>>
>>
>> 1) Would these be acceptable?
>
>
> +1
>
>>
>>
>> 2) If so, where would we use which?
>
>
> For the moment anywhere where we give out our url to a third party service
> including discus and the social stuff.   We can make the default in the url
> bar be the non permanent one, but would be nice when adding a bookmark to
> somehow force in the perminant one.

Agreed. (We could also always redirect from the less nice to the nice
one but that's for later ...)

rufus




More information about the ckan-dev mailing list