shithub: werc

Download patch

ref: db0bd05e17d5617e6d428337c148da10c7aa5621
parent: ad9ac1c18dd274a94a6871897571d96bbc1faf00
author: uriel <uriel@engel.se.cat-v.org>
date: Sun Dec 21 04:37:14 EST 2008

Comment out unused line.

--- a/lib/feeds/atom.tpl
+++ b/lib/feeds/atom.tpl
@@ -11,7 +11,7 @@
     # XXX $post_uri is broken produces output that includes full file path (eg., /gsoc/www/...)
     post_uri=$baseuri^`{cleanname `{echo $f | sed -e 's,^'$sitedir',,' -e 's/\.(md|tpl)$//g'}}
     title=`{basename $f | sed 's/^[0-9\-]*_(.*)\.md$/\1/; s/_/ /g' }
-    date=`{/bin/date -Rd `{basename $f |sed 's/(^[0-9\-]*).*/\1/; s/-[0-9]$//'}}
+    # Not used: date=`{/bin/date -Rd `{basename $f |sed 's/(^[0-9\-]*).*/\1/; s/-[0-9]$//'}}
     # TODO: use mtime(1) and ls(1) instead of lunix's stat(1)
     stat=`{stat -c '%Y %U' $f}
     #mdate=`{/bin/date -Rd $stat(1)} # Not used because it is unreliable