Back to Apache2

As I’ve got a lot of errors while running PHP scripts in FactCGI mode under LightTPD, and have not enough time to see what’s wrong with it (the scripts run fine in command line, but the webserver returns a 500 error when running it), I finally switched back to Apache2.

URL rewriting should have been enabled as it used to be, but tell me if there are any 404.

TechCrunch en français

TechCrunch, l’un des blogs de référence sur les outils du “Web 2.0” est disponible en français depuis quelques semaines, et c’est par ici. En plus de traduire les articles du site original, cette version devrait proposer ses propres billets.

A bookmarker !

Anciennes URLs et 404

J’ai enfin pris les 3 secondes nécessaires pour mettre en place les redirections des anciennes URLs de alex.passant.org vers le domaine apassant.net, pendant qu’on y est, le directory listing.

Ca limitera les immondes 404 qu’on me signale un peu partout partout.

PHOAF v0.3 and foafMap future

I’ve updated PHOAF in CVS last week-end, and also as a v0.3 release.

Here’s the changelog:

So, indeed, I’ll move it into foafmap soon.

The main interest is that it will be able to manage group files, as Tom suggested me. Then, I’ll put an optional cache system (as retrieving informations from distributed FOAF files over the network is a bit long). I’ll also add a user account system, so that users will be available to update their cached result, maybe tag their profile (with tag detection from foaf:interests), etc …

I think it could lead to a SemWeb equivalent to Frappr!, where the main advantage is that you own your datas, and the app is just here to display it on a map. I think that’s really better, for privacy and for decentralized knowledge management. If you or one of your friend change location, you won’t have to modify anything, just update your FOAF profile, reload your foafmap page, and that’s ok !

Notes

[1] RAP v1.0 might be rewritten in PHP5

[2] BTW, please use personalProfileDocument and primaryTopic when you create a FOAF file. That’s the better machine-readable way to tell who is your FOAF file about

Etat de la blogosphère - Février 2006

David Sifry (fondateur de Technorati), vient de publier son nouveau rapport “State of the blogosphere”. Pour rappel, Technorati est la plate-forme de suivi en temps-réel (grâce au système de pings) de l’activité de la blogosphère.

In summary:
   * Technorati now tracks over 27.2 Million blogs    * The blogosphere is doubling in size every 5 and a half months    * It is now over 60 times bigger than it was 3 years ago    * On average, a new weblog is created every second of every day    * 13.7 million bloggers are still posting 3 months after their blogs are created    * Spings (Spam Pings) can sometimes account for as much as 60% of the total daily       pings Technorati receives    * Sophisticated spam management tools eliminate the spings and find that about 9%       of new blogs are spam or machine generated    * Technorati tracks about 1.2 Million new blog posts each day, about 50,000 per hour    * Over 81 Million posts with tags since January 2005, increasing by 400,000 per day    * Blog Finder has over 850,000 blogs, and over 2,500 popular categories have attracted       a critical mass of topical bloggers

(FOAF)Homepage online

My homepage is finally online, with a short bio and links to misc stuff (projects, bookmarks …). It’s generated from my FOAF profile, using PHP5 and XSLT.

As you may see, the XSLT stylesheet is really basic: it just parses the FOAF profile to render informations, loops around foaf:currentProject and foaf:onlineAccount, and sometimes test the lang parameter to display informations in french or english

This is actually why is use PHP5 instead a simple stylesheet applied to the profile, as I autodetect preferend user language from the browser. Moreover, as one can embed PHP in an XSLT stylesheet with PHP5, I can retrieve the lang parameter, and also display last update, reading file information with filemtime().

DokuWiki URL rewriting in LightTPD

I’ve finally decided to setup DokuWiki as a personnal wiki, as it handles 2 of my first needs: namespaces and ACLs by namespaces.

Here are the options you need to set up to get clean URL rewriting in LightTPD.

In conf/dokuwiki.conf:

 $conf['userewrite']  = 1;        //this makes nice URLs: 0: off 1: .htaccess 2: internal  $conf['useslash']    = 1;        //use slash instead of colon? only when rewrite is on

The second line is optional, but I feel better handling namespaces pages with / - as subdirectories - instead of colons.

Actually, you can set option 2 (internal) for the userewrite parameter. Yet, URLs would be like "wiki/doku.php/mypage", and I’d prefer something like "wiki/mypage". In such a case (option 1), you need to set the following rules in lighttpd.conf:

 "^/wiki/?$" => "/wiki/doku.php",  "^/wiki/lib/(.*)/?$" => "/wiki/lib/$1",  "^/wiki/(.*)\?do=(.*)/?$" => "/wiki/doku.php?id=$1&do=$2",  "^/wiki/(.*)/?$" => "/wiki/doku.php?id=$1\

Toolkits pour le Web Sémantique

Je viens de tomber via planetrdf sur cette page recensant la plupart des librairies et frameworks pour le Web Sémantique. Je ne suis pas franchement sur que JavaScript soit l’idéal pour parser un graphe de plusieurs milliers de noeuds, mais toujours est-il qu’il existe des outils dans de nombreux langages.

L’article donne également une bonne idée de l’activité de chacun des projets, avec le nombre de développeurs, la dernière release, etc …

A bookmarker pour les intéressés !

PHOAF update

I’ve updated PHOAF so that it now includes RAP 0.9.3, especially for bugfixes as I don’t use SPARQL in the library. I’ve also added a few methods I forgot to implement before, as getHomepage(), plus the usual bugfixes.

PHOAF v0.2 can be downloaded here.