view myrss/myrss_update.sh @ 14:3affc32b1647

add hg/
author paulo
date Tue, 18 Dec 2012 03:30:33 -0700
parents 8afd18e103c7
children 5a0c2ee709f8
line source
1 #!/bin/sh
3 TIMESTAMP=$(date '+%FT%T%:z')
5 echo '<HTML>'
6 echo '<HEAD>'
7 echo "<TITLE>${TIMESTAMP}</TITLE>"
8 echo '<LINK REL="stylesheet" TYPE="text/css" HREF="index.css">'
9 echo '</HEAD>'
11 echo '<BODY>'
12 echo "<H1>${TIMESTAMP}</H1>"
14 while read LINE
15 do
16 wget -q -U '' -O - ${LINE} | xsltproc step1.xsl - | xsltproc step2.xsl -
17 done < FEEDS
19 echo '</BODY>'
20 echo '</HTML>'