From 94c764d0c9ef12efb7d95b63d2c81d30f3cbdc7a Mon Sep 17 00:00:00 2001 From: Nuno Sempere Date: Wed, 16 Aug 2023 20:14:00 +0000 Subject: [PATCH] savepoint after fixing rss errors. --- apps/blagh/rss20.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/blagh/rss20.tpl b/apps/blagh/rss20.tpl index 9c6b88b..7cc0775 100755 --- a/apps/blagh/rss20.tpl +++ b/apps/blagh/rss20.tpl @@ -10,7 +10,8 @@ fn statpost { by=`{ls -m $f | sed 's/^\[//g; s/].*$//g' >[2]/dev/null} extracted_on=`{echo $relative_uri | sed 's|/blog/||g' | head -c 10 } published_on=`{ /bin/date -R -D '%Y/%m/%d' -d $extracted_on } - ifs=() {summary=`{ cat $f/index.md | strip_title_from_md_file | head -n 1000 | ifs=$difs {$formatter | escape_html} }} + ifs=() {summary=`{ cat $f/index.md | strip_title_from_md_file | ifs=$difs {$formatter | escape_html} }} + # % could also add a | head -n 10 to only show the first few lines. } %}