I'm feeling fairly virtuous at the moment, having spent much of yesterday in Perl God mode doing some work for restrictedsection.org - this time working towards replacing much of the backend of the fic database, and there will also be the search functionality to redo and I'll need to revisit my earlier code for the fics-by-author page. All in all, probably another weekend or two's work to get it finished. This evening, I've finally got around to doing some (fairly minimal) design work on t00b.net
Had some fun playing around with Server Side Includes for the new design - I'm using constant headers and footers except for the page title and table width, so it makes sense to move these bits into included files. What I hadn't been able to do before is have these variations of title etc, but thanks to the Apache docs I've discovered the joy of SSI variables. Sample page:
<!--#set var="title" value="t00b.net" --> <!--#set var="width" value="300" --> <!--#include virtual="/header.html" --> Content... <!--#include virtual="/footer.html" -->
Where Content is what appears in the central pane of the page. The two set var commands are varied as needed for each page. The footer is just straight html, but the header starts like this:
<html> <head> <title><!--#echo var="title" --></title> </head> <body bgcolor="#FFFFFF"> <table width="100%" height="100%"><tr valign="middle"><td align="center"> <table width="<!--#echo var="width" -->" border="0" cellpadding="0" cellspacing="0">
And you can see where the two variables set in the main file are then used in the included one. Nifty!
Oh, plus hermorrine and I sorted out details for Nimbus and related holidaying last night, so feeling bouncy about that too.
March 10 2003, 14:07:12 UTC 18 years ago
March 10 2003, 16:32:18 UTC 18 years ago
March 10 2003, 16:51:14 UTC 18 years ago
That SSI stuff rules. *thinks about doing something like this to the RS.org templates*
Hmmm.. We need to talk about that script stuff sometime. There are a few things we might be able to add in there to reduce the uploaders workload a bit. *takes shamelessly advantage of your Perl God mode*
March 11 2003, 00:22:18 UTC 18 years ago
http://visar.rigby-jones.net/rs/manage.cgi