mirror of
https://github.com/vbatts/sl-feeds.git
synced 2024-11-25 17:05:39 +00:00
Merge pull request #8 from vbatts/fix_guid
feed: give a guid to each item
This commit is contained in:
commit
b48b01f8eb
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,
|
Created: e.Date,
|
||||||
Link: &feeds.Link{Href: fmt.Sprintf("%s/ChangeLog.txt#src=feeds&time=%d", link, e.Date.Unix())},
|
Link: &feeds.Link{Href: fmt.Sprintf("%s/ChangeLog.txt#src=feeds&time=%d", link, e.Date.Unix())},
|
||||||
Description: e.ToHTML(),
|
Description: e.ToHTML(),
|
||||||
|
Id: fmt.Sprintf("%d", e.Date.Unix()),
|
||||||
}
|
}
|
||||||
|
|
||||||
updateWord := "updates"
|
updateWord := "updates"
|
||||||
|
|
Loading…
Reference in a new issue