* Categories map to feed ids available on this server. This might be only
* the feeds belonging to a server's "registered users" or all feeds cached
* by a server or some logical place inbetween.
*/
public ResponseContext getCategories(RequestContext request) {
return new StreamWriterResponseContext(request.getAbdera()) {
protected void writeTo(StreamWriter sw) throws IOException {
sw.startDocument().startCategories(false);
for (String id : persistence.getFeedIds(0, 100)) {
sw.writeCategory(id);
}