rss links are permalinks
This commit is contained in:
parent
90cc940773
commit
8d4bfcc627
1 changed files with 1 additions and 0 deletions
1
honk.go
1
honk.go
|
|
@ -190,6 +190,7 @@ func showrss(w http.ResponseWriter, r *http.Request) {
|
||||||
Description: rss.CData{desc},
|
Description: rss.CData{desc},
|
||||||
Link: honk.URL,
|
Link: honk.URL,
|
||||||
PubDate: honk.Date.Format(time.RFC1123),
|
PubDate: honk.Date.Format(time.RFC1123),
|
||||||
|
Guid: &rss.Guid{IsPermaLink: true, Value: honk.URL},
|
||||||
})
|
})
|
||||||
if honk.Date.After(modtime) {
|
if honk.Date.After(modtime) {
|
||||||
modtime = honk.Date
|
modtime = honk.Date
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue