|
@ -5,15 +5,15 @@ webapi where you can request scheduled rss feed publishing. part of the crunk su |
|
|
## readme driven development |
|
|
## readme driven development |
|
|
* crunk-scheduler should be able to take post request from other applications |
|
|
* crunk-scheduler should be able to take post request from other applications |
|
|
- set the time something should be added to the rss feed. |
|
|
- set the time something should be added to the rss feed. |
|
|
- what should be added to the rss feed (think logbot style options) |
|
|
- what should be added to the rss feed (now it can do text, md files, images soon?) |
|
|
- optional: multiple feeds, specify which feed. |
|
|
- optional: multiple feeds, specify which feed. |
|
|
- handle with Flask (could look into flask api packages) |
|
|
- handle with Flask (could look into flask api packages) |
|
|
|
|
|
|
|
|
* crunk-scheduler should have a simple database (sqlite maybe) where the scheduled posts are stored. |
|
|
* crunk-scheduler should have a simple database (sqlite maybe) where the scheduled posts are stored. |
|
|
- store files on disk not in db. |
|
|
- store files on disk not in db. |
|
|
- use Flask-SQLAlchemy and Flask-Migrate |
|
|
- use Flask-SQLAlchemy and Flask-Migrate ✅ |
|
|
* periodically check if there are new things that need to be posted. |
|
|
* periodically check if there are new things that need to be posted. |
|
|
- check db and use Flask-APScheduler |
|
|
- check db and use Flask-APScheduler ✅ |
|
|
* generate the rss feed. |
|
|
* generate the rss feed. |
|
|
- use feedgenerator |
|
|
- use feedgenerator ✅ |
|
|
- serve rss from static folder using Flask Blueprint |
|
|
- serve rss from static folder using Flask Blueprint ✅ |
|
|