Added RSS item title to the APub body
parent
2ea8bf202b
commit
0eb73d75a8
2
feed.go
2
feed.go
|
@ -51,7 +51,7 @@ func forwardLastFeed(url string) {
|
|||
if time.Since(postAge) < Zint {
|
||||
|
||||
TheTitle := fmt.Sprintf("[News from %s ]", strip.StripTags(feed.Title))
|
||||
TheBody := fmt.Sprintf("%s \n\n%s \n\n%s", strip.StripTags(b.Author.Name), strip.StripTags(b.Description), b.Link)
|
||||
TheBody := fmt.Sprintf("%s\n\n %s\n\n %s\n\n%s\n ", strip.StripTags(b.Author.Name), strip.StripTags(b.Title), strip.StripTags(b.Description), b.Link)
|
||||
|
||||
postOnMastodon(TheBody, TheTitle)
|
||||
log.Println("New content from: ", feed.Title, b.Title, feed.Description)
|
||||
|
|
Loading…
Reference in New Issue