cloudflare / lol-html

Low output latency streaming HTML parser/rewriter with CSS selector-based API
https://crates.io/crates/lol-html
BSD 3-Clause "New" or "Revised" License
1.47k stars 82 forks source link

Looser syntax for RSS feeds? #209

Closed aleclarson closed 7 months ago

aleclarson commented 8 months ago

I'm using HTMLRewriter to parse RSS feeds. I know this is a rare use case for HTMLRewriter, but I suspect that only a few small changes would be needed for RSS feeds to be parsed as expected.

Current issues

  1. </link> closing tags are not supported
  2. Self-closing tags are not supported
  3. Namespaced tags are not supported (e.g. <dc:creator>)