couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Caolan McMahon <caolan.mcma...@gmail.com>
Subject Re: workaround for url rewrite formatting
Date Tue, 07 Jun 2011 20:11:17 GMT
> {
>    "from":"/<year>-<month>-<day>",
>    "to": "_show/calendar/<year>:<month>:<day>"
> }

I just tested out exactly this rewrite in CouchDB 1.1.0 and it fails
to match the URL "/2011-06-07". I've implemented a client-side version
of this rewriter in Kanso (http://kansojs.org) that works, but there's
not much point me pushing it until it also works on CouchDB.

Has anybody got this working?

Caolan

Mime
View raw message