From 5b4d03923d33998372e339cfe21b7b87f22af290 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Fri, 15 Jan 2021 18:54:15 +0000
Subject: [PATCH] Text bearbeiten und speichern, weiter in arbeit

---
 web/META-INF/daten/www/WEB-INF/web.xml |   48 ++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 40 insertions(+), 8 deletions(-)

diff --git a/web/META-INF/daten/www/WEB-INF/web.xml b/web/META-INF/daten/www/WEB-INF/web.xml
index b63d894..8a30ef1 100644
--- a/web/META-INF/daten/www/WEB-INF/web.xml
+++ b/web/META-INF/daten/www/WEB-INF/web.xml
@@ -2,14 +2,6 @@
 <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
     <description>Oeffentliches Verzeichnis der WebBox</description>
     <display-name>data</display-name>
-    <filter>
-        <filter-name>MarkdownFilter</filter-name>
-        <filter-class>de.uhilger.wbx.web.MarkdownFilter</filter-class>
-    </filter>
-    <filter-mapping>
-        <filter-name>MarkdownFilter</filter-name>
-        <url-pattern>/*</url-pattern>
-    </filter-mapping>
     <servlet>
         <servlet-name>view</servlet-name>
         <servlet-class>de.uhilger.wbx.web.ViewServlet</servlet-class>
@@ -26,6 +18,34 @@
         <servlet-name>TNServlet</servlet-name>
         <servlet-class>de.uhilger.wbx.web.TNServlet</servlet-class>
     </servlet>
+    <servlet>
+        <servlet-name>feed</servlet-name>
+        <servlet-class>de.uhilger.wbx.web.FeedServlet</servlet-class>
+    </servlet>
+    <servlet>
+        <servlet-name>AdocServlet</servlet-name>
+        <servlet-class>de.uhilger.wbx.web.AdocServlet</servlet-class>
+        <init-param>
+            <param-name>debug</param-name>
+            <param-value>0</param-value>
+        </init-param>
+        <init-param>
+            <param-name>listings</param-name>
+            <param-value>false</param-value>
+        </init-param>
+    </servlet>
+    <servlet>
+      <servlet-name>MarkdownServlet</servlet-name>
+      <servlet-class>de.uhilger.wbx.web.MdServlet</servlet-class>
+        <init-param>
+            <param-name>debug</param-name>
+            <param-value>0</param-value>
+        </init-param>
+        <init-param>
+            <param-name>listings</param-name>
+            <param-value>false</param-value>
+        </init-param>
+    </servlet>
     <servlet-mapping>
         <servlet-name>view</servlet-name>
         <url-pattern>*.htmi</url-pattern>
@@ -37,6 +57,18 @@
         <url-pattern>*.jpeg</url-pattern>
         <url-pattern>*.jpg</url-pattern>
     </servlet-mapping>
+    <servlet-mapping>
+      <servlet-name>feed</servlet-name>
+      <url-pattern>*.rss</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>AdocServlet</servlet-name>
+        <url-pattern>*.adoc</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+      <servlet-name>MarkdownServlet</servlet-name>
+      <url-pattern>*.md</url-pattern>
+    </servlet-mapping>    
     <mime-mapping>
         <extension>htmi</extension>
         <mime-type>text/html</mime-type>

--
Gitblit v1.9.3