From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 0B922BCAC for ; Tue, 17 May 2005 08:07:15 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j4H67ECi028596 for ; Tue, 17 May 2005 08:07:14 +0200 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id IAA28264 for ; Tue, 17 May 2005 08:07:09 +0200 (MET DST) Received: from us17.unix.fas.harvard.edu (us17.unix.fas.harvard.edu [140.247.35.197]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j4H678I8025587 for ; Tue, 17 May 2005 08:07:08 +0200 Received: from [140.247.161.186] (roam161-186.student.harvard.edu [140.247.161.186]) by us17.unix.fas.harvard.edu (8.12.11/8.12.11) with ESMTP id j4H677k4023348 for ; Tue, 17 May 2005 02:07:08 -0400 Mime-Version: 1.0 (Apple Message framework v622) Content-Transfer-Encoding: 7bit Message-Id: <01537870bbd779f0f60fd1aef802b580@fas.harvard.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed To: caml-list@inria.fr From: Mike Hamburg Subject: indexy script 0.8 Date: Tue, 17 May 2005 02:07:06 -0400 X-Mailer: Apple Mail (2.622) X-Miltered: at nez-perce with ID 42898A12.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 42898A0C.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocamlnet:01 ocaml:01 kde:01 tgz:02 output:02 packaged:05 probably:05 written:06 uses:06 skin:93 examples:07 edu:07 alpha:08 haven't:08 file:08 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: Dear List, Thanks for all the help with OCamlNet all that while ago! With this help, I have written an alpha of a web-indexing script using FastCGI and OCaml. The script supports file icons, thumbnailing with ImageMagick, piles, multiple icon sizes, multiple sorts, and cookies for user preferences. http://capricorn.dnsalias.org/mike/index/ The script uses templates (in the templates folder) to skin the output; the "icon", "list" and "piled-list" views are simple examples of those templates. You can download the source at http://capricorn.dnsalias.org/mike/index/download.tgz I haven't packaged it yet, so you'll have to edit local.ml to set things like your web directory location. The icons are Apple icons, so redistributing them is probably illegal; I'll replace them with KDE icons or something in the final version. Thanks for your help, comments welcome, Mike