X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Fsitemap.ml;fp=scripts%2Fsitemap.ml;h=b69f58dd6b2525eecb6b0498806d37f346b6e339;hb=1f125fd7a6794f352f30de71a3905d5356a07008;hp=c8914d5cc75d64ff95ad0d2811b48136a8235479;hpb=0ecd1f11790c77bbe15510a6b5a659fb255646bb;p=cocanwiki.git diff --git a/scripts/sitemap.ml b/scripts/sitemap.ml index c8914d5..b69f58d 100644 --- a/scripts/sitemap.ml +++ b/scripts/sitemap.ml @@ -1,7 +1,7 @@ (* COCANWIKI scripts. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: sitemap.ml,v 1.4 2004/09/08 15:46:53 rich Exp $ + * $Id: sitemap.ml,v 1.5 2004/09/09 09:35:34 rich Exp $ *) open Apache @@ -14,7 +14,7 @@ open Cocanwiki_template open Cocanwiki_date open Cocanwiki_strings -let run r (q : cgi) (dbh : Dbi.connection) (hostid, hostname, _) _ = +let run r (q : cgi) (dbh : Dbi.connection) hostid { hostname = hostname } _ = let template = get_template dbh hostid "sitemap.html" in (* Pull out all the current pages, and a bit of content from each. *)