2 ms·
Little-known trick: You can add an `xml-stylesheet` processing instruction at the top of your XML-based feed format to transform it via XSLT into HTML. When v
by cxr 4y ago
Little-known trick:
You can add an `xml-stylesheet` processing instruction at the top of your XML-based feed format to transform it via XSLT into HTML. When viewed in a Web browser, it will look like an ordinary Web page, but in reality it's actually RSS/Atom consumable by anyone's feed reader. Nobody has to hunt for the URL to the RSS/Atom feed, because the URL of the top-level post index for your blog is the URL to the RSS/Atom feed. You also don't have to set up your static site generator to generate a separate feed file. Neat!
Can't do that with JSON.