When I tried to port my wordpress blog to toto, the url format became a problem for me, where all my urls ended with .html and toto (as I believed) didn't support custom urls. So I changed the path in such a way that it can have any extensions
Added additional property for url suffix in config class.
Added url suffix option in config and updated articles listing paths
Added new class
Updated with date changes
taking date format from config
Removed debugging sttmnts
why not use 301 redirections instead?
ofcourse that will do. what I sould suggest is to have bit more flexible url, to support the url scheme of user's choice. Does that make sense ?
I agree, flexible url scheme is a good idea.
I was thinking of adding the whole url pattern in config instead of just parts of it, so that we can have url of any kind and other blogs can be ported to toto without any problem.
yes. I believe it should be possible to allow specify segments like /:year/:month/:day/:slug.html
the only problem in "moving" from other blogging software is that basically each post in toto is identified exactly by date and slug, so you don't have as much falexibility as you might want to have :))
I see. In my case the url scheme was /:year/:month/:slug.html and I made it possible by just changing the file name :). anyway I should appreciate the way it is now
Removed routing classes
Added categories and tagcloud in index and article
Added categories, tags and custom routes for them
Fixed some bugs in categories and tagcloud
Add merge request from original TOTO: Added url suffix option #102