Closed otherjoel closed 2 years ago
Add support for specifying a URL for a stylesheet in feed XML, allowing generated feeds to be styled (see, e.g., https://github.com/genmon/aboutfeeds/issues/8).
Methodology:
#lang racket/base (require xml) (display-xml (document (prolog (list (p-i 'racket 'racket 'xml "version=\"1.0\" encoding=\"UTF-8\"") (p-i 'racket 'racket 'xml-stylesheet "href=\"/pretty-feed-v3.xsl\" type=\"text/xsl\"")) #f '()) (xexpr->xml '(div "hi")) '()))
Feature documentation
Add support for specifying a URL for a stylesheet in feed XML, allowing generated feeds to be styled (see, e.g., https://github.com/genmon/aboutfeeds/issues/8).
Methodology: