From: Matija Nalis Date: Mon, 24 May 2021 17:17:38 +0000 (+0200) Subject: s must be inside for RSS X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/1576701e741c1a82af24d1344997bc505e4c00c6?hp=fff17b996531a5f957babb5a773d36c6b3c270c7 s must be inside for RSS --- diff --git a/cookbooks/planet/templates/default/planetdump.erb b/cookbooks/planet/templates/default/planetdump.erb index ea474ed93..e664f44f4 100644 --- a/cookbooks/planet/templates/default/planetdump.erb +++ b/cookbooks/planet/templates/default/planetdump.erb @@ -136,7 +136,7 @@ function mk_torrent { # add newly created .torrent file as new entry to .xml RSS feed, removing excess entries xmlstarlet edit --inplace \ - -a "//channel" -t elem -n item -v "" \ + -a "//lastBuildDate" -t elem -n item -v "" \ -s "//item[1]" -t elem -n "title" -v "${torrent_file}" \ -s "//item[1]" -t elem -n "guid" -v "${torrent_url}" \ -s "//item[1]" -t elem -n "link" -v "${torrent_url}" \