rss: lobsters suggestions, link in footer

Signed-off-by: Naman Sood <naman.sood@data.world>
This commit is contained in:
Naman Sood 2022-06-28 11:09:33 -05:00
parent 323fe7010f
commit 47638c8662
6 changed files with 39 additions and 22 deletions

View file

@ -68,3 +68,5 @@ Maybe I should write tests for this. hmm...
It finally happened -- I wrote a bunch of "clever" Go code last year to make this blog and now it's hard for me to grok what I've written. It's not _too_ bad though -- I was able to get RSS to work, after all! -- but I think it's a sign that I need to refactor a lot of this code to be simpler. I don't want to abandon the all-text-files-load-from-memory thing _yet,_ we'll see if I can tame the complexity beast enough while still keeping that one thing I think is cool.
Gonna `git commit -as && git push` this now, and start refreshing the RSS reader. Fingers crossed!
**Update (June 28, 2022, 11:58AM):** Following some really helpful suggestions on this [lobste.rs](https://lobste.rs/s/lrnqsv/implementing_rss_for_my_blog_yes_this_one) thread, I made some changes to my feed and blog HTML for better compatibility and discoverability. If you're following this, highly recommend following the suggestions listed there -- like running your feed through the [W3C validator](https://validator.w3.org/feed/) or adding a `<link>` tag corresponding to your RSS feed in the HTML. Thanks to snej and carlmjohnson for the suggestions! Also, the feed works, test passed. :)