Fix global CDF feed
This commit is contained in:
parent
b2cc687059
commit
feb0e6a2f9
|
@ -10,7 +10,7 @@ echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>
|
|||
<LOGO HREF=\"http://tilde.town/~lucidiot/itsb/img/itsb.gif\" STYLE=\"IMAGE\"/>" > "$DIR/feeds.cdf.new"
|
||||
|
||||
# Grab the paths to all generated CDF feeds from the XML in stdin
|
||||
"$DIR/bin/xml2json" | jq --raw-output --arg DIR "$DIR" '.. | objects | select(.["@format"] == "cdf") | "\($DIR)/feeds/\(.output // .link)"' | xargs tail -q -n+2 > "$DIR/feeds.cdf.new"
|
||||
"$DIR/bin/xml2json" | jq --raw-output --arg DIR "$DIR" '.. | objects | select(.["@format"] == "cdf") | "\($DIR)/feeds/\(.output // .link)"' | xargs tail -q -n+2 >> "$DIR/feeds.cdf.new"
|
||||
|
||||
echo '</CHANNEL>' >> "$DIR/feeds.cdf.new"
|
||||
|
||||
|
|
Loading…
Reference in New Issue