There's a lot of goofy stuff in blosxom_process_path_info to handle routes I don't really care about.
Douglas should handle the following routes in this order:
plugin enabled routes
path/to/file.theme
category/ (if enabled)
yyyy/ (if enabled)
yyyy/mm/ (if enabled)
yyyy/mm/dd/ (if enabled)
And that's it.
While fixing this, we could implement a real url routing system which could clean things up significantly for Douglas and plugins (all that trigger code could go away). Alternatively, we could use an existing routing system like routes.
There's a lot of goofy stuff in
blosxom_process_path_info
to handle routes I don't really care about.Douglas should handle the following routes in this order:
And that's it.
While fixing this, we could implement a real url routing system which could clean things up significantly for Douglas and plugins (all that trigger code could go away). Alternatively, we could use an existing routing system like
routes
.