Don't forget the date\!
[cocanwiki.git] / scripts / page_rss.ml
index b6bc2e0..ffe334b 100644 (file)
@@ -1,7 +1,7 @@
 (* 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.4 2006/03/28 16:24:08 rich Exp $
+ * $Id: page_rss.ml,v 1.6 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
@@ -35,7 +35,7 @@ open Cocanwiki
 open Cocanwiki_template
 
 let run r (q : cgi) dbh hostid {hostname = hostname} _ =
-  let template = get_template dbh hostid "page_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
@@ -71,7 +71,7 @@ let run r (q : cgi) dbh hostid {hostname = hostname} _ =
     List.map (fun (sectionname, content) ->
                let sectionname = match sectionname with
                  | None -> "" | Some s -> s in
-               let content = Wikilib.xhtml_of_content dbh hostid content in
+               let content = Wikilib.xhtml_of_content dbh hostid content in
                let linkname = linkname_of_sectionname sectionname in
                [ "sectionname", Template.VarString sectionname;
                  "linkname", Template.VarString linkname;