コード例 #1
0
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
コード例 #2
0
ファイル: device.py プロジェクト: deepak02/xyz_gpod
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
コード例 #3
0
ファイル: device.py プロジェクト: gpodder/mygpo
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
コード例 #4
0
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