diff --git a/feedgen.sh b/feedgen.sh index 5eb927a..3de57aa 100755 --- a/feedgen.sh +++ b/feedgen.sh @@ -150,3 +150,10 @@ curl -s 'http://www.uzpln.cz/zpravy-ln' \ --arg link 'http://www.uzpln.cz/zpravy-ln' \ | json2xml > $DIR/feeds/uzpln/cz.xml.new \ && mv $DIR/feeds/uzpln/cz.xml.new $DIR/feeds/uzpln/cz.xml + +log Building WMSC feed to $DIR/feeds/wmsc.xml +curl -s 'https://wmsc.gov/oversight/reports/' \ + | pup '.post-content li json{}' \ + | jq -f $DIR/jq/wmsc.jq \ + | json2xml > $DIR/feeds/wmsc.xml.new \ + && mv $DIR/feeds/wmsc.xml.new $DIR/feeds/wmsc.xml diff --git a/index.html b/index.html index 8b559ef..ba57530 100644 --- a/index.html +++ b/index.html @@ -532,6 +532,30 @@ + +
Country | +United States | +
Language | +English | +
Type | +Rail | +
Frequency | +20 reports/year | +
Feed | ++ |