Keith Devens .com |
Wednesday, November 19, 2008 | ![]() |
| The direct pursuit of happiness is a recipe for an unhappy life. – Donald Campbell | ||
|
| ← No wonder I haven't been getting referrers! | Understanding LDAP → |

M. Bean wrote:
Capz (http://capzilla.net/) wrote:
I'd go for
/weblog/archive/2002/1/25/ as well, that's how I would (and when I feel like coding will) do it.
Scott Johnson (http://radio.weblogs.com/0103807/) wrote:
Just as an fyi, I get a missing template error on the year archives and the /rss didn't work on the category archives.
Yup -- I wanted Feedster to woop up multiple years of Keith and add it to the archive.
Best
Scott
Keith (http://www.keithdevens.com/) wrote:
Hmm. Matt, my current daily archives are things like /weblog/2003-03-20. That has symmetry with individual posts /weblog/3612. Arguably I should have the date in the post URL though. Do you think the URLs for my posts should be changed to /weblog/archive/3612? Or /weblog/archive/2003/03/20/3612? What about the category pages? /weblog/archive/category/6? I'll have to think more. Thanks for the suggestion.
Scott, the URLs don't work because I haven't implemented it yet.
I'm asking questions first.
Scott Johnson (http://radio.weblogs.com/0103807/) wrote:
Ah... Well I think the idea is very good. Clean and simple. I like that.
Personally I might pad the /1/ to /01/ but that's coz I link stuff to line up. No big.
Sparticus (http://www.iamsparticus.co.uk) wrote:
I think that you shouldn't have links like category/6 but instead category/politics or category/coding. That way it'll google a lot better.
For what it's worth I like the idea of weblog/archive/2002/11/3/index.php for your daily archives because it does build naturally and then for your individual pages weblog/archive/2002/11/3/post_title.php so it'll google well.
M. Bean wrote:
for categories, I'd say /weblog/category/1/ or /weblog/archive/category/1/ -- either would make sense to me.
as for the posts themselves, I'd put them in the context of days, numbered as posts per day.... so the first post on january 30 2001 would be /weblog/archive/2001/1/30/0/ (yes, I'm c-centric, but you get the idea)... and yes, I also realize this is harder to code for, but it makes more sense to me from a design standpoint.
As for padding with leading 0's, I like that too, it looks prettier that way...
Keith (http://www.keithdevens.com/) wrote:
I'm considering something like /weblog/2003/mar/21. More readable? Should it be /weblog/2003/MAR/21 or /weblog/2003/Mar/21? I think I like initial uppercase better.
So, I may want to do date-based archives like that and leave post URLs alone for now. I think the /archive part of the URL adds nothing information wise and just makes the URL longer. On the other hand, there's a conflict between that and my current URL scheme for posts. /weblog/2000 would stand for both the 2000'th entry and the summary for the year 2000. Plus, particularly in the case of the year, the /archive part of the URL makes it clearer that the number represents the year. Once you stick a month on there /weblog/2000/Nov/, I don't think it can get much clearer. But are the month names too English centric? 
I'm still not sure what I'm going to do, so I'm going to leave it alone for now and work on other stuff for my CMS.
Keith (http://www.keithdevens.com/) wrote:
So... for date based archives, I may just switch over to either /weblog/archive/2003/Mar/21 or /weblog/archive/2003/03/21. If anyone prefers one over the other, please make yourself heard 
I'll leave individual posts what they are now. I like the short and simple URLs. I can leave the possibility of doing posts within the day as /weblog/archive/2003/Mar/21/03 (or /weblog/archive/2003/Mar/21/post/5 or something) open for later.
The main question I have is how the heck I should do categories. The thing is, each category is essentially its own weblog. It's unacceptible to just dump all the posts ever in a given category out at once -- right now I just display the n most recent posts (and right now I forget what n is). So I need some way to organize posts within a category as well.
Feel free to post a comment below. Please see my comment policy.
Formatting Rules (No HTML):
Generated in about 0.197s.
(Used 8 db queries)

/weblog/archive/2002/
this is because you can have a nice easy setup, if the above is your yearly archive, you can make your monthly archive along the lines of:
/weblog/archive/2002/1/
/weblog/archive/2002/2/
for January and February, respectively... then the archive for each day naturally builds on that:
/weblog/archive/2002/1/25/
for Jan 25, 2002's archive.