#!/bin/sh

TIMESTAMP=$(date '+%FT%T%:z')

echo '<HTML>'
echo '<HEAD>'
echo "<TITLE>${TIMESTAMP}</TITLE>"
echo '<LINK REL="stylesheet" TYPE="text/css" HREF="index.css">'
echo '</HEAD>'

echo '<BODY>'
echo "<H1>${TIMESTAMP}</H1>"

while read LINE
do
	wget -q -U '' -O - ${LINE} | xsltproc step1.xsl - | xsltproc step2.xsl - 
done < FEEDS

echo '</BODY>'
echo '</HTML>'
