diff --git a/apps/blagh/rss20.tpl b/apps/blagh/rss20.tpl index 0cba818..ab2426f 100644 --- a/apps/blagh/rss20.tpl +++ b/apps/blagh/rss20.tpl @@ -25,10 +25,10 @@ fn statpost { # rfc2822 last time channel content changed. lbd=`{ndate -m `{date `{mtime `{ls $blagh_root$blagh_dirs/[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9]/[0-9] | tail -1} | awk '{print $1}'}}} echo ''$"lbd'' - # rfc2822 publication date for content in the channel. - pubdate=`{ndate -m} for(f in `{get_post_list $blagh_root$blagh_dirs}){ statpost $f + # rfc2822 publication date for this post. + pubdate=`{ndate -m `{date `{mtime $f | awk '{print $1}'}}} %} <![CDATA[%($title%)]]>