functionality used for rss feeds