code: private static List<News> findNews(
  		ServletContext servletContext,
  		HttpServletRequest req,
  		HttpServletResponse resp,
  		SemanticCMS semanticCMS,
  		Page page
  	) throws ServletException, IOException {
  		Book book = semanticCMS.getBook(page.getPageRef().getBookRef());
  		Map<String,String> bookParams = book.getParam();
  		// Find the news
  		int maxItems;
  		{
  			String maxItemsVal = getBookParam(bookParams, CHANNEL_PARAM_PREFIX + "maxItems");
  			if(maxItemsVal != null) {
  				maxItems = Integer.parseInt(maxItemsVal);
  				if(maxItems < 1) throw new ServletException("RSS maxItems may not be less than one: " + maxItems);
  			} else {
  				maxItems = DEFAULT_MAX_ITEMS;
  			}
  		}
  		List<News> allNews = NewsUtils.findAllNews(servletContext, req, resp, page);
  		if(allNews.size() > maxItems) allNews = allNews.subList(0, maxItems);
  		return allNews;
  	}
docs: Finds the news, returns {@code null} when not able to find the news.
  Limits the number of news entries per book "maxItems" settings.