rss email digests over ssh because you're a cool kid herald.dunkirk.sh
go rss rss-reader ssh charm
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: skip inline content expansion when content is empty

Feeds like mitchellh.com/feed.xml that only have titles and links
(no description/content) will no longer render empty inline sections.

+3 -1
+2
email/templates/digest.html
··· 65 65 {{if $.Inline}} 66 66 <div> 67 67 {{range .Items}} 68 + {{if .SanitizedContent}} 68 69 <div> 69 70 <h1><a href="{{.Link}}">{{.Title}}</a></h1> 70 71 <div>{{.SanitizedContent}}</div> 71 72 </div> 72 73 <hr /> 74 + {{end}} 73 75 {{end}} 74 76 </div> 75 77 {{end}}
+1 -1
email/templates/digest.txt
··· 15 15 {{.Title}} 16 16 {{.Link}} 17 17 {{if and $.Inline .Content}} 18 - {{.Content}} 19 18 19 + {{.Content}} 20 20 {{end}} 21 21 {{end}} 22 22 {{end}}