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")
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")
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")