Add feed generating capabilities #1

Merged
vilmibm merged 3 commits from acdw/tilde.town:trunk into trunk 2022-09-10 00:27:19 +00:00

3 Commits (trunk)

Author SHA1 Message Date
Case a9a47b3bfd Update blog.tmpl.html to point to feed 2022-09-09 19:15:13 -05:00
Case fc7ec910c5 Remove extraneous processing 2022-09-09 19:09:01 -05:00
Case eca0447a35 Add feed generating capabilities
`feed.tmpl.xml` should be RSS2.0-conforming.  Ideally each news item
would have a date of publication, but RSS doesn't require it.

I found it easier to copy `genblog.go` to `genfeed.go` than to shoehorn
in feed logic to the blog generator.  As such, `genfeed.go` might have
some unnecessary stuff in it (though the go compiler didn't complain, so
who knows?!).  I also added the necessary machinery in
`generate_homepage`.

Of course, I did very minimal testing.
2022-09-08 22:57:19 -05:00