Mercurial > hg > index.fcgi > www > www-1
comparison myrss/myrss_update.sh @ 17:5a0c2ee709f8
myrss/myrss_update.sh: allow # comments
author | paulo@twcdns.fastsearch.net |
---|---|
date | Wed, 29 Sep 2010 22:04:46 -0700 |
parents | fbd8c30c465c |
children | 3551de5fef13 |
comparison
equal
deleted
inserted
replaced
1:6fab85a754a8 | 2:bb711f6a03df |
---|---|
9 echo '</HEAD>' | 9 echo '</HEAD>' |
10 | 10 |
11 echo '<BODY>' | 11 echo '<BODY>' |
12 echo "<H1>${TIMESTAMP}</H1>" | 12 echo "<H1>${TIMESTAMP}</H1>" |
13 | 13 |
14 while read LINE | 14 for URL in $(grep -v '^#' FEEDS) |
15 do | 15 do |
16 wget -q -U '' -O - ${LINE} | xsltproc step1.xsl - | xsltproc step2.xsl - | 16 wget -q -U '' -O - ${URL} | xsltproc step1.xsl - | xsltproc step2.xsl - |
17 done < FEEDS | 17 done |
18 | 18 |
19 echo '</BODY>' | 19 echo '</BODY>' |
20 echo '</HTML>' | 20 echo '</HTML>' |