org.mycore.frontend.indexbrowser
Class MCRGoogleSitemapServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.mycore.frontend.servlets.MCRServlet
              extended by org.mycore.frontend.indexbrowser.MCRGoogleSitemapServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public final class MCRGoogleSitemapServlet
extends MCRServlet

This class builds a google sitemap containing links to all documents. The web.xml file should contain a mapping to /sitemap.xml See http://www.google.com/webmasters/sitemaps/docs/en/protocol.html

Version:
$Revision: 15270 $ $Date: 2009-05-25 17:27:57 +0200 (Mon, 25 May 2009) $
Author:
Frank Luetzenkirchen, Jens Kupferschmidt, Thomas Scheffler (yagee)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mycore.frontend.servlets.MCRServlet
BASE_URL_ATTRIBUTE, trustedProxies
 
Constructor Summary
MCRGoogleSitemapServlet()
           
 
Method Summary
 void doGetPost(MCRServletJob job)
          This method implement the doGetPost method of MCRServlet.
 
Methods inherited from class org.mycore.frontend.servlets.MCRServlet
buildRedirectURL, doGet, doGet, doPost, doPost, generateActiveLinkErrorpage, generateErrorPage, getBaseURL, getLastModified, getLayoutService, getProperty, getRemoteAddr, getServletBaseURL, getSession, handleException, init, initTrustedProxies, render, reportException, think
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCRGoogleSitemapServlet

public MCRGoogleSitemapServlet()
Method Detail

doGetPost

public void doGetPost(MCRServletJob job)
               throws Exception
This method implement the doGetPost method of MCRServlet. It build a XML file for the Google search engine.

Overrides:
doGetPost in class MCRServlet
Parameters:
job - a MCRServletJob instance
Throws:
Exception