org.mycore.frontend.indexbrowser
Class MCRGoogleSitemapServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.mycore.frontend.servlets.MCRServlet
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
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MCRGoogleSitemapServlet
public MCRGoogleSitemapServlet()
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