Standalone version of django.utils.feedgenerator