Implemented the same in RSS via:
https://github.com/discourse/discourse/commit/01341f33e3f16777767d0ad80008c52d4d44d941