Wikinews:Tech/Reader Server

Purpose
Serve as a "proxy" for the mobile reader apps such as Android Reader to the Wikinews server.

Components

 * Daemon - Check for new stories every X minutes and download to database
 * API - Handle requests from the client

latest

 * POST: ?mode=latest
 * Return Format: JSON
 * Return Data:
 * 20 rows
 * ID, title, url, revid, when

latestfull

 * POST: ?mode=latestfull
 * Return Format: JSON
 * Return Data:
 * 20 rows
 * ID, title, url, revid, when, fulltext

textonly

 * POST: ?mode=textonly, id=ITEMID
 * Return Format: text-only
 * Return Data: 1 articles text

submitbug

 * POST: mode=submitbug, email=EMAILVAL, summary=SUMMARYVAL, desc=FULLDESCVAL
 * Return Format:
 * Return Data: