use full url as guid
This commit is contained in:
parent
807f909937
commit
c6ab7227d8
2
rss.go
2
rss.go
|
@ -44,7 +44,7 @@ func RenderRSSFeed(user User) (string, error) {
|
||||||
post, _ := user.GetPost(postId)
|
post, _ := user.GetPost(postId)
|
||||||
_, meta := post.MarkdownData()
|
_, meta := post.MarkdownData()
|
||||||
rss.Channel.Items = append(rss.Channel.Items, RSSItem{
|
rss.Channel.Items = append(rss.Channel.Items, RSSItem{
|
||||||
Guid: postId,
|
Guid: post.FullUrl(),
|
||||||
Title: post.Title(),
|
Title: post.Title(),
|
||||||
Link: post.FullUrl(),
|
Link: post.FullUrl(),
|
||||||
PubDate: meta.Date,
|
PubDate: meta.Date,
|
||||||
|
|
Loading…
Reference in New Issue