Corrections and bug fix in rss encoding