Dark Light

Aquarionics now supports filtering. Actually, it’s part of a major rewrite of the database access logic, which will now stop people trying to grab every entry since I started on one page, I really should do a thing on the various ways of getting at Aquarionics URLs, because it’s one of the points of the system I’m most pleased with.

Basically, there are a number of keywords: since, to/from, id, limit, and date and now filter as well. So to get all the entries posted on 11/09/2001, for example, I would link to the url “http://www.aquarionics.com/index.php?date=2001-09-11” (note ISO standard date format). To get a specific diary entry I use the ID tag, the same way that the date at the top of all the posts does. Post 404 would be got at the URL http://www.aquarionics.com/index.php?id=404.

Also, you could grab all the entries written between May 13th and 15th at http://www.aquarionics.com/index.php?from=2001-05-13&to=2001-05-15. Neat, isn’t it? On top of that is since, for all entries since a date, as linked to on the right hand side for the beginning of every month. Over all that is limit, which can be placed at the end of any constructed URL to place a maximum on the number of records. This has a hard limit now 🙂

Finally is the newest addition, that of filter. Filter sets what is displayed on the front page. Why is this important? Because Aquarionics is changing. I’ve decided to split off the journal from the more “weblog” aspects, because the people – like my family – who want to know how I’m doing are mostly seperate from those who might come in the future for my leet coding skillz. It defaults to “aquarionics-weblog-sitewide”, although since I don’t have any weblog entries yet (save one test which I will delete) only the diary will be shown at the moment 🙂

Still to come is a minor modification of the comments system to enable lonecat to get personal comments and so that the comments page is consistant with whatever part of the site you entered it from…

Related Posts


Table of Contents Hide FictionComputingUniversityOutside Feeling bloggy, so an update for you. The entry below was written this…

Fastest Bun

Today I: Fixed the broken DNS settings for aquarionics.com (www.aquarionics.com and variousotherthings.aquarionics.com were fine, but aquarionics.com (as in…