fn display_rss{
echo ''
echo ''
echo ''
echo ''
echo ''
echo ''$base_url^$barf_base_uri''
echo ''
echo ''
echo ''
ndate -m `{date `{mtime $barf_root/$"barf_dir/src | awk '{print $1}'}} # rfc2822 last time channel content changed.
echo -n ''
echo 'en-us'
get_post_list
for(i in `{seq 1 $#posts}){
a_id=$posts($i)
a_dir=$barf_root/$"barf_dir/src/$a_id
echo '- '
echo ''$base_url^$barf_base_uri'?id='$"a_id''
date=`{ndate -m `{cat $a_dir/date}}
echo ''$"date''
title=`{cat $a_dir/title}
if(~ $title '')
ntitle=($siteTitle $"a_id)
if not
ntitle=$title
echo ''$"ntitle''
echo ''$base_url^$barf_base_uri'?id='$"a_id''
echo 'source: link
'
}
a_tags=`{ls -p $a_dir/tags}
if(! ~ $#a_tags 0){
echo 'tags: '
print_tags
echo '
'
echo ''
}
# begin ugly if statements
if(~ $obarf_type paste)
echo '
'
if(! ~ $obarf_type image)
cat $a_dir/body
if(~ $obarf_type paste)
echo '
'
if(~ $obarf_type image)
print_img
echo ']]>'
}
echo ''
}