feed: give a guid to each item

w3c recommends this.

Fixes #1

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2017-02-09 14:45:51 -05:00
parent a66095ea7c
commit 3cc3bb5f29
Signed by: vbatts
GPG Key ID: 10937E57733F1362
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ func ToFeed(link string, entries []Entry) (*feeds.Feed, error) {
Created: e.Date,
Link: &feeds.Link{Href: fmt.Sprintf("%s/ChangeLog.txt#src=feeds&time=%d", link, e.Date.Unix())},
Description: e.ToHTML(),
Id: fmt.Sprintf("%d", e.Date.Unix()),
}
updateWord := "updates"