diff myrss/myrss_update.sh @ 8:8afd18e103c7

myrss: add FEEDS and myrss_update.sh
author paulo@twcdns.fastsearch.net
date Sat, 11 Sep 2010 04:20:41 -0700
parents
children fbd8c30c465c
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/myrss/myrss_update.sh	Sat Sep 11 04:20:41 2010 -0700
     1.3 @@ -0,0 +1,10 @@
     1.4 +#!/bin/sh
     1.5 +
     1.6 +OUTFILE="test.html"
     1.7 +
     1.8 +echo '' > ${OUTFILE}
     1.9 +
    1.10 +while read LINE
    1.11 +do
    1.12 +	wget -q -U '' -O - ${LINE} | xsltproc step1.xsl - | xsltproc step2.xsl - >> ${OUTFILE}
    1.13 +done < FEEDS