Modified: portals/site-live/applications/webcontent2/build-from-source.html URL: http://svn.apache.org/viewvc/portals/site-live/applications/webcontent2/build-from-source.html?rev=1901430&r1=1901429&r2=1901430&view=diff ============================================================================== --- portals/site-live/applications/webcontent2/build-from-source.html (original) +++ portals/site-live/applications/webcontent2/build-from-source.html Tue May 31 02:23:06 2022 @@ -1,302 +1,249 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - - - - - - - - - - - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 26 May 2022 --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Apache Portals Applications - + Building Web Content Application 2 from Source with Maven-2 - </title> - <style type="text/css" media="all"> - @import url("../css/maven-base.css"); - @import url("../css/maven-theme.css"); - @import url("../css/site.css"); - </style> - <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> - </head> - <body class="composite"> - <div id="banner"> - <a href="http://portals.apache.org/" id="bannerLeft"> - - <img src="../images/apache-portals.gif" alt="" /> - - </a> - <a href="http://portals.apache.org/applications/" id="bannerRight"> - - Apache Portals Applications - - </a> - <div class="clear"> - <hr/> - </div> - </div> - <div id="breadcrumbs"> + </title> + <style type="text/css" media="all"> + @import url("../css/maven-base.css"); + @import url("../css/maven-theme.css"); + @import url("../css/site.css"); + </style> + <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> + <meta name="Date-Revision-yyyymmdd" content="20220526" /> + <meta http-equiv="Content-Language" content="en" /> + + </head> + <body class="composite"> + <div id="banner"> + <a href="http://portals.apache.org/" id="bannerLeft"> + <img src="../images/apache-portals.gif" alt="Apache Software Foundation" /> + </a> + <a href="http://portals.apache.org/applications/" id="bannerRight"> + Apache Portals Applications + </a> + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + + + <div class="xleft"> + <span id="publishDate">Last Published: 26 May 2022</span> + | <span id="projectVersion">Version: 1.0</span> + </div> + <div class="xright"> <a href="http://portals.apache.org/" class="externalLink" target="_nw" title="Portals">Portals</a> + | + <a href="http://portals.apache.org/jetspeed-2" class="externalLink" target="_nw" title="Jetspeed-2">Jetspeed-2</a> + | + <a href="http://portals.apache.org/bridges" class="externalLink" target="_nw" title="Bridges">Bridges</a> + + + </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + + + <h5>Essentials</h5> + <ul> + <li class="none"> + <a href="../index.html" title="Welcome">Welcome</a> + </li> + <li class="none"> + <a href="../news.html" title="News and Status">News and Status</a> + </li> + <li class="none"> + <a href="../download.html" title="Download">Download</a> + </li> + <li class="none"> + <a href="../getting-started.html" title="Getting Started">Getting Started</a> + </li> + </ul> + <h5>Subprojects</h5> + <ul> + <li class="none"> + <a href=".././portals-gems/index.html" title="Gems">Gems</a> + </li> + <li class="none"> + <a href=".././demo/index.html" title="Demo">Demo</a> + </li> + <li class="none"> + <a href=".././rss-main/index.html" title="RSS">RSS</a> + </li> + <li class="expanded"> + <a href=".././webcontent2/index.html" title="WebContent-2">WebContent-2</a> + <ul> + <li class="none"> + <a href=".././webcontent2/modules-overview.html" title="Modules Overview">Modules Overview</a> + </li> + <li class="none"> + <a href=".././webcontent2/content-rewriter-module.html" title="Content Rewriter Module">Content Rewriter Module</a> + </li> + <li class="none"> + <a href=".././webcontent2/reverse-proxy-module.html" title="Reverse Proxy Module">Reverse Proxy Module</a> + </li> + <li class="none"> + <a href=".././webcontent2/portlets-module.html" title="Portlets Module">Portlets Module</a> + </li> + <li class="none"> + <a href=".././webcontent2/war-module.html" title="WAR Module">WAR Module</a> + </li> + <li class="none"> + <a href=".././webcontent2/build-from-source.html" title="Build from source">Build from source</a> + </li> + <li class="none"> + <a href=".././webcontent2/apidocs/index.html" title="JavaDocs">JavaDocs</a> + </li> + <li class="none"> + <a href=".././webcontent2/faq.html" title="FAQ">FAQ</a> + </li> + </ul> + </li> + <li class="none"> + <a href=".././webcontent/index.html" title="WebContent-1">WebContent-1</a> + </li> + <li class="none"> + <a href=".././dbbrowser/index.html" title="DB Browser">DB Browser</a> + </li> + <li class="none"> + <a href=".././logging/index.html" title="Logging">Logging</a> + </li> + </ul> + <h5>Support</h5> + <ul> + <li class="none"> + <a href="../team-list.html" title="Project Team">Project Team</a> + </li> + <li class="none"> + <a href="../license.html" title="Project License">Project License</a> + </li> + <li class="none"> + <a href="http://wiki.apache.org/portals/applications" class="externalLink" title="Project Wiki">Project Wiki</a> + </li> + <li class="none"> + <a href="../mail-lists.html" title="Mailing List">Mailing List</a> + </li> + <li class="none"> + <a href="../issue-tracking.html" title="Issue Tracking">Issue Tracking</a> + </li> + </ul> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + + + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> + <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor + license agreements. See the NOTICE file distributed with this work for additional + information regarding copyright ownership. The ASF licenses this file to + You under the Apache License, Version 2.0 (the "License"); you may not use + this file except in compliance with the License. You may obtain a copy of + the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required + by applicable law or agreed to in writing, software distributed under the + License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS + OF ANY KIND, either express or implied. See the License for the specific + language governing permissions and limitations under the License. --> + + <div class="section"> +<h2>Building Web Content Application 2 from Source with Maven-2<a name="Building_Web_Content_Application_2_from_Source_with_Maven-2"></a></h2> + +<div class="section"> +<h3>Prerequisites<a name="Prerequisites"></a></h3> + +<p> + Building and deploying Web Content Application 2 from source has the + following prerequisites: + </p> + +<ul> - - - - - - - - <div class="xleft"> - Last Published: 4 March 2015 - </div> - <div class="xright"> <a href="http://portals.apache.org/" class="externalLink">Portals</a> - | - <a href="http://portals.apache.org/jetspeed-2" class="externalLink">Jetspeed-2</a> - | - <a href="http://portals.apache.org/bridges" class="externalLink">Bridges</a> - - - - - - - - - </div> - <div class="clear"> - <hr/> - </div> - </div> - <div id="leftColumn"> - <div id="navcolumn"> - - - - - - - - - <h5>Essentials</h5> - <ul> - - <li class="none"> - <a href="../index.html">Welcome</a> - </li> - - <li class="none"> - <a href="../news.html">News and Status</a> - </li> - - <li class="none"> - <a href="../download.html">Download</a> - </li> - - <li class="none"> - <a href="../getting-started.html">Getting Started</a> - </li> - </ul> - <h5>Subprojects</h5> - <ul> - - <li class="none"> - <a href=".././portals-gems/index.html">Gems</a> - </li> - - <li class="none"> - <a href=".././demo/index.html">Demo</a> - </li> - - <li class="none"> - <a href=".././rss-main/index.html">RSS</a> - </li> - +<li>Java Development Kit 1.5</li> - - - - - - - - - - - - - - - - - - <li class="expanded"> - <a href=".././webcontent2/index.html">WebContent-2</a> - <ul> - - <li class="none"> - <a href=".././webcontent2/modules-overview.html">Modules Overview</a> +<li> + <a class="externalLink" href="http://maven.apache.org/">Apache Maven</a> + 2.2.1+ </li> - - <li class="none"> - <a href=".././webcontent2/content-rewriter-module.html">Content Rewriter Module</a> - </li> - - <li class="none"> - <a href=".././webcontent2/reverse-proxy-module.html">Reverse Proxy Module</a> - </li> - - <li class="none"> - <a href=".././webcontent2/portlets-module.html">Portlets Module</a> - </li> - - <li class="none"> - <a href=".././webcontent2/war-module.html">WAR Module</a> - </li> - - <li class="none"> - <a href=".././webcontent2/build-from-source.html">Build from source</a> - </li> - - <li class="none"> - <a href=".././webcontent2/apidocs/index.html">JavaDocs</a> - </li> - - <li class="none"> - <a href=".././webcontent2/faq.html">FAQ</a> - </li> - </ul> - </li> - - <li class="none"> - <a href=".././webcontent/index.html">WebContent-1</a> - </li> - - <li class="none"> - <a href=".././dbbrowser/index.html">DB Browser</a> - </li> - - <li class="none"> - <a href=".././logging/index.html">Logging</a> - </li> - </ul> - <h5>Support</h5> - <ul> - - <li class="none"> - <a href="../team-list.html">Project Team</a> - </li> - - <li class="none"> - <a href="../license.html">Project License</a> - </li> - - <li class="none"> - <a href="http://wiki.apache.org/portals/applications" class="externalLink">Project Wiki</a> - </li> - - <li class="none"> - <a href="../mail-lists.html">Mailing List</a> - </li> - - <li class="none"> - <a href="../issue-tracking.html">Issue Tracking</a> + +<li> + Either a + <a class="externalLink" href="http://portals.apache.org/applications/download.html" target="_blank">downloaded</a> + release source distribution archive + or directly checked out from the ASF Subversion source respository + using a SVN client tool. + <br /> + You can checkout the sources from + <a class="externalLink" href="http://svn.apache.org/repos/asf/portals/applications/webcontent/trunk/" target="_blank">http://svn.apache.org/repos/asf/portals/applications/webcontent/trunk/</a> </li> - </ul> - <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> - <img alt="Built by Maven" src="../images/logos/maven-feather.png"></img> - </a> - - - - - - - - - </div> - </div> - <div id="bodyColumn"> - <div id="contentBox"> - <authors><person name="Woonsan Ko" email="[email protected]"></authors><div class="section"><h2><a name="Building_Web_Content_Application_2_from_Source_with_Maven-2"></a>Building Web Content Application 2 from Source with Maven-2</h2> -<div class="section"><h3><a name="Prerequisites"></a>Prerequisites</h3> -<p> - Building and deploying Web Content Application 2 from source has the - following prerequisites: - </p> -<ul><li>Java Development Kit 1.5</li> -<li><a class="externalLink" href="http://maven.apache.org/">Apache Maven</a> - 2.2.1+ - </li> -<li> - Either a - <a class="externalLink" href="http://portals.apache.org/applications/download.html">downloaded</a> - release source distribution archive - or directly checked out from the ASF Subversion source respository - using a SVN client tool. - <br /> - - You can checkout the sources from - <a class="externalLink" href="http://svn.apache.org/repos/asf/portals/applications/webcontent/trunk/">http://svn.apache.org/repos/asf/portals/applications/webcontent/trunk/</a></li> -</ul> -</div> -<div class="section"><h3><a name="Standard_Maven_build__install"></a>Standard Maven build & install</h3> -<p> - A full build and installation of all the Web Content Application 2 components - into your local Maven repository is done using the standard - Maven install goal like the following example: - <div class="source"><pre> -$ svn checkout http://svn.apache.org/repos/asf/portals/applications/webcontent/trunk webcontent -$ cd webcontent -$ mvn clean install - </pre> -</div> -</p> -<p> - Now you can add dependencies in your project pom.xml files. - </p> -<p> - When you build from the trunk, the version of the modules installed in your local maven repository - will probably have '-SNAPSHOT' suffix. e.g, '2.0-SNAPSHOT'. You should use this version number in dependencies. - However, if you want to use a different version number locally for some reason - (e.g, '2.0-r1649250' with a specific Subversion revision number instead of '2.0-SNAPSHOT'), - then you might want to use - <a class="externalLink" href="http://mojo.codehaus.org/versions-maven-plugin/set-mojo.html">Versions Maven Plugin</a> - like the following example before building: - <div class="source"><pre> -$ mvn versions:set -DnewVersion="2.0-r1649250" -$ mvn clean install - </pre> -</div> -<em>Note: </em>Do not change it to the official release version numbers (e.g, 2.0, 2.0-rc-1, 2.0-beta-1, etc.) - because it can conflict with our official releases! - </p> -</div> -</div> - + </ul> </div> - </div> - <div class="clear"> - <hr/> - </div> - <div id="footer"> - <div class="xright">© - 2004-2015 - - Apache Software Foundation - - - - - - - - - </div> - <div class="clear"> - <hr/> + +<div class="section"> +<h3>Standard Maven build & install<a name="Standard_Maven_build__install"></a></h3> + +<p> + A full build and installation of all the Web Content Application 2 components + into your local Maven repository is done using the standard + Maven install goal like the following example: + </p> +<div class="source"> +<pre> +$ svn checkout http://svn.apache.org/repos/asf/portals/applications/webcontent/trunk webcontent +$ cd webcontent +$ mvn clean install + </pre></div> + + +<p> + Now you can add dependencies in your project pom.xml files. + </p> + +<p> + When you build from the trunk, the version of the modules installed in your local maven repository + will probably have '-SNAPSHOT' suffix. e.g, '2.0-SNAPSHOT'. You should use this version number in dependencies. + However, if you want to use a different version number locally for some reason + (e.g, '2.0-r1649250' with a specific Subversion revision number instead of '2.0-SNAPSHOT'), + then you might want to use + <a class="externalLink" href="http://mojo.codehaus.org/versions-maven-plugin/set-mojo.html">Versions Maven Plugin</a> + like the following example before building: + </p> +<div class="source"> +<pre> +$ mvn versions:set -DnewVersion="2.0-r1649250" +$ mvn clean install + </pre></div> + <i>Note: </i>Do not change it to the official release version numbers (e.g, 2.0, 2.0-rc-1, 2.0-beta-1, etc.) + because it can conflict with our official releases! + </div> </div> - </body> -</html> + + + </div> + </div> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright"> + Copyright © 2004-2022 + <a href="http://www.apache.org/">Apache Software Foundation</a>. + All Rights Reserved. + + </div> + <div class="clear"> + <hr/> + </div> + </div> + </body> +</html>
Modified: portals/site-live/applications/webcontent2/content-rewriter-module.html URL: http://svn.apache.org/viewvc/portals/site-live/applications/webcontent2/content-rewriter-module.html?rev=1901430&r1=1901429&r2=1901430&view=diff ============================================================================== --- portals/site-live/applications/webcontent2/content-rewriter-module.html (original) +++ portals/site-live/applications/webcontent2/content-rewriter-module.html Tue May 31 02:23:06 2022 @@ -1,339 +1,332 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - - - - - +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 26 May 2022 --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <title>Apache Portals Applications - + Apache Portals Web Content Application 2 - Content Rewriter Module</title> + <style type="text/css" media="all"> + @import url("../css/maven-base.css"); + @import url("../css/maven-theme.css"); + @import url("../css/site.css"); + </style> + <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> + <meta name="Date-Revision-yyyymmdd" content="20220526" /> + <meta http-equiv="Content-Language" content="en" /> + + </head> + <body class="composite"> + <div id="banner"> + <a href="http://portals.apache.org/" id="bannerLeft"> + <img src="../images/apache-portals.gif" alt="Apache Software Foundation" /> + </a> + <a href="http://portals.apache.org/applications/" id="bannerRight"> + Apache Portals Applications + </a> + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + + + <div class="xleft"> + <span id="publishDate">Last Published: 26 May 2022</span> + | <span id="projectVersion">Version: 1.0</span> + </div> + <div class="xright"> <a href="http://portals.apache.org/" class="externalLink" target="_nw" title="Portals">Portals</a> + | + <a href="http://portals.apache.org/jetspeed-2" class="externalLink" target="_nw" title="Jetspeed-2">Jetspeed-2</a> + | + <a href="http://portals.apache.org/bridges" class="externalLink" target="_nw" title="Bridges">Bridges</a> + + + </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + + + <h5>Essentials</h5> + <ul> + <li class="none"> + <a href="../index.html" title="Welcome">Welcome</a> + </li> + <li class="none"> + <a href="../news.html" title="News and Status">News and Status</a> + </li> + <li class="none"> + <a href="../download.html" title="Download">Download</a> + </li> + <li class="none"> + <a href="../getting-started.html" title="Getting Started">Getting Started</a> + </li> + </ul> + <h5>Subprojects</h5> + <ul> + <li class="none"> + <a href=".././portals-gems/index.html" title="Gems">Gems</a> + </li> + <li class="none"> + <a href=".././demo/index.html" title="Demo">Demo</a> + </li> + <li class="none"> + <a href=".././rss-main/index.html" title="RSS">RSS</a> + </li> + <li class="expanded"> + <a href=".././webcontent2/index.html" title="WebContent-2">WebContent-2</a> + <ul> + <li class="none"> + <a href=".././webcontent2/modules-overview.html" title="Modules Overview">Modules Overview</a> + </li> + <li class="none"> + <a href=".././webcontent2/content-rewriter-module.html" title="Content Rewriter Module">Content Rewriter Module</a> + </li> + <li class="none"> + <a href=".././webcontent2/reverse-proxy-module.html" title="Reverse Proxy Module">Reverse Proxy Module</a> + </li> + <li class="none"> + <a href=".././webcontent2/portlets-module.html" title="Portlets Module">Portlets Module</a> + </li> + <li class="none"> + <a href=".././webcontent2/war-module.html" title="WAR Module">WAR Module</a> + </li> + <li class="none"> + <a href=".././webcontent2/build-from-source.html" title="Build from source">Build from source</a> + </li> + <li class="none"> + <a href=".././webcontent2/apidocs/index.html" title="JavaDocs">JavaDocs</a> + </li> + <li class="none"> + <a href=".././webcontent2/faq.html" title="FAQ">FAQ</a> + </li> + </ul> + </li> + <li class="none"> + <a href=".././webcontent/index.html" title="WebContent-1">WebContent-1</a> + </li> + <li class="none"> + <a href=".././dbbrowser/index.html" title="DB Browser">DB Browser</a> + </li> + <li class="none"> + <a href=".././logging/index.html" title="Logging">Logging</a> + </li> + </ul> + <h5>Support</h5> + <ul> + <li class="none"> + <a href="../team-list.html" title="Project Team">Project Team</a> + </li> + <li class="none"> + <a href="../license.html" title="Project License">Project License</a> + </li> + <li class="none"> + <a href="http://wiki.apache.org/portals/applications" class="externalLink" title="Project Wiki">Project Wiki</a> + </li> + <li class="none"> + <a href="../mail-lists.html" title="Mailing List">Mailing List</a> + </li> + <li class="none"> + <a href="../issue-tracking.html" title="Issue Tracking">Issue Tracking</a> + </li> + </ul> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + + + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> + <!-- Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version + 2.0 (the "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 Unless required by + applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES + OR CONDITIONS OF ANY KIND, either express or implied. See the + License for the specific language governing permissions and + limitations under the License. --> + + <div class="section"> +<h2>Content Rewriter Module<a name="Content_Rewriter_Module"></a></h2> + +<p> + Content Rewriter module defines simple APIs to bridge any content rewriting libraries + such as <a class="externalLink" href="http://htmlcleaner.sourceforge.net/" target="_blank">HtmlCleaner</a>. + By default, this module includes HtmlCleaner based content rewriter component + as well as simple text-line based content rewriter component. + </p> + +<div class="section"> +<h3>Installtion<a name="Installtion"></a></h3> + +<p> + If you use <a class="externalLink" href="http://maven.apache.org/" target="_blank">Apache Maven</a> in your project, + then you can add the following dependency to use this module in your project. + </p> + +<p> + </p> +<div class="source"> +<pre> + <dependency> + <groupId>org.apache.portals.applications</groupId> + <artifactId>apa-webcontent2-content-rewriter</artifactId> + <version>${webcontent2.version}</version> + </dependency> + </pre></div> + + </div> + +<div class="section"> +<h3>Class Diagram and Descriptions<a name="Class_Diagram_and_Descriptions"></a></h3> + +<p>Here is a class diagram showing the major interfaces and classes.</p> + <img src="../images/content-rewriter-class-diagram.png" alt="Class Diagram" /> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Portals Applications - Apache Portals Web Content Application 2 - Content Rewriter Module</title> - <style type="text/css" media="all"> - @import url("../css/maven-base.css"); - @import url("../css/maven-theme.css"); - @import url("../css/site.css"); - </style> - <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> - </head> - <body class="composite"> - <div id="banner"> - <a href="http://portals.apache.org/" id="bannerLeft"> - - <img src="../images/apache-portals.gif" alt="" /> - - </a> - <a href="http://portals.apache.org/applications/" id="bannerRight"> - - Apache Portals Applications - - </a> - <div class="clear"> - <hr/> - </div> - </div> - <div id="breadcrumbs"> + +<table border="0" class="bodyTable"> - - - - - - - - <div class="xleft"> - Last Published: 4 March 2015 - </div> - <div class="xright"> <a href="http://portals.apache.org/" class="externalLink">Portals</a> - | - <a href="http://portals.apache.org/jetspeed-2" class="externalLink">Jetspeed-2</a> - | - <a href="http://portals.apache.org/bridges" class="externalLink">Bridges</a> +<tr class="a"> - - - - - - - - </div> - <div class="clear"> - <hr/> - </div> - </div> - <div id="leftColumn"> - <div id="navcolumn"> - - - - - - - - - <h5>Essentials</h5> - <ul> - - <li class="none"> - <a href="../index.html">Welcome</a> - </li> - - <li class="none"> - <a href="../news.html">News and Status</a> - </li> - - <li class="none"> - <a href="../download.html">Download</a> - </li> - - <li class="none"> - <a href="../getting-started.html">Getting Started</a> - </li> - </ul> - <h5>Subprojects</h5> - <ul> - - <li class="none"> - <a href=".././portals-gems/index.html">Gems</a> - </li> - - <li class="none"> - <a href=".././demo/index.html">Demo</a> - </li> - - <li class="none"> - <a href=".././rss-main/index.html">RSS</a> - </li> - +<th>Interface or Class</th> + +<th>Description</th> + </tr> - - +<tr class="b"> - +<td>ContentRewriter</td> - +<td> + The main interface of the Content Rewriter module, + defining a simple <tt>#rewrite(source, sink, context)</tt> method + which should do content rewriting from <tt>source</tt> to <tt>target</tt> + with using the given <tt>context</tt>. + </td> + </tr> + +<tr class="a"> - +<td>Source</td> - +<td> + Abstraction of input source which can give either <tt>java.io.InputStream</tt> + or <tt>java.io.Reader</tt> from the underlying content data source. + </td> + </tr> + +<tr class="b"> - +<td>Sink</td> - +<td> + Abstraction of output target which can give either <tt>java.io.OutputStream</tt> + or <tt>java.io.Writer</tt> to the underlying content data sink. + </td> + </tr> + +<tr class="a"> + +<td>ContentRewritingContext</td> + +<td> + Abstraction of the current content rewriting context which allows to + set/get/iterate attribute objects by name. + <br /> + This context abstraction is designed for the case where the caller needs to + set some environment specific attributes to be referenced by the content rewriter + component during the process. + </td> + </tr> + +<tr class="b"> + +<td>AbstractTextLineContentRewriter</td> +<td> + An abstract simple content rewriting component implementation class + which reads each line from the source and tries to rewrite it to the sink. + <br /> + Derived classes may simply override <tt>#rewriteLine(String line, ContentRewritingContext context)</tt> method + by reading the <tt>line</tt> and <tt>context</tt> attributes + and transforming the <tt>line</tt> to return. + For example, a derived class may use regular expressions to transform the <tt>line</tt>. + </td> + </tr> + +<tr class="a"> + +<td>HtmlCleanerContentRewriter</td> + +<td> + HtmlCleaner based content rewriting component implementation class + which provides properties for the underlying HtmlCleaner instance + and simplified usages for most use cases. + </td> + </tr> + </table> + + </div> + - - <li class="expanded"> - <a href=".././webcontent2/index.html">WebContent-2</a> - <ul> - - <li class="none"> - <a href=".././webcontent2/modules-overview.html">Modules Overview</a> - </li> - - <li class="none"> - <a href=".././webcontent2/content-rewriter-module.html">Content Rewriter Module</a> - </li> - - <li class="none"> - <a href=".././webcontent2/reverse-proxy-module.html">Reverse Proxy Module</a> - </li> - - <li class="none"> - <a href=".././webcontent2/portlets-module.html">Portlets Module</a> - </li> - - <li class="none"> - <a href=".././webcontent2/war-module.html">WAR Module</a> - </li> - - <li class="none"> - <a href=".././webcontent2/build-from-source.html">Build from source</a> - </li> - - <li class="none"> - <a href=".././webcontent2/apidocs/index.html">JavaDocs</a> - </li> - - <li class="none"> - <a href=".././webcontent2/faq.html">FAQ</a> - </li> - </ul> - </li> - - <li class="none"> - <a href=".././webcontent/index.html">WebContent-1</a> - </li> - - <li class="none"> - <a href=".././dbbrowser/index.html">DB Browser</a> - </li> - - <li class="none"> - <a href=".././logging/index.html">Logging</a> - </li> - </ul> - <h5>Support</h5> - <ul> - - <li class="none"> - <a href="../team-list.html">Project Team</a> - </li> - - <li class="none"> - <a href="../license.html">Project License</a> - </li> - - <li class="none"> - <a href="http://wiki.apache.org/portals/applications" class="externalLink">Project Wiki</a> - </li> - - <li class="none"> - <a href="../mail-lists.html">Mailing List</a> +<div class="section"> +<h3>Examples<a name="Examples"></a></h3> + +<p>You can find example code in the unit tests:</p> + +<ul> + +<li> + Text line based content rewriting example: + <a class="externalLink" href="http://svn.apache.org/repos/asf/portals/applications/webcontent/trunk/content-rewriter/src/test/java/org/apache/portals/applications/webcontent2/rewriter/TextLineContentRewriterTest.java" target="_blank"> + TextLineContentRewriterTest.java + </a> </li> - - <li class="none"> - <a href="../issue-tracking.html">Issue Tracking</a> + +<li> + HtmlCleaner based content rewriting example: + <a class="externalLink" href="http://svn.apache.org/repos/asf/portals/applications/webcontent/trunk/content-rewriter/src/test/java/org/apache/portals/applications/webcontent2/rewriter/HtmlCleanerContentRewriterTest.java" target="_blank"> + HtmlCleanerContentRewriterTest.java + </a> </li> - </ul> - <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> - <img alt="Built by Maven" src="../images/logos/maven-feather.png"></img> - </a> - - + </ul> + </div> - - - - - - </div> </div> - <div id="bodyColumn"> - <div id="contentBox"> - <subtitle></subtitle><authors><person name="Woonsan Ko" email="[email protected]"></authors><div class="section"><h2><a name="Content_Rewriter_Module"></a>Content Rewriter Module</h2> -<p> - Content Rewriter module defines simple APIs to bridge any content rewriting libraries - such as <a class="externalLink" href="http://htmlcleaner.sourceforge.net/">HtmlCleaner</a>. - By default, this module includes HtmlCleaner based content rewriter component - as well as simple text-line based content rewriter component. - </p> -<div class="section"><h3><a name="Installtion"></a>Installtion</h3> -<p> - If you use <a class="externalLink" href="http://maven.apache.org/">Apache Maven</a> in your project, - then you can add the following dependency to use this module in your project. - </p> -<p><div class="source"><pre> - <dependency> - <groupId>org.apache.portals.applications</groupId> - <artifactId>apa-webcontent2-content-rewriter</artifactId> - <version>${webcontent2.version}</version> - </dependency> - </pre> -</div> -</p> -</div> -<div class="section"><h3><a name="Class_Diagram_and_Descriptions"></a>Class Diagram and Descriptions</h3> -<p>Here is a class diagram showing the major interfaces and classes.</p> -<img src="../images/content-rewriter-class-diagram.png" alt="Class Diagram" /><table class="bodyTable"><tr class="a"><th>Interface or Class</th> -<th>Description</th> -</tr> -<tr class="b"><td>ContentRewriter</td> -<td> - The main interface of the Content Rewriter module, - defining a simple <code>#rewrite(source, sink, context)</code> method - which should do content rewriting from <code>source</code> to <code>target</code> - with using the given <code>context</code>. - </td> -</tr> -<tr class="a"><td>Source</td> -<td> - Abstraction of input source which can give either <code>java.io.InputStream</code> - or <code>java.io.Reader</code> from the underlying content data source. - </td> -</tr> -<tr class="b"><td>Sink</td> -<td> - Abstraction of output target which can give either <code>java.io.OutputStream</code> - or <code>java.io.Writer</code> to the underlying content data sink. - </td> -</tr> -<tr class="a"><td>ContentRewritingContext</td> -<td> - Abstraction of the current content rewriting context which allows to - set/get/iterate attribute objects by name. - <br /> - - This context abstraction is designed for the case where the caller needs to - set some environment specific attributes to be referenced by the content rewriter - component during the process. - </td> -</tr> -<tr class="b"><td>AbstractTextLineContentRewriter</td> -<td> - An abstract simple content rewriting component implementation class - which reads each line from the source and tries to rewrite it to the sink. - <br /> - - Derived classes may simply override <code>#rewriteLine(String line, ContentRewritingContext context)</code> method - by reading the <code>line</code> and <code>context</code> attributes - and transforming the <code>line</code> to return. - For example, a derived class may use regular expressions to transform the <code>line</code>. - </td> -</tr> -<tr class="a"><td>HtmlCleanerContentRewriter</td> -<td> - HtmlCleaner based content rewriting component implementation class - which provides properties for the underlying HtmlCleaner instance - and simplified usages for most use cases. - </td> -</tr> -</table> -</div> -<div class="section"><h3><a name="Examples"></a>Examples</h3> -<p>You can find example code in the unit tests:</p> -<ul><li> - Text line based content rewriting example: - <a class="externalLink" href="http://svn.apache.org/repos/asf/portals/applications/webcontent/trunk/content-rewriter/src/test/java/org/apache/portals/applications/webcontent2/rewriter/TextLineContentRewriterTest.java"> - TextLineContentRewriterTest.java - </a></li> -<li> - HtmlCleaner based content rewriting example: - <a class="externalLink" href="http://svn.apache.org/repos/asf/portals/applications/webcontent/trunk/content-rewriter/src/test/java/org/apache/portals/applications/webcontent2/rewriter/HtmlCleanerContentRewriterTest.java"> - HtmlCleanerContentRewriterTest.java - </a></li> -</ul> -</div> -</div> - </div> - </div> - <div class="clear"> - <hr/> - </div> - <div id="footer"> - <div class="xright">© - 2004-2015 - - Apache Software Foundation - - - - - - - </div> - <div class="clear"> - <hr/> - </div> - </div> - </body> -</html> + + </div> + </div> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright"> + Copyright © 2004-2022 + <a href="http://www.apache.org/">Apache Software Foundation</a>. + All Rights Reserved. + + </div> + <div class="clear"> + <hr/> + </div> + </div> + </body> +</html> Modified: portals/site-live/applications/webcontent2/faq.html URL: http://svn.apache.org/viewvc/portals/site-live/applications/webcontent2/faq.html?rev=1901430&r1=1901429&r2=1901430&view=diff ============================================================================== --- portals/site-live/applications/webcontent2/faq.html (original) +++ portals/site-live/applications/webcontent2/faq.html Tue May 31 02:23:06 2022 @@ -1,260 +1,203 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - - - - - - - - - - - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 26 May 2022 --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Apache Portals Applications - + Web Content Application 2: Frequently Asked Questions - </title> - <style type="text/css" media="all"> - @import url("../css/maven-base.css"); - @import url("../css/maven-theme.css"); - @import url("../css/site.css"); - </style> - <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> - </head> - <body class="composite"> - <div id="banner"> - <a href="http://portals.apache.org/" id="bannerLeft"> - - <img src="../images/apache-portals.gif" alt="" /> - - </a> - <a href="http://portals.apache.org/applications/" id="bannerRight"> - - Apache Portals Applications - - </a> - <div class="clear"> - <hr/> - </div> - </div> - <div id="breadcrumbs"> + </title> + <style type="text/css" media="all"> + @import url("../css/maven-base.css"); + @import url("../css/maven-theme.css"); + @import url("../css/site.css"); + </style> + <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> + <meta name="Date-Revision-yyyymmdd" content="20220526" /> + <meta http-equiv="Content-Language" content="en" /> + + </head> + <body class="composite"> + <div id="banner"> + <a href="http://portals.apache.org/" id="bannerLeft"> + <img src="../images/apache-portals.gif" alt="Apache Software Foundation" /> + </a> + <a href="http://portals.apache.org/applications/" id="bannerRight"> + Apache Portals Applications + </a> + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + + + <div class="xleft"> + <span id="publishDate">Last Published: 26 May 2022</span> + | <span id="projectVersion">Version: 1.0</span> + </div> + <div class="xright"> <a href="http://portals.apache.org/" class="externalLink" target="_nw" title="Portals">Portals</a> + | + <a href="http://portals.apache.org/jetspeed-2" class="externalLink" target="_nw" title="Jetspeed-2">Jetspeed-2</a> + | + <a href="http://portals.apache.org/bridges" class="externalLink" target="_nw" title="Bridges">Bridges</a> + + + </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + + + <h5>Essentials</h5> + <ul> + <li class="none"> + <a href="../index.html" title="Welcome">Welcome</a> + </li> + <li class="none"> + <a href="../news.html" title="News and Status">News and Status</a> + </li> + <li class="none"> + <a href="../download.html" title="Download">Download</a> + </li> + <li class="none"> + <a href="../getting-started.html" title="Getting Started">Getting Started</a> + </li> + </ul> + <h5>Subprojects</h5> + <ul> + <li class="none"> + <a href=".././portals-gems/index.html" title="Gems">Gems</a> + </li> + <li class="none"> + <a href=".././demo/index.html" title="Demo">Demo</a> + </li> + <li class="none"> + <a href=".././rss-main/index.html" title="RSS">RSS</a> + </li> + <li class="expanded"> + <a href=".././webcontent2/index.html" title="WebContent-2">WebContent-2</a> + <ul> + <li class="none"> + <a href=".././webcontent2/modules-overview.html" title="Modules Overview">Modules Overview</a> + </li> + <li class="none"> + <a href=".././webcontent2/content-rewriter-module.html" title="Content Rewriter Module">Content Rewriter Module</a> + </li> + <li class="none"> + <a href=".././webcontent2/reverse-proxy-module.html" title="Reverse Proxy Module">Reverse Proxy Module</a> + </li> + <li class="none"> + <a href=".././webcontent2/portlets-module.html" title="Portlets Module">Portlets Module</a> + </li> + <li class="none"> + <a href=".././webcontent2/war-module.html" title="WAR Module">WAR Module</a> + </li> + <li class="none"> + <a href=".././webcontent2/build-from-source.html" title="Build from source">Build from source</a> + </li> + <li class="none"> + <a href=".././webcontent2/apidocs/index.html" title="JavaDocs">JavaDocs</a> + </li> + <li class="none"> + <a href=".././webcontent2/faq.html" title="FAQ">FAQ</a> + </li> + </ul> + </li> + <li class="none"> + <a href=".././webcontent/index.html" title="WebContent-1">WebContent-1</a> + </li> + <li class="none"> + <a href=".././dbbrowser/index.html" title="DB Browser">DB Browser</a> + </li> + <li class="none"> + <a href=".././logging/index.html" title="Logging">Logging</a> + </li> + </ul> + <h5>Support</h5> + <ul> + <li class="none"> + <a href="../team-list.html" title="Project Team">Project Team</a> + </li> + <li class="none"> + <a href="../license.html" title="Project License">Project License</a> + </li> + <li class="none"> + <a href="http://wiki.apache.org/portals/applications" class="externalLink" title="Project Wiki">Project Wiki</a> + </li> + <li class="none"> + <a href="../mail-lists.html" title="Mailing List">Mailing List</a> + </li> + <li class="none"> + <a href="../issue-tracking.html" title="Issue Tracking">Issue Tracking</a> + </li> + </ul> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + + + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> + <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor + license agreements. See the NOTICE file distributed with this work for additional + information regarding copyright ownership. The ASF licenses this file to + You under the Apache License, Version 2.0 (the "License"); you may not use + this file except in compliance with the License. You may obtain a copy of + the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required + by applicable law or agreed to in writing, software distributed under the + License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS + OF ANY KIND, either express or implied. See the License for the specific + language governing permissions and limitations under the License. --> + + <div class="section"> +<h2>Web Content Application 2: Frequently Asked Questions<a name="Web_Content_Application_2:_Frequently_Asked_Questions"></a></h2> + +<ul> + +<li> - - - - - - - - <div class="xleft"> - Last Published: 4 March 2015 - </div> - <div class="xright"> <a href="http://portals.apache.org/" class="externalLink">Portals</a> - | - <a href="http://portals.apache.org/jetspeed-2" class="externalLink">Jetspeed-2</a> - | - <a href="http://portals.apache.org/bridges" class="externalLink">Bridges</a> - - - - - - - - - </div> - <div class="clear"> - <hr/> - </div> - </div> - <div id="leftColumn"> - <div id="navcolumn"> - - - - - - - - - <h5>Essentials</h5> - <ul> - - <li class="none"> - <a href="../index.html">Welcome</a> - </li> - - <li class="none"> - <a href="../news.html">News and Status</a> - </li> - - <li class="none"> - <a href="../download.html">Download</a> - </li> - - <li class="none"> - <a href="../getting-started.html">Getting Started</a> - </li> - </ul> - <h5>Subprojects</h5> - <ul> - - <li class="none"> - <a href=".././portals-gems/index.html">Gems</a> - </li> - - <li class="none"> - <a href=".././demo/index.html">Demo</a> - </li> - - <li class="none"> - <a href=".././rss-main/index.html">RSS</a> - </li> - +<p><b>Q: Is 2.0 compatible with Servlet 2.4 API?</b></p> - - - - - - - - - - - - - - - - - - <li class="expanded"> - <a href=".././webcontent2/index.html">WebContent-2</a> - <ul> - - <li class="none"> - <a href=".././webcontent2/modules-overview.html">Modules Overview</a> - </li> - - <li class="none"> - <a href=".././webcontent2/content-rewriter-module.html">Content Rewriter Module</a> - </li> - - <li class="none"> - <a href=".././webcontent2/reverse-proxy-module.html">Reverse Proxy Module</a> - </li> - - <li class="none"> - <a href=".././webcontent2/portlets-module.html">Portlets Module</a> - </li> - - <li class="none"> - <a href=".././webcontent2/war-module.html">WAR Module</a> - </li> - - <li class="none"> - <a href=".././webcontent2/build-from-source.html">Build from source</a> - </li> - - <li class="none"> - <a href=".././webcontent2/apidocs/index.html">JavaDocs</a> - </li> - - <li class="none"> - <a href=".././webcontent2/faq.html">FAQ</a> - </li> - </ul> +<p>A: Yes. So you can use it in any Servlet 2.4 compliant containers such as Tomcat 5 or later.</p> </li> - - <li class="none"> - <a href=".././webcontent/index.html">WebContent-1</a> - </li> - - <li class="none"> - <a href=".././dbbrowser/index.html">DB Browser</a> - </li> - - <li class="none"> - <a href=".././logging/index.html">Logging</a> - </li> - </ul> - <h5>Support</h5> - <ul> - - <li class="none"> - <a href="../team-list.html">Project Team</a> - </li> - - <li class="none"> - <a href="../license.html">Project License</a> - </li> - - <li class="none"> - <a href="http://wiki.apache.org/portals/applications" class="externalLink">Project Wiki</a> - </li> - - <li class="none"> - <a href="../mail-lists.html">Mailing List</a> - </li> - - <li class="none"> - <a href="../issue-tracking.html">Issue Tracking</a> - </li> - </ul> - <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> - <img alt="Built by Maven" src="../images/logos/maven-feather.png"></img> - </a> - - - - - - - - - </div> - </div> - <div id="bodyColumn"> - <div id="contentBox"> - <authors><person name="Woonsan Ko" email="[email protected]"></authors><div class="section"><h2><a name="Web_Content_Application_2:_Frequently_Asked_Questions"></a>Web Content Application 2: Frequently Asked Questions</h2> -<ul><li><strong>Q: Is 2.0 compatible with Servlet 2.4 API?</strong><p>A: Yes. So you can use it in any Servlet 2.4 compliant containers such as Tomcat 5 or later.</p> -</li> -<li><strong>Q: Are there released versions or beta versions that I can try out?</strong><p> - A: - Please check the <a class="externalLink" href="http://portals.apache.org/applications/news.html">News and Status</a> - and the <a class="externalLink" href="http://portals.apache.org/applications/download.html">Downloads</a> page. - If you want to try out the source by yourself, then please see - <a href="build-from-source.html">Build from source</a> page. - </p> -</li> -</ul> -</div> - - </div> - </div> - <div class="clear"> - <hr/> - </div> - <div id="footer"> - <div class="xright">© - 2004-2015 - - Apache Software Foundation + +<li> - - - - - - - - </div> - <div class="clear"> - <hr/> - </div> +<p><b>Q: Are there released versions or beta versions that I can try out?</b></p> + +<p> + A: + Please check the <a class="externalLink" href="http://portals.apache.org/applications/news.html">News and Status</a> + and the <a class="externalLink" href="http://portals.apache.org/applications/download.html">Downloads</a> page. + If you want to try out the source by yourself, then please see + <a href="build-from-source.html">Build from source</a> page. + </p> + </li> + </ul> </div> - </body> -</html> + + + </div> + </div> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright"> + Copyright © 2004-2022 + <a href="http://www.apache.org/">Apache Software Foundation</a>. + All Rights Reserved. + + </div> + <div class="clear"> + <hr/> + </div> + </div> + </body> +</html> Modified: portals/site-live/applications/webcontent2/index.html URL: http://svn.apache.org/viewvc/portals/site-live/applications/webcontent2/index.html?rev=1901430&r1=1901429&r2=1901430&view=diff ============================================================================== --- portals/site-live/applications/webcontent2/index.html (original) +++ portals/site-live/applications/webcontent2/index.html Tue May 31 02:23:06 2022 @@ -1,304 +1,265 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - - - - - - - - - - - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Portals Applications - Apache Portals Web Content Application 2</title> - <style type="text/css" media="all"> - @import url("../css/maven-base.css"); - @import url("../css/maven-theme.css"); - @import url("../css/site.css"); - </style> - <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> - </head> - <body class="composite"> - <div id="banner"> - <a href="http://portals.apache.org/" id="bannerLeft"> - - <img src="../images/apache-portals.gif" alt="" /> - - </a> - <a href="http://portals.apache.org/applications/" id="bannerRight"> - - Apache Portals Applications - - </a> - <div class="clear"> - <hr/> - </div> - </div> - <div id="breadcrumbs"> - - - - - - +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 26 May 2022 --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <title>Apache Portals Applications - + Apache Portals Web Content Application 2</title> + <style type="text/css" media="all"> + @import url("../css/maven-base.css"); + @import url("../css/maven-theme.css"); + @import url("../css/site.css"); + </style> + <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> + <meta name="Date-Revision-yyyymmdd" content="20220526" /> + <meta http-equiv="Content-Language" content="en" /> + + </head> + <body class="composite"> + <div id="banner"> + <a href="http://portals.apache.org/" id="bannerLeft"> + <img src="../images/apache-portals.gif" alt="Apache Software Foundation" /> + </a> + <a href="http://portals.apache.org/applications/" id="bannerRight"> + Apache Portals Applications + </a> + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + + + <div class="xleft"> + <span id="publishDate">Last Published: 26 May 2022</span> + | <span id="projectVersion">Version: 1.0</span> + </div> + <div class="xright"> <a href="http://portals.apache.org/" class="externalLink" target="_nw" title="Portals">Portals</a> + | + <a href="http://portals.apache.org/jetspeed-2" class="externalLink" target="_nw" title="Jetspeed-2">Jetspeed-2</a> + | + <a href="http://portals.apache.org/bridges" class="externalLink" target="_nw" title="Bridges">Bridges</a> + + + </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + + + <h5>Essentials</h5> + <ul> + <li class="none"> + <a href="../index.html" title="Welcome">Welcome</a> + </li> + <li class="none"> + <a href="../news.html" title="News and Status">News and Status</a> + </li> + <li class="none"> + <a href="../download.html" title="Download">Download</a> + </li> + <li class="none"> + <a href="../getting-started.html" title="Getting Started">Getting Started</a> + </li> + </ul> + <h5>Subprojects</h5> + <ul> + <li class="none"> + <a href=".././portals-gems/index.html" title="Gems">Gems</a> + </li> + <li class="none"> + <a href=".././demo/index.html" title="Demo">Demo</a> + </li> + <li class="none"> + <a href=".././rss-main/index.html" title="RSS">RSS</a> + </li> + <li class="expanded"> + <a href=".././webcontent2/index.html" title="WebContent-2">WebContent-2</a> + <ul> + <li class="none"> + <a href=".././webcontent2/modules-overview.html" title="Modules Overview">Modules Overview</a> + </li> + <li class="none"> + <a href=".././webcontent2/content-rewriter-module.html" title="Content Rewriter Module">Content Rewriter Module</a> + </li> + <li class="none"> + <a href=".././webcontent2/reverse-proxy-module.html" title="Reverse Proxy Module">Reverse Proxy Module</a> + </li> + <li class="none"> + <a href=".././webcontent2/portlets-module.html" title="Portlets Module">Portlets Module</a> + </li> + <li class="none"> + <a href=".././webcontent2/war-module.html" title="WAR Module">WAR Module</a> + </li> + <li class="none"> + <a href=".././webcontent2/build-from-source.html" title="Build from source">Build from source</a> + </li> + <li class="none"> + <a href=".././webcontent2/apidocs/index.html" title="JavaDocs">JavaDocs</a> + </li> + <li class="none"> + <a href=".././webcontent2/faq.html" title="FAQ">FAQ</a> + </li> + </ul> + </li> + <li class="none"> + <a href=".././webcontent/index.html" title="WebContent-1">WebContent-1</a> + </li> + <li class="none"> + <a href=".././dbbrowser/index.html" title="DB Browser">DB Browser</a> + </li> + <li class="none"> + <a href=".././logging/index.html" title="Logging">Logging</a> + </li> + </ul> + <h5>Support</h5> + <ul> + <li class="none"> + <a href="../team-list.html" title="Project Team">Project Team</a> + </li> + <li class="none"> + <a href="../license.html" title="Project License">Project License</a> + </li> + <li class="none"> + <a href="http://wiki.apache.org/portals/applications" class="externalLink" title="Project Wiki">Project Wiki</a> + </li> + <li class="none"> + <a href="../mail-lists.html" title="Mailing List">Mailing List</a> + </li> + <li class="none"> + <a href="../issue-tracking.html" title="Issue Tracking">Issue Tracking</a> + </li> + </ul> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + + + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> + <!-- Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version + 2.0 (the "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 Unless required by + applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES + OR CONDITIONS OF ANY KIND, either express or implied. See the + License for the specific language governing permissions and + limitations under the License. --> - - <div class="xleft"> - Last Published: 4 March 2015 - </div> - <div class="xright"> <a href="http://portals.apache.org/" class="externalLink">Portals</a> - | - <a href="http://portals.apache.org/jetspeed-2" class="externalLink">Jetspeed-2</a> - | - <a href="http://portals.apache.org/bridges" class="externalLink">Bridges</a> - - - - - - - - - </div> - <div class="clear"> - <hr/> - </div> - </div> - <div id="leftColumn"> - <div id="navcolumn"> - - - - - - - - - <h5>Essentials</h5> - <ul> - - <li class="none"> - <a href="../index.html">Welcome</a> - </li> - - <li class="none"> - <a href="../news.html">News and Status</a> - </li> - - <li class="none"> - <a href="../download.html">Download</a> - </li> - - <li class="none"> - <a href="../getting-started.html">Getting Started</a> - </li> - </ul> - <h5>Subprojects</h5> - <ul> - - <li class="none"> - <a href=".././portals-gems/index.html">Gems</a> - </li> - - <li class="none"> - <a href=".././demo/index.html">Demo</a> - </li> - - <li class="none"> - <a href=".././rss-main/index.html">RSS</a> - </li> - + <div class="section"> +<h2>Welcome to Apache Portals Web Content Application 2<a name="Welcome_to_Apache_Portals_Web_Content_Application_2"></a></h2> + +<div id="downloadbox"> + +<div class="section"> +<div class="section"> +<div class="section"> +<h5>Get Portals Web Content App<a name="Get_Portals_Web_Content_App"></a></h5> + +<p> + <a href="../download.html"> + <img src="../images/folder-open.gif" border="0" alt="" title="download" /> + Download + </a> + Portals Applications WebContent 2.0 + </p> + +<ul> - +<li> + <a href="../getting-started.html">System Requirements</a> + </li> + </ul> + </div> - +<p> + A servlet/portlet application framework dedicated to the development of reverse proxying, + web content rewriting and rendering. + </p> - +<p> + Apache Portals Web Content Application 2 consists of four submodules: + <b>content-rewriter</b>, <b>reverse-proxy</b>, <b>portlets</b> and <b>war</b> package, + which can support various use cases. + </p> - +<p> + For example, you may want to use <b>reverse-proxy</b> module only + without having to use <b>portlets</b> or <b>war</b> package modules + if you want to construct a reverse proxy service for your backend web site, REST services, web services, etc. + Or you can use <b>portlets</b> module when you want to build a new portlet application without having + to pull in the example configurations from <b>war</b> package module. + </p> - +<p> + The <b>content-rewriter</b> module defines a simple API and implements simple components + to bridge various content rewriting framework such as text line based rewriting or + <a class="externalLink" href="http://htmlcleaner.sourceforge.net/" target="_blank">HtmlCleaner</a> + based advanced rewriting. + </p> - +<p> + The <b>reverse-proxy</b> module defines HTTP <a class="externalLink" href="http://en.wikipedia.org/wiki/Reverse_proxy">Reverse Proxy</a> application framework for servlets or filters, + providing <a class="externalLink" href="http://yaml.org/spec/1.1/">YAML</a> based proxy path mapping configurations and default content rewriter components. + </p> - +<p> + The <b>portlets</b> module consists of various portlets serving remote content + through either server-side HTTP Client handling or IFrame-based client-side page handling. + </p> - +<p> + The <b>war</b> package module has all of the other modules with example configurations + for servlets, filters, portlets and others. + </p> - - <li class="expanded"> - <a href=".././webcontent2/index.html">WebContent-2</a> - <ul> - - <li class="none"> - <a href=".././webcontent2/modules-overview.html">Modules Overview</a> - </li> - - <li class="none"> - <a href=".././webcontent2/content-rewriter-module.html">Content Rewriter Module</a> - </li> - - <li class="none"> - <a href=".././webcontent2/reverse-proxy-module.html">Reverse Proxy Module</a> - </li> - - <li class="none"> - <a href=".././webcontent2/portlets-module.html">Portlets Module</a> - </li> - - <li class="none"> - <a href=".././webcontent2/war-module.html">WAR Module</a> - </li> - - <li class="none"> - <a href=".././webcontent2/build-from-source.html">Build from source</a> - </li> - - <li class="none"> - <a href=".././webcontent2/apidocs/index.html">JavaDocs</a> - </li> - - <li class="none"> - <a href=".././webcontent2/faq.html">FAQ</a> - </li> - </ul> - </li> - - <li class="none"> - <a href=".././webcontent/index.html">WebContent-1</a> - </li> - - <li class="none"> - <a href=".././dbbrowser/index.html">DB Browser</a> - </li> - - <li class="none"> - <a href=".././logging/index.html">Logging</a> - </li> - </ul> - <h5>Support</h5> - <ul> - - <li class="none"> - <a href="../team-list.html">Project Team</a> - </li> - - <li class="none"> - <a href="../license.html">Project License</a> - </li> - - <li class="none"> - <a href="http://wiki.apache.org/portals/applications" class="externalLink">Project Wiki</a> - </li> - - <li class="none"> - <a href="../mail-lists.html">Mailing List</a> - </li> - - <li class="none"> - <a href="../issue-tracking.html">Issue Tracking</a> - </li> - </ul> - <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> - <img alt="Built by Maven" src="../images/logos/maven-feather.png"></img> - </a> - - - - - - - - - </div> - </div> - <div id="bodyColumn"> - <div id="contentBox"> - <subtitle></subtitle><authors><person name="Woonsan Ko" email="[email protected]"></authors><div class="section"><h2><a name="Welcome_to_Apache_Portals_Web_Content_Application_2"></a>Welcome to Apache Portals Web Content Application 2</h2> -<div id="downloadbox"><h5>Get Portals Web Content App</h5> -<p><a href="../download.html"><img src="../images/folder-open.gif" alt="" /> - Download - </a> - Portals Applications WebContent 2.0 - </p> -<ul><li><a href="../getting-started.html">System Requirements</a></li> -</ul> -</div><p> - A servlet/portlet application framework dedicated to the development of reverse proxying, - web content rewriting and rendering. - </p> -<p> - Apache Portals Web Content Application 2 consists of four submodules: - <strong>content-rewriter</strong>, <strong>reverse-proxy</strong>, <strong>portlets</strong> and <strong>war</strong> package, - which can support various use cases. - </p> -<p> - For example, you may want to use <strong>reverse-proxy</strong> module only - without having to use <strong>portlets</strong> or <strong>war</strong> package modules - if you want to construct a reverse proxy service for your backend web site, REST services, web services, etc. - Or you can use <strong>portlets</strong> module when you want to build a new portlet application without having - to pull in the example configurations from <strong>war</strong> package module. - </p> -<p> - The <strong>content-rewriter</strong> module defines a simple API and implements simple components - to bridge various content rewriting framework such as text line based rewriting or - <a class="externalLink" href="http://htmlcleaner.sourceforge.net/">HtmlCleaner</a> - based advanced rewriting. - </p> -<p> - The <strong>reverse-proxy</strong> module defines HTTP <a class="externalLink" href="http://en.wikipedia.org/wiki/Reverse_proxy">Reverse Proxy</a> application framework for servlets or filters, - providing <a class="externalLink" href="http://yaml.org/spec/1.1/">YAML</a> based proxy path mapping configurations and default content rewriter components. - </p> -<p> - The <strong>portlets</strong> module consists of various portlets serving remote content - through either server-side HTTP Client handling or IFrame-based client-side page handling. - </p> -<p> - The <strong>war</strong> package module has all of the other modules with example configurations - for servlets, filters, portlets and others. - </p> -<p>Please see <a href="modules-overview.html">Modules Overview</a> page for detail.</p> -<p><strong><em>Note: </em></strong> - Apache Portals Web Content Application 2 was rewritten from the previous versions - in order to take advantage of the newer version of - <a class="externalLink" href="http://hc.apache.org/">Apache HttpComponents</a> - and to be more flexible as a framework, especially for content-rewriting and reverse-proxying. - For example, it used to try to provide every feature in the default reverse proxy component in the previous versions, - but it now tries to provide a more flexible framework based on - <a class="externalLink" href="http://en.wikipedia.org/wiki/Chain-of-responsibility_pattern">Chain of Responsibility pattern</a> - (using <a class="externalLink" href="http://commons.apache.org/proper/commons-chain/">Apache Commons Chain</a>) instead. - So, it uses a different package (org.apache.portals.applications.webcontent2) - than the previous versions (org.apache.portals.applications.webcontent), - allowing it to be used at the same time as an earlier version. - As a result, it is incompatible with the previous versions. - </p> -</div> +<p>Please see <a href="modules-overview.html">Modules Overview</a> page for detail.</p> + +<p> + <b><i>Note: </i></b> + Apache Portals Web Content Application 2 was rewritten from the previous versions + in order to take advantage of the newer version of + <a class="externalLink" href="http://hc.apache.org/" target="_blank">Apache HttpComponents</a> + and to be more flexible as a framework, especially for content-rewriting and reverse-proxying. + For example, it used to try to provide every feature in the default reverse proxy component in the previous versions, + but it now tries to provide a more flexible framework based on + <a class="externalLink" href="http://en.wikipedia.org/wiki/Chain-of-responsibility_pattern" target="_blank">Chain of Responsibility pattern</a> + (using <a class="externalLink" href="http://commons.apache.org/proper/commons-chain/" target="_blank">Apache Commons Chain</a>) instead. + So, it uses a different package (org.apache.portals.applications.webcontent2) + than the previous versions (org.apache.portals.applications.webcontent), + allowing it to be used at the same time as an earlier version. + As a result, it is incompatible with the previous versions. + </p> + </div></div></div></div> - </div> - </div> - <div class="clear"> - <hr/> - </div> - <div id="footer"> - <div class="xright">© - 2004-2015 - - Apache Software Foundation - - - - - - - </div> - <div class="clear"> - <hr/> - </div> - </div> - </body> -</html> + + </div> + </div> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright"> + Copyright © 2004-2022 + <a href="http://www.apache.org/">Apache Software Foundation</a>. + All Rights Reserved. + + </div> + <div class="clear"> + <hr/> + </div> + </div> + </body> +</html>
