mirror of
https://github.com/vbatts/sl-feeds.git
synced 2024-11-25 17:05:39 +00:00
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:
parent
a66095ea7c
commit
3cc3bb5f29
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue