added id to feed elements

pull/1/head
Alessandro Mauri 4 years ago
parent 4c6f06b6b7
commit c84cdbc5e4
  1. 1
      rivet.sh

@ -257,6 +257,7 @@ EOF
printf '\t<entry>\n' printf '\t<entry>\n'
printf '\t\t<title>%s</title>\n' "$title" printf '\t\t<title>%s</title>\n' "$title"
printf '\t\t<link href="%s" />\n' "$line" printf '\t\t<link href="%s" />\n' "$line"
printf '\t\t<id>%s</id>\n' "$line"
printf '\t\t<updated>%s</updated>\n' "$ldate" printf '\t\t<updated>%s</updated>\n' "$ldate"
printf '\t</entry>\n' printf '\t</entry>\n'
} >> "$feed" } >> "$feed"

Loading…
Cancel
Save