X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Frecent_rss.ml;h=c376dc4dbc19db501825c9df4618c7dc7bb5d22b;hb=89e8d5757ca111d16ce3dfcc1ce4f2c00a119c85;hp=08fde14c586af7df21cd93d05bbfac06c7366b62;hpb=34f804bb80902490c619e85759ab110fc440a838;p=cocanwiki.git diff --git a/scripts/recent_rss.ml b/scripts/recent_rss.ml index 08fde14..c376dc4 100644 --- a/scripts/recent_rss.ml +++ b/scripts/recent_rss.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * 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 @@ -97,7 +97,7 @@ let run r (q : cgi) (dbh : Dbi.connection) hostid {hostname = hostname} _ = template#table "recent_changes" table; - q#template template + q#template ~content_type:"application/rss+xml" template let () = register_script ~restrict:[CanEdit] run