the videos/urls.py and stories/urls.py files should probably look more
similar than they do. This is because videos uses the date based URLs
format. We should decide whether we want to go with this format or not.
I'm leaning towards this type of URL structure:
/<app>/<model>/<object_id>/<slug>/
/videos/video/123/this-is-a-great-one/
The <object_id> bit is useful because journalists love to change their
headlines last minute, so we can't rely on it to generate links. Here the
slug is mostly there for SEO.
I don't think date based URLs that useful and somewhat of an artifact of
the blogging era that can go away. I don't think a strict date base URL
structure gets us much other than longer URLs. If someone wants to find a
particular set of stories based on date we can provide an interface for
that and the URL for that filtered index can be:
/videos/find/?year=2009
/videos/find/?keyword=monterey+bay
Original issue reported on code.google.com by mand...@gmail.com on 8 Apr 2009 at 6:40
Original issue reported on code.google.com by
mand...@gmail.com
on 8 Apr 2009 at 6:40