dancing penguin

home page logo

[Home] [Chess] [Gallery] [Links] [Linux] [GPG Key] [eBooks]

Bruno, long time ago

Categories...
Archives...
Wed, 27 Aug 2003 Moving the site to a hosting company

If you can read this entry, it means that you are accessing my new website, which is hosted at hostitcheap.
In fact, the move will be quite painful, as their php setup is difficult to use: For instance, they use PHP-CGI instead of PHP apache module, and some functions, such as virtual() are not available. Of course, I was using virtual() everywhere!

I guess I will have some more surprises during the first days of the move...

[/technical/website] | permanent link | Google this

Thu, 31 Jul 2003 Changes in weblog

After upgrading to blosxom 2.0, I made some changes in this weblog, by:

  • Replacing my old crontab generated tree by blosxom's dynamic plugin.
  • Adding the archive plugin (the calendar list in the right column). I had to patch this one to make it XHTML 1.1 compliant.
  • Adding the paginate plugin, that gives links to next and previous pages, as well as to all available ones.
    This plugin is still buggy: The last entry in the last page is a ghost one, and it does not use the current category to compute the number of pages. This last problem is probably due to the structure of plugins itself.

I also switched my main page from Server Side Includes to a PHP one. In fact my SSI scripts were going really long, and difficult to maintain. With PHP I was able to rewrite the whole in a few lines, while still being able to fully control the page.
Eventually I added a lot of rewrite rules in my apache configuration, to be able to "hide" the most of the weblog structure (the php is hidden, old links are redirected, etc...).

[/technical/website] | permanent link | Google this

Fri, 25 Jul 2003 Some changes on this site

I removed the weather page: As it was written in JSP and used a postgresql database, I will not be able to transfer it to a hosting company (they mainly offer mysql & php).
I also removed the weblog subsection, and moved it as the main page.

[/technical/website] | permanent link | Google this

Tue, 15 Jul 2003 XHTML 1.1 compliant!

This web site (except the statistics page which I won't change) is now XHTML 1.1 Strict compliant.

At the same moment I removed the javascript section (which was pre-downloading the top menu images, and changed their color when the mouse was over). The home page, for instance, is now 30% smaller (only html code), and less than half of the original size if we consider the images download.

[/technical/website] | permanent link | Google this

Wed, 02 Jul 2003 New: Statistics for this web server

I just made public the statistics page for this web server. These statistics are collected since 2000, using the excellent awstats software.

One of the most interesting data is the queries on search engines which links to my site. For instance, this link show these queries for 2003.

[/technical/website] | permanent link | Google this

Sat, 21 Jun 2003 Palm-Linux Portuguese translation

I received an email this morning from Sérgio F. Lima saying that he translated my Palm-Linux page into Portuguese.

Cool! I wonder if I should not switch to a real versioning system: With one translation it will not be very difficult to manage the changes, but as soon as one more comes, we will get trouble.
I am thinking about Sourceforge or a private CVS server (I have already one up and running for my own developments). But I think the private CVS repository is not a good idea, as I will move my site to another provider when I leave Japan, and CVS will probably not be available.

[/technical/website] | permanent link | Google this

Wed, 14 May 2003 Web hosting going down

I was hosting, at home, a few web sites, for friends, colleagues, and family. At least until last month.
I asked them all to find another provider because of my coming departure from Japan in a few months...
Only one is still hosted today (Jeff, do it NOW!). When that one will be removed, I will feel comfortable when the time will come to shut down the server...

I hope the service was not too bad during these years ;-)

[/technical/website] | permanent link | Google this

Tue, 21 Jan 2003 Blosxom 0+6i-b2 setup

No change compared to 0+5i version. It ran Out Of the Box, after I made the same changes.

I added a small script, as I really want some files to keep the same date. This script looks for files (in blog directories) which names look like a date, then it changes the date of these files with the name itself.
It runs every hour, and could be used with other versions of blosxom as well.
Here is the source of this file:

#! /bin/sh

for i in `find ./blog -name '*.txt' -print`
do
    DATE=`expr match $i '.*\([0-9]\{12\}\).txt'`
    if [ -z ${DATE} ]
    then
        DATE=`expr match $i '.*\([0-9]\{8\}\).txt'`
        [ ${DATE} ] && "DATE=${DATE}1200"
    fi
    [ ${DATE} ] && touch -t ${DATE} "$i"
done

This script accepts files like "*DATE.txt", where DATE can be in both YYYYMMDDhhmm.txt or YYYYMMDD.txt formats. In the latter case, a default of 12:00 is used for the time.

[/technical/website] | permanent link | Google this

Mon, 06 Jan 2003 New changes!

Two new big changes, in the path to migrate this site to a fully XHTML/CSS web site: The "Webcam" page will disappear (being replaced by a more useful "GPG" page - already done in all new pages), and the "Palm" page has been rewritten in XHTML.

TODO:
  1. Change the new links (Webcam vs GPG everywhere). Easy. Done on Jan 7.
  2. Rewrite the "Weather" page in XHTML. Easy. Done on Jan 11th. But it was not easy at all! I was not able to include a jsp in middle of a SSI file, so I run a hourly job to prepare an html file instead (with an ugly wget getting the data from the jsp). Any better idea on this?
  3. Do something about the "Forum" page. I will probably remove it (I don't like their licence sytem - after all, even if it was small help, I crontributed to this software!). Done on Jan 11. Just by removing links, and redirecting the forum page to the main page.
  4. Rewrite the "Linux" page. This will be longer: I have 2 ways here. I could just make it XHTML compliant, or make it more accurate. I will probably choose the first solution. Done on Jan 12th.
  5. Rewrite the "Gallery" page. Again, I will probably change the engine. Not easy, and I prefered to "patch" the old system to be compliant with XHTML standard. There are problems with images overriding he right column - I'm not going to solve them soon! Done on Feb 9th.

[/technical/website] | permanent link | Google this

Sun, 05 Jan 2003 Weblog & other pages. Where to stop?

As I just rewrote my "Links" page in xhtml, I wondered if I should include it in the weblog or not.

More generally, my question is: Where should a Weblog stop? Should technical data (such as Blosxom installation) be there?
As I don't have an answer yet, I will leave the Links page as it is, as well as the Forum one (but I think that one will disappear as soon as Blosxom can handle postings :-)

[/technical/website] | permanent link | Google this