summaryrefslogtreecommitdiff
path: root/csv2index.sh
diff options
context:
space:
mode:
Diffstat (limited to 'csv2index.sh')
-rwxr-xr-xcsv2index.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/csv2index.sh b/csv2index.sh
index 958cf50..283edd8 100755
--- a/csv2index.sh
+++ b/csv2index.sh
@@ -5,7 +5,7 @@ LINK="$1"
SCRIPT="$(cat << EOF
{
title = \$1
- url = "$LINK/" \$2
+ url = \$2
date = \$3
print "<li>"
print "<a href=\"" url "\">" title "</a> (" date ")"
@@ -20,7 +20,7 @@ BASEPAGE(\`
changequote(\`[[', \`]]')dnl
EOF
-echo "<a href=\"$LINK/index.rss\">RSS</a>"
+echo "<a href=\"$LINK\">RSS</a>"
echo "<a href=\"/\">Voltar</a>"
echo '<ul>'