added some tweaks for ATOM feed support