def symbian_opml(request, device): subscriptions = simple.get_subscriptions(request.user, device.uid) subscriptions = map(symbian_opml_changes, subscriptions) response = simple.format_podcast_list(subscriptions, 'opml', request.user.username) response['Content-Disposition'] = 'attachment; filename=%s.opml' % device.uid return response
def opml(request, device): response = simple.format_podcast_list( simple.get_subscriptions(request.user, device.uid), 'opml', request.user.username) response[ 'Content-Disposition'] = 'attachment; filename=%s.opml' % device.uid return response
def opml(request, device): response = simple.format_podcast_list( simple.get_subscriptions(request.user, device.uid), 'opml', request.user.username, ) response['Content-Disposition'] = 'attachment; filename=%s.opml' % device.uid return response
def opml(request, device): response = simple.format_podcast_list( simple.get_subscriptions(request.user, device.uid), "opml", request.user.username, ) response["Content-Disposition"] = "attachment; filename=%s.opml" % device.uid return response