Bumped version for release.
-cocanwiki (1.3.6-1) unstable; urgency=low
+cocanwiki (1.3.6-2) unstable; urgency=low
* Initial Release.
(* 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.1 2004/11/01 17:46:21 rich Exp $
+ * $Id: history_rss.ml,v 1.2 2004/11/02 11:05:58 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
template#table "history" table;
- q#template template
+ q#template ~content_type:"application/rss+xml" template
let () =
register_script ~restrict:[CanEdit] run
(* COCANWIKI - a wiki written in Objective CAML.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: page_rss.ml,v 1.1 2004/11/01 17:46:21 rich Exp $
+ * $Id: page_rss.ml,v 1.2 2004/11/02 11:05:59 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_template
let run r (q : cgi) (dbh : Dbi.connection) hostid {hostname = hostname} _ =
- let template = get_template dbh hostid "rss.xml" in
+ let template = get_template dbh hostid "page_rss.xml" in
let page = q#param "page" in
let page = if page = "" then "index" else page in
template#table "sections" sections;
- q#template ~content_type:"text/xml" template
+ q#template ~content_type:"application/rss+xml" template
let () =
register_script ~restrict:[CanView] run
(* COCANWIKI - a wiki written in Objective CAML.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: recent_rss.ml,v 1.1 2004/11/01 17:46:21 rich Exp $
+ * $Id: recent_rss.ml,v 1.2 2004/11/02 11:05:59 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
template#table "recent_changes" table;
- q#template template
+ q#template ~content_type:"application/rss+xml" template
let () =
register_script ~restrict:[CanEdit] run