%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page trimDirectiveWhitespaces="true" %> <%@ page import="org.crosswire.utils.Sessions" %> <%@ page import="org.crosswire.community.projects.ntmss.data.ProjectManagement" %> <%@ page import="org.crosswire.community.projects.ntmss.data.ProjectManagement.DocumentWithStatus" %> <% response.setContentType("text/xml"); String userName = Sessions.getSessionStringValue(request, "userName"); Integer limitToProject = null; try { limitToProject = Integer.parseInt(request.getParameter("limitToProject")); } catch(Exception e) {} boolean anonymous = userName == null || userName.length() == 0; DocumentWithStatus docs[] = ProjectManagement.getIndexingStatus(limitToProject); %>