<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page trimDirectiveWhitespaces="true" %> <%@ page import="org.crosswire.community.projects.ntmss.INTF" %> <%@ page import="org.crosswire.community.projects.ntmss.data.Document" %> <%@ page import="java.io.File" %> <%@ page import="java.util.Vector" %> <% int days = 30; try { days = Integer.parseInt(request.getParameter("days")); } catch (Exception e) {} response.setContentType("text/xml"); Document docs[] = Document.getRecentlyUpdatedDocuments(days); if (docs.length == 1 && docs[0].getValue("DOCUMENTID") == null) docs = new Document[0]; %> <% for (Document doc : docs) { %> " imageCount="<%=doc.getIntValue("IMAGECOUNT")%>" imageUserID="<%=doc.getValue("IMAGEUSERID")%>" verseCount="<%=doc.getIntValue("VERSECOUNT")%>" verseUserID="<%=doc.getValue("VERSEUSERID")%>" featureCount="<%=doc.getIntValue("FEATURECOUNT")%>" featureUserID="<%=doc.getValue("FEATUREUSERID")%>" /> <% } %>