News for hackers. Stuff that matters.
Re:Show HN: Browse my blog with netcat/plain TCP by alexellisuk on Tuesday January 21, 2020 @04:50PM (#22112032)
How do you filter out the CSS etc for plaintext viewers? /txt/feed is a new one on me. Any docs on it?
Re:Show HN: Browse my blog with netcat/plain TCP by anderspitman on Tuesday January 21, 2020 @05:18PM (#22112284)
I'm not currently doing any filtering. The content is in Markdown, and I'm using a home grown static site generator to make the final output. For everything under /txt/, I just append a simple header section. You can see the really hacky code I'm using to generate it here:

https://github.com/anderspitman/anderspitman.net/blob/master...