mirror of
https://github.com/vbatts/sl-feeds.git
synced 2024-11-22 07:45:39 +00:00
feed: add a link per item
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
dabb6e7506
commit
99d1f75308
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ func ToFeed(link string, entries []Entry) (*feeds.Feed, error) {
|
|||
for i, e := range entries {
|
||||
feed.Items[i] = &feeds.Item{
|
||||
Created: e.Date,
|
||||
Link: &feeds.Link{Href: ""},
|
||||
Link: &feeds.Link{Href: fmt.Sprintf("%s/ChangeLog.txt#src=feeds&time=%d", link, e.Date.Unix())},
|
||||
Description: e.ToChangeLog(),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue