Wikinews:Tech/Reader Server
Jump to navigation
Jump to search
Purpose[edit]
Serve 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[edit]
latest[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: