예제 #1
0
def yousei_raws_org_feed(sub=""):
    try:
        feed = yousei_raws_org.AtomGenerator("http://yousei-raws.org/%s" % sub, cache)
    except IOError as e:
        return Response(error_xml(e), mimetype="text/xml")

    return Response(feed.feed(), mimetype="application/atom+xml")
예제 #2
0
def kuroi_raws_ws_feed(sub=""):
    try:
        feed = kuroi_raws_ws.AtomGenerator("http://kuroi.raws.ws/%s" % sub, cache)
    except IOError as e:
        return Response(error_xml(e), mimetype="text/xml")

    return Response(feed.feed(), mimetype="application/atom+xml")
예제 #3
0
def nya_sh_feed(sub=""):
    try:
        feed = nya_sh.AtomGenerator("http://nyash.org/%s" % sub, cache)
    except IOError as e:
        return Response(error_xml(e), mimetype="text/xml")

    return Response(feed.feed(), mimetype="application/atom+xml")