Re: years and categories (was Odd error in wbgwiki.py with numeric only directories)
Blake Winton <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
Steve Hoelzer wrote: > 1. /archive/2002/dev/2003 , or > <snip> > 4. /archive/2002/entries/dev/2003 . (This last one is to get around > a root directory named "07"...) > <snip> > How does option 1 restrict the top-level dir name but not option 4? Is > it because "entries" is a special word to trigger filtering? Yup. Specifically, for option 1, what does the path /archive/2002/07 refer to? The archive of the entire site for July 2002, or the archive for the directory named for all of 2002? > 1. The main outstanding issue is that I don't know if people are really > interested in changing this. > I'm interested. Nice work. Cool, thanks. > Another option would be to support filtering on any path by appending > date and path arguments. Here are some examples of what I mean. All > three of these URLs would point to the same subset of entries: I didn't really want to go down the ?-parameter route... I'm not entirely sure why, other than I think it looks kind of ugly. Any other opinions? Will? > Doing something dumb like > url.com/2006?date=2007 <http://url.com/2006?date=2007> > would filter out everything and not return any entries. That's the users > problem. > > After typing this up, I realize that it doesn't address the issue of > wanting to allow a path with a four digit number. I guess I support the > idea of (optionally) disabling the year/ and year/month/ indexes or > moving them to some prefixed path like archives/2007/ That's pretty much what I'm suggesting, except without the "(optionally)". :) Later, Blake. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/