private void doCategoryFeed(HttpServletRequest request, HttpServletResponse response) throws IOException {
String cat = request.getParameter("name");
String status = request.getParameter("status");
checkCategoryPermission(cat);
AssetPageList pg = getFileManager().getRepository().findAssetsByCategory(cat, false, 0, -1);
Iterator<AssetItem> it = pg.assets.iterator();
List<AtomFeed.AtomEntry> entries = new ArrayList<AtomFeed.AtomEntry>();
buildEntries(request, entries, it, status);
AtomFeed feed = new AtomFeed("Category: " + cat, Calendar.getInstance(), request.getServerName() + cat, request.getParameter(VIEW_URL), request.getRequestURL().toString(), entries, "Guvnor category of items: " + cat);
response.setContentType("application/atom+xml");