chapter news planet should be more automated/easy to maintain
Bug #654973 reported by
Parker Phinney
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Web Team projects |
New
|
Low
|
Parker Phinney |
Bug Description
Here's what I'm imagining:
extend the chapter database python which scrapes data out of the google doc to do something like this:
* look for a field like "uses_chapter_
* look for a separate field like "feed." this is the feed
* output all this data in the form of the right kind of config file to ~/planet/
notes:
* make sure the code is in the svn repo (http://
* run it as a chronjob
Changed in web: | |
assignee: | nobody → Parker Phinney (gameguy43) |
importance: | Undecided → Low |
To post a comment you must log in.
The chapter news is kind of embarrassing right now because it includes so few active websites that it appears that our chapters aren't doing anything. We should fix that.
I wanted to find the config file, so i checked the website documentation wiki page and found the right info here: wiki.freecultur e.org/Website_ documentation# The_Chapter_ News_Feed_ (and_the_ personal_ Planet) planet/ chapters- planet/ config. ini
http://
that file is:
/home/freecult/
So the freecult user should run a cron that takes info, as described above, from the chapter database and generates that config file.
Implementing this is actually just a simple modification to some existing python that slurps out the chapter database info and does various things with it, including putting it in a nice json file. That code is here: freeculture. org:8080/ svn/googledoc- chapterdb- scripts/ trunk/
http://