-function _rss_encode_date($d) {
- if (preg_match('/^\d{14}$/', $d)) {
- $t = mktime(substr($d,8,2), substr($d,10,2), substr($d,12,2), substr($d,4,2), substr($d,6,2), substr($d,0,4));
- } else {
- $t = strtotime($d);
- }
- return utf8_encode(date('r', $t));
-}
-
-function to_rss ($s)
+function init_rss($template, $alias, $hash, $require_uid = true)