Kroc/NoNonsenseForum

Use own HTML5Shiv

Opened this issue · 3 comments

Kroc commented

Loading external scripts is bad, mmkay. It's less reliable, less trustworthy and sometimes slower. NNF should use it's own local HTML5Shiv script. I tried this before, but the script URL could not be fixed by the templater because it is in an HTML comment.

It's possible to wrap a node in an IE conditional comment (http://stackoverflow.com/questions/4991998/adding-conditional-comments-using-domdocument) but this would first require that we fix up DOMTemplate with proper DOM manipulation: Kroc/DOMTemplate#16

Consider using only XML, which means that if we use:

  • a web browser, XML will be converted to HTML using XSLT.
  • an RSS reader, the feeds will just show as RSS always does.

See #240

Kroc commented

XSLT support in browsers is buggy, rapidly bit-rotting and could be removed entirely at any moment. I tried this approach way back in 2008 and it wasn't viable then; even though it would be a simpler, more elegant solution! I cannot rely on Mozilla or Google to fix it since they keep dropping features they don't like, which included RSS.