changeset 8:8afd18e103c7

myrss: add FEEDS and myrss_update.sh
author paulo@twcdns.fastsearch.net
date Sat, 11 Sep 2010 04:20:41 -0700
parents 4d7f45e51e8e
children fbd8c30c465c
files myrss/FEEDS myrss/myrss_update.sh
diffstat 2 files changed, 23 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/myrss/FEEDS	Sat Sep 11 04:20:41 2010 -0700
     1.3 @@ -0,0 +1,13 @@
     1.4 +http://news.google.com/news?pz=1&cf=all&ned=us&hl=en&output=rss
     1.5 +http://www.signonsandiego.com/rss/headlines/metro/
     1.6 +http://www.sfgate.com/rss/feeds/news_pageone.xml
     1.7 +http://feeds.sfgate.com/sfgate/rss/feeds/news
     1.8 +http://feeds.sfgate.com/sfgate/rss/feeds/warriors
     1.9 +http://feeds.sfgate.com/sfgate/rss/feeds/blogs/sfgate/warriors/index_rss2
    1.10 +http://www.reddit.com/.rss
    1.11 +http://feeds.feedburner.com/Metafilter
    1.12 +http://bikesnobnyc.blogspot.com/feeds/posts/default
    1.13 +http://feeds.feedburner.com/bikehugger
    1.14 +http://www.xkcd.com/rss.xml
    1.15 +http://sandiego.craigslist.org/search/cta?query=scion+xb&catAbb=cto&srchType=T&minAsk=&maxAsk=&format=rss
    1.16 +http://sandiego.craigslist.org/search/cta?query=scion+xb&catAbb=cta&srchType=T&minAsk=&maxAsk=&format=rss
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/myrss/myrss_update.sh	Sat Sep 11 04:20:41 2010 -0700
     2.3 @@ -0,0 +1,10 @@
     2.4 +#!/bin/sh
     2.5 +
     2.6 +OUTFILE="test.html"
     2.7 +
     2.8 +echo '' > ${OUTFILE}
     2.9 +
    2.10 +while read LINE
    2.11 +do
    2.12 +	wget -q -U '' -O - ${LINE} | xsltproc step1.xsl - | xsltproc step2.xsl - >> ${OUTFILE}
    2.13 +done < FEEDS