incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Vincent Liwanag <>
Subject Re: More than one URL for a single resource
Date Sat, 05 Sep 2009 07:43:47 GMT
Mainly because things that make up the URL may change. However, I need 
to maintain some unique constraint to it as well as some absolute url.


JV Liwanag

On 9/3/09 3:45 PM, Metin Akat wrote:
> Why not use the pretty url as a uuid?
> On Thu, Sep 3, 2009 at 6:13 AM, Jesse Hallett<>  wrote:
>> The simplest way to go would be to use the pretty id as the document `_id`
>> and to skip the uuid altogether.
>> On Aug 31, 2009 2:59 PM, "Jan Vincent Liwanag"<>  wrote:
>> Hi guys,
>> Is it possible for one document to redirect to another? For one resource, I
>> was hoping to have more than one URL. One would be a pretty URL (something
>> like .../blog/2009_12_1_couchdb_rocks) which points to the same content as
>> its absolute URL formed using the auto-generated uuid.
>> If this were possible, the pretty URL would also be a good way to add some
>> unique constraint to some documents - with it's 'pretty id' implementing the
>> said constraint.
>> Thanks,
>> JV Liwanag

View raw message