# Styling RSS w XLS notes
XML files can include both xml-stylesheets (XSLT) and normal stylesheets (CSS).
XSLT files are transformations, and allow you to process an XML doc into an HTML doc (among other things).
In this case, it doesn't matter if we import the CSS here or via /rss/rss.xsl -- it gets applied either way.
The XSLT will output HTML for us, but the HTML content from the RSS feed (i.e., the bodies of posts) must be unescaped.
There's a special attribute (`disable-output-escaping`) which will do that.
However, we need to run some JS, too, because not every browser supports decoding html like that.
* firefox does not seem to support `disable-output-escaping="yes"`, so it requires the JS in rss.js
* chrome does support `disable-output-escaping="yes"`, so don't remove those attrs
The JS works by testing `#cometestme`, and then (if needed) looping over elements matching `[name=decodable]` and basically `el.innerHTML = el.textContent`.
Note, `disable-output-escaping="yes"` is a legacy feature from XSLT v1.0; the new way to do it is with character maps.
When I tried those, they didn't seem to work in firefox (which is when I tried the original JS).
IDK if chrome support character maps, but if it does, then that is a good update to implement. TODO I guess.
climbing update (28 aug)<p>I started doing outdoor bouldering about a week ago (we've been in lockdown for the last ~2 months). I found an unclimbed wall that's close enough to home (for current exercise-distance restrictions) and have been working on that recently. I've posted some videos of this to my <a href="https://www.youtube.com/playlist?list=PLyqNe7EpSQmkLZqf1UY4J4FopM-tBkocC&index=5">max's bouldering</a> playlist on YT. I've also documented the wall on theCrag: https://www.thecrag.com/climbing/australia/new-south-wales-and-act/sydney-metropolitan/area/5156697663</p>
<p>Before lockdown I was 4-5 weeks in to my 'send all the purples' goal at my gym (purples are bouldering routes of a particular grade) -- my gym resets a few sections of wall every week and has a 6 week cycle.</p>
climbing
https://xk.io/n/10003
<div class="bg-white even:bg-white w-full max-w-full">
<div>
<div class="py-2 ">
<div class="content markdown p-4 bg-c-content-body-bg rounded">
<p><a href="https://www.youtube.com/watch?v=2GVO3u7TR8I&list=PLyqNe7EpSQmkLZqf1UY4J4FopM-tBkocC&index=11">Sent my first outdoor V3 on Sunday</a></p>
</div>
</div>
</div>
</div>
climbingTue, 21 Sep 2021 11:07:22 +0000
https://xk.io/n/10013
https://xk.io/n/10013u/max/a/110013