encoding rss stuff