(* COCANWIKI - a wiki written in Objective CAML.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: history_rss.ml,v 1.4 2006/03/27 19:10:29 rich Exp $
+ * $Id: history_rss.ml,v 1.5 2006/12/06 09:46:57 rich Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
open Cocanwiki_date
let run r (q : cgi) dbh hostid {hostname = hostname} _ =
- let template = get_template dbh hostid "history_rss.xml" in
+ let template = get_template r dbh hostid "history_rss.xml" in
let page = q#param "page" in
let page = if page = "" then "index" else page in