java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.semanticcms.news.rss.RssServlet
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
Automated RSS feeds for each page, if it or any of its
child pages have any news.
TODO: Generate or convert all relative paths to absolute paths to be in strict compliance with RSS. Then test on Android gReader app which does not currently handle relative paths.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doGet
(HttpServletRequest req, HttpServletResponse resp) protected long
protected void
service
(HttpServletRequest req, HttpServletResponse resp) Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Constructor Details
-
RssServlet
public RssServlet()
-
-
Method Details
-
service
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
service
in classHttpServlet
- Throws:
ServletException
IOException
-
getLastModified
- Overrides:
getLastModified
in classHttpServlet
-
doGet
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
doGet
in classHttpServlet
- Throws:
ServletException
IOException
-