Wikinews:Tech/Reader Server
Purpose
editServe as a "proxy" for the mobile reader apps such as Android Reader to the Wikinews server.
Components
edit- Daemon - Check for new stories every X minutes and download to database
- API - Handle requests from the client
API Calls
editlatest
edit- POST: ?mode=latest
- Return Format: JSON
- Return Data:
- 20 rows
- ID, title, url, revid, when
latestfull
edit- POST: ?mode=latestfull
- Return Format: JSON
- Return Data:
- 20 rows
- ID, title, url, revid, when, fulltext
textonly
edit- POST: ?mode=textonly, id=ITEMID
- Return Format: text-only
- Return Data: 1 articles text
submitbug
edit- POST: mode=submitbug, email=EMAILVAL, summary=SUMMARYVAL, desc=FULLDESCVAL
- Return Format:
- Return Data: