X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Frss.inc.php;h=0117fc0f65c814b715a6e5ecf3cf2a3a293cbdd0;hb=fdd061708f94c060c9342943884d538ded15d131;hp=22a8a2b947ab9a96722345f519ca1d5f25acadb7;hpb=eaf30d86cc99df2414cf4f171a9b0f11b0561e3b;p=platal.git diff --git a/include/rss.inc.php b/include/rss.inc.php index 22a8a2b..0117fc0 100644 --- a/include/rss.inc.php +++ b/include/rss.inc.php @@ -1,6 +1,6 @@ fetchOneCell(); @@ -50,6 +51,7 @@ function init_rss($template, $alias, $hash, $require_uid = true) } if ($template) { + $page->assign('rss_hash', $hash); header('Content-Type: application/rss+xml; charset=utf8'); } return $uid;