Playing with Debian

Saturday, 16th February 2008 at 01:27am

URL structures for AyTwo blogs (like this one)

Note: At the moment, FCKEditior that I use as my rich text editor seems to like to rewrite the URLs I give it however it wants to. As a result, the /blog/ part of the URL is missed off a couple links so instead of going to http://trinity.allroundnews.co.uk/blog/2008/02/13/Debian-cheat-sheet/  you end up going to http://trinity.allroundnews.co.uk/2008/02/13/Debian-cheat-sheet/ which obviously isn't this blog. Fortunately though, I don't have any /2008/ directories (or any others for that fact), so I've set up a rewrite rule to fix it for the moment. That doesn't mean much to you guys though, since you won't see a difference.

I wanted to come and let you know about the various URL structures you can have with this blog (and indeed any other blog that happens to be running AyTwo successfully – which is none at the moment).

First is the standard URL which is /blog/; that gets you to the landing page for this blog. On it you'll see all the most recent posts that have been made, just like you'd expect.

The next type of URL you'll be using a lot is that which goes to an individual post, like this: /blog/2008/02/15/Use-WinSCP-for-file-transfer-not-FTP/. Obviously, it's made up of the title of the post, in a URL safe fashion, along with the date that it was posted in a /YYYY/MM/DD format.

You can also just get rid of the post title, and you'll see all the post that happened on the 15th February, 2008. Get rid of the day and you'll see all the posts that occurred in that month. And the same with the year, shockingly.

A different format of URL is the way we look at tags. The date mode and tags mode can't be mixed up yet, so don't try it. Bad things will happen, in the same way as bad things happen to you if you google Google and break the internet. The tags format is simple: /blog/tags;Windows-applications/. Just the word tags; followed by the tags you like. (I decided to use semi-colon because Windows machines break if you use a colon.) You can comma separate (no space though) different tags if you like. For instance, if you want to see all the entries about commands and terminology, you'd use the URL like this: /blog/tags;Commands,Terminology/.

Last for the moment, is the skip URL. Add /skip;10/ to any URL if you want to skip the first ten entries. This can be used with the other URL formats.

Comments

Your name: Your URL:

Body:

Read some previous entries