mirror of
https://github.com/kennethreitz-archive/atom.git
synced 2026-06-05 23:30:19 +00:00
next
This commit is contained in:
+2
-1
@@ -45,4 +45,5 @@ Unclear
|
||||
|
||||
The following items are currently unclear and need to be fully thought out:
|
||||
|
||||
- Editing on the frontend. Perhaps admin.kennethreitz.org? I think I'd like it to just be built in.
|
||||
- Editing on the frontend. Perhaps admin.kennethreitz.org? I think I'd like it to just be built in.
|
||||
- Look into Twilio's Flask Rest thing.
|
||||
@@ -0,0 +1,29 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import requests
|
||||
|
||||
from flask import Flask
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route('/')
|
||||
def hello_world():
|
||||
return 'Hello World!'
|
||||
|
||||
|
||||
@app.route('/content/<uuid>')
|
||||
def get_content(uuid):
|
||||
pass
|
||||
|
||||
# TODO: .rss?
|
||||
@app.route('/<collection>.atom')
|
||||
def get_collection_feed(collection):
|
||||
pass
|
||||
|
||||
@app.route('/<collection>/<category>.atom')
|
||||
def get_category_feed(collection, category):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run()
|
||||
Reference in New Issue
Block a user