Avoid duplicating of timestamps in generated RSS (PLA-1622)

This method is quite long, maybe you can extract some functionality?