]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/templates/default/planetdump.erb
<item>s must be inside <channel> for RSS
[chef.git] / cookbooks / planet / templates / default / planetdump.erb
index ea474ed93cc3ab8ad17dd88fd6a359f6fbf48487..e664f44f40f23996c1902708d71b33f0abb1b179 100644 (file)
@@ -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}" \