all repos — honk @ ab793b88d0e934bf7b621cc82b4d347db98577b6

my fork of honk

only first class honks in rss
Ted Unangst tedu@tedunangst.com
Fri, 23 Aug 2019 20:35:58 -0400
commit

ab793b88d0e934bf7b621cc82b4d347db98577b6

parent

c1d2649f1754d7ce90965d3745f3556422b5b111

2 files changed, 8 insertions(+), 1 deletions(-)

jump to
M fun.gofun.go

@@ -448,6 +448,10 @@ }

return true } +func firstclass(honk *Honk) bool { + return honk.Audience[0] == thewholeworld +} + func oneofakind(a []string) []string { var x []string for n, s := range a {
M honk.gohonk.go

@@ -258,6 +258,9 @@ },

} var modtime time.Time for _, honk := range honks { + if !firstclass(honk) { + continue + } desc := string(honk.HTML) for _, d := range honk.Donks { desc += fmt.Sprintf(`<p><a href="%s">Attachment: %s</a>`,

@@ -922,7 +925,7 @@ XID: xonk.XID,

Date: dt, Donks: xonk.Donks, Convoy: xonk.Convoy, - Audience: []string{oonker, thewholeworld}, + Audience: []string{thewholeworld, oonker}, Public: true, }