#!/bin/sh

# cd $RSSKISS_WWW_DIRECTORY  ||  exit 1

echo -ne "Content-type: text/html\r\n\r\n"

echo "<pre>"
cat new.html  > old.html
./cgi-bin/rsskiss_poll.sh  2>&1  > new.html
echo "</pre>"

cat <<EOF
<hr>
<h1><a href="../new.html">Read articles</a></h1>
<script>
window.location="../new.html";
</script>
EOF

