W3Perl developement 

July is usually a quiet month. Time to remove those awful frames and switched to a CSS menu (so many people were asking for !).
So the first step was to do the job for the online documentation, then in the website and finally in the package.

Next month Previous month
2008-August 2008-June
JUL
10
Bugs from 3.03
10.07.2008 | Bugs from 3.03 | Auteur : Domisse

First bug reports ...

- Display wrong logfile format when you modify this field. Fixed.
- A more annoying bug occur when you turn on cities stats and run twice your stats. In order to speed up when working on the developement package, I was reloading the cities stats instead of computing them. Thus, running cron-pages.pl several times will make no changes in cities stats, even if your logfiles are growing. Fixed.
- I'm now checking the cities database is not compressed before running.
- Forget to add the '-dc' flag with bzip2 logfiles. Fixed.
- Postfix/Sendmail display in the web interface was switched. Fixed.
- Status code empty with some Postfix logfiles. Fixed

Few improvements :

- Show User stats only if %login field available in your logfile format
- Remove Access with mail logfiles in cities stats
- Package documentation use now a CSS menu

JUL
22
CSS Menu
22.07.2008 | CSS Menu | Auteur : Domisse

Time to remove those frames. First a CSS menu have been added in the package's documentation. Then in the website too.
But how to add a CSS menu in the package itself ? Well, I was thinking about :

  • Using Object tag
  • IFrame
  • PHP include
  • Template
  • SSI
Finally, using template seems to be the good choice. PHP is the easy answer as you could include a file within a file with 'include' but it requires php to be on the server. It may be true on Unix but sadly not on Windows (maybe IIS 8 ?).
Server Side Include can do the job but it's pretty old and may have some security concerns. Also, it requires file to have the shtml extension rather than html and need to be activated in your server.
IFrame and object tag can provide a way to include file but not a drop down CSS menu (will be hide within the window).

The backdraw of using Template is to include the CSS menu in every pages ... but using scripts, this is not a problem. Also, you'll have now to open the CSS menu in order to select another stats report, the frames had all useful links from a single clicks.

Once Template have been chosen, there are many ways to integrate them as the CSS Menu need to updated once each scripts have been ran.

  • Scanning all html pages to update the menu
  • Using a CGI to add the menu
  • Using AJAX
CGI and AJAX allow dynamic CSS menu but require calls to the server each time a request is made...bad idea. So I've chosen the first item. Once a script is completed, it will scan every html pages already built and will update the CSS menu. It can take a while if you have thousand of files to parse.

JUL
31
Curvy corners
31.07.2008 | Curvy corners | Auteur : Domisse

I was searching for a php graphic library and found this nice tool pChart. I was wondering how the website was built, especially the rounded corners in the CSS. The guy was using curvyCorners, a full javascript tool. Unlike other tools, it doesn't require image in order to run. So I decided to use it for my own website.

Homepage look like really nicer (from my point of view) using a CSS menu and including now this useful tool.

The new blog page have been improved thanks to this website Sunyday. A very interesting blog ... in french.