Package org.mycore.frontend.indexbrowser
Class MCRGoogleSitemapServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.mycore.frontend.servlets.MCRServlet
org.mycore.frontend.indexbrowser.MCRGoogleSitemapServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
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$ $Date$
- Author:
- Frank Lützenkirchen, Jens Kupferschmidt, Thomas Scheffler (yagee)
- See Also:
-
Field Summary
Fields inherited from class org.mycore.frontend.servlets.MCRServlet
ATTR_MYCORE_SESSION, CURRENT_THREAD_NAME_KEY, INITIAL_SERVLET_NAME_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doGetPost
(MCRServletJob job) This method implement the doGetPost method of MCRServlet.Methods inherited from class org.mycore.frontend.servlets.MCRServlet
allowCrossDomainRequests, buildRedirectURL, cleanupMCRSession, doGet, doGet, doPost, doPost, getErrorI18N, getLastModified, getLayoutService, getProperty, getReferer, getServletBaseURL, getSession, handleException, init, initializeMCRSession, render, reportException, think, toReferrer, toReferrer
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, service, service
Methods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
MCRGoogleSitemapServlet
public MCRGoogleSitemapServlet()
-
-
Method Details
-
doGetPost
This method implement the doGetPost method of MCRServlet. It build a XML file for the Google search engine.- Overrides:
doGetPost
in classMCRServlet
- Parameters:
job
- a MCRServletJob instance- Throws:
Exception
-