diff --git a/pub/feeds/rss20.tpl b/pub/feeds/rss20.tpl index 7a5007d..ec7e10d 100644 --- a/pub/feeds/rss20.tpl +++ b/pub/feeds/rss20.tpl @@ -13,15 +13,21 @@ Content-Type: text/xml; charset=utf-8 %{ for(f in `{sortedBlogPostList $blogDirs}) { statpost $f -%} + # Hack to aproximate the last build date (use the mdate from last posted item) + if(~ $#last_build_date 0) { + last_build_date=''^$"mdate'' + echo $last_build_date + } +%} + %($title%) %($by%)@noreply.cat-v.org (%($by%)) %($uri%) %($uri%) %($date%) - %($mdate%) %($summary%)]]> % } +