Exemplo n.º 1
0
def export_opml():
    rsp = make_response(export_to_opml())
    rsp.headers['Content-Type'] = "application/atom+xml"
    file_date = datetime.today().strftime("%m-%d-%Y")
    rsp.headers['Content-Disposition'] = "attachment; filename=\"%s_export.opml\"" % file_date
    return rsp
Exemplo n.º 2
0
def export_opml():
    rsp = make_response(export_to_opml())
    rsp.headers['Content-Type'] = "application/atom+xml"
    file_date = datetime.today().strftime("%m-%d-%Y")
    rsp.headers['Content-Disposition'] = "attachment; filename=\"%s_export.opml\"" % file_date
    return rsp
Exemplo n.º 3
0
Arquivo: api.py Projeto: orva/leselys
def export_opml():
    rsp = make_response(export_to_opml())
    rsp.headers['Content-Type'] = "application/xml"
    return rsp