On Mon, 15 Dec 2008 18:28:03 -0800, Ashley <a...@sedition.com> wrote:

> Just a caveat that should be in the doc you end up with if not  
> possible in the code. URIs are supposed to be unique to a resource.  
> Titles of articles and pages are not (necessarily). The end user/dev  
> will have to check for duplicates against the data and append a -II  
> or -2, and so on.
> 
> -Ashley
> 

I'll go with this approach:
I use my primary key (happens to be a uuid string) and append the string
from the title.
I read just the uuid string and dismiss everything else.
This way I don't have to worry about uniqueness and have seo friendly urls
anyway.

mo

_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to