Author: cbrisson
Date: Mon May 16 22:50:19 2016
New Revision: 1744162
URL: http://svn.apache.org/viewvc?rev=1744162&view=rev
Log:
[site] various fixes: titles, RSS page, HTML tags in changes
Added:
velocity/site/cms/trunk/stylesheets/rss_news.xsl
Modified:
velocity/site/cms/trunk/content/anakia/index.mdtext
velocity/site/cms/trunk/content/contact.mdtext
velocity/site/cms/trunk/content/download.mdtext
velocity/site/cms/trunk/content/engine/1.7/build.mdtext
velocity/site/cms/trunk/content/engine/1.7/changes.mdtext
velocity/site/cms/trunk/content/engine/1.7/dependencies.mdtext
velocity/site/cms/trunk/content/engine/1.7/developer-guide.mdtext
velocity/site/cms/trunk/content/engine/1.7/getting-started.mdtext
velocity/site/cms/trunk/content/engine/1.7/glossary.mdtext
velocity/site/cms/trunk/content/engine/1.7/index.mdtext
velocity/site/cms/trunk/content/engine/1.7/license.mdtext
velocity/site/cms/trunk/content/engine/1.7/overview.mdtext
velocity/site/cms/trunk/content/engine/1.7/upgrading.mdtext
velocity/site/cms/trunk/content/engine/1.7/user-guide.mdtext
velocity/site/cms/trunk/content/engine/1.7/vtl-reference.mdtext
velocity/site/cms/trunk/content/engine/1.7/webapps.mdtext
velocity/site/cms/trunk/content/engine/devel/build.mdtext
velocity/site/cms/trunk/content/engine/devel/changes.mdtext
velocity/site/cms/trunk/content/engine/devel/dependencies.mdtext
velocity/site/cms/trunk/content/engine/devel/developer-guide.mdtext
velocity/site/cms/trunk/content/engine/devel/getting-started.mdtext
velocity/site/cms/trunk/content/engine/devel/glossary.mdtext
velocity/site/cms/trunk/content/engine/devel/index.mdtext
velocity/site/cms/trunk/content/engine/devel/license.mdtext
velocity/site/cms/trunk/content/engine/devel/overview.mdtext
velocity/site/cms/trunk/content/engine/devel/upgrading.mdtext
velocity/site/cms/trunk/content/engine/devel/user-guide.mdtext
velocity/site/cms/trunk/content/engine/devel/vtl-reference.mdtext
velocity/site/cms/trunk/content/engine/devel/webapps.mdtext
velocity/site/cms/trunk/content/get-involved.mdtext
velocity/site/cms/trunk/content/how-it-works.mdtext
velocity/site/cms/trunk/content/index.mdtext
velocity/site/cms/trunk/content/news.mdtext
velocity/site/cms/trunk/content/site-building.mdtext
velocity/site/cms/trunk/content/texen/index.mdtext
velocity/site/cms/trunk/content/tools/2.0/changes.mdtext
velocity/site/cms/trunk/content/tools/2.0/config-java.mdtext
velocity/site/cms/trunk/content/tools/2.0/config-properties.mdtext
velocity/site/cms/trunk/content/tools/2.0/config-xml.mdtext
velocity/site/cms/trunk/content/tools/2.0/configuration.mdtext
velocity/site/cms/trunk/content/tools/2.0/creating-tools.mdtext
velocity/site/cms/trunk/content/tools/2.0/dependencies.mdtext
velocity/site/cms/trunk/content/tools/2.0/frameworks.mdtext
velocity/site/cms/trunk/content/tools/2.0/generic.mdtext
velocity/site/cms/trunk/content/tools/2.0/index.mdtext
velocity/site/cms/trunk/content/tools/2.0/standalone.mdtext
velocity/site/cms/trunk/content/tools/2.0/struts-user-guide.mdtext
velocity/site/cms/trunk/content/tools/2.0/struts.mdtext
velocity/site/cms/trunk/content/tools/2.0/tools-summary.mdtext
velocity/site/cms/trunk/content/tools/2.0/upgrading.mdtext
velocity/site/cms/trunk/content/tools/2.0/view-layoutservlet.mdtext
velocity/site/cms/trunk/content/tools/2.0/view-servlet.mdtext
velocity/site/cms/trunk/content/tools/2.0/view-tag.mdtext
velocity/site/cms/trunk/content/tools/2.0/view.mdtext
velocity/site/cms/trunk/content/tools/devel/changes.mdtext
velocity/site/cms/trunk/content/tools/devel/config-java.mdtext
velocity/site/cms/trunk/content/tools/devel/config-properties.mdtext
velocity/site/cms/trunk/content/tools/devel/config-xml.mdtext
velocity/site/cms/trunk/content/tools/devel/configuration.mdtext
velocity/site/cms/trunk/content/tools/devel/creating-tools.mdtext
velocity/site/cms/trunk/content/tools/devel/dependencies.mdtext
velocity/site/cms/trunk/content/tools/devel/frameworks.mdtext
velocity/site/cms/trunk/content/tools/devel/generic.mdtext
velocity/site/cms/trunk/content/tools/devel/index.mdtext
velocity/site/cms/trunk/content/tools/devel/standalone.mdtext
velocity/site/cms/trunk/content/tools/devel/struts-user-guide.mdtext
velocity/site/cms/trunk/content/tools/devel/struts.mdtext
velocity/site/cms/trunk/content/tools/devel/tools-summary.mdtext
velocity/site/cms/trunk/content/tools/devel/upgrading.mdtext
velocity/site/cms/trunk/content/tools/devel/view-layoutservlet.mdtext
velocity/site/cms/trunk/content/tools/devel/view-servlet.mdtext
velocity/site/cms/trunk/content/tools/devel/view-tag.mdtext
velocity/site/cms/trunk/content/tools/devel/view.mdtext
velocity/site/cms/trunk/content/who-we-are.mdtext
velocity/site/cms/trunk/lib/path.pm
velocity/site/cms/trunk/lib/view.pm
velocity/site/cms/trunk/stylesheets/changes.xsl
Modified: velocity/site/cms/trunk/content/anakia/index.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/anakia/index.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/anakia/index.mdtext (original)
+++ velocity/site/cms/trunk/content/anakia/index.mdtext Mon May 16 22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity - Anakia
+
## Anakia
Anakia is an XML transformation tool which uses [JDOM](http://www.jdom.org/)
and [Velocity](/) to transform XML documents into the format of your choice.
Modified: velocity/site/cms/trunk/content/contact.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/contact.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/contact.mdtext (original)
+++ velocity/site/cms/trunk/content/contact.mdtext Mon May 16 22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity - Contact Page
+
## Contact us
The communication between the developers and the user community in the Apache
Velocity project is intended to be as open and accessible as possible. This is
why we prefer to have <a href="#Mailing_Lists">public mailing lists</a> to
which everyone can subscribe and which are archived.
Modified: velocity/site/cms/trunk/content/download.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/download.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/download.mdtext (original)
+++ velocity/site/cms/trunk/content/download.mdtext Mon May 16 22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity - Download Page
+
## Downloads
You can download sources and binaries for all Apache Velocity projects from
here.
Modified: velocity/site/cms/trunk/content/engine/1.7/build.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/1.7/build.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/1.7/build.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/1.7/build.mdtext Mon May 16 22:50:19
2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine - Building
+
## Installation
Velocity runs on a variety of platforms that have installed the Java 2 Virtual
Machine. The J2SDK is required for users who want to compile Velocity from its
source code.
Modified: velocity/site/cms/trunk/content/engine/1.7/changes.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/1.7/changes.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/1.7/changes.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/1.7/changes.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine - Changes Report
+
## Changes Report
### Release History
Modified: velocity/site/cms/trunk/content/engine/1.7/dependencies.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/1.7/dependencies.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/1.7/dependencies.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/1.7/dependencies.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine Dependencies
+
## Velocity Dependencies
Velocity has a number of external jar dependencies. However, not all of these
are needed every time. This document should help you do decide which jars must
also be present if you want to integrate Velocity into your application.
Modified: velocity/site/cms/trunk/content/engine/1.7/developer-guide.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/1.7/developer-guide.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/1.7/developer-guide.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/1.7/developer-guide.mdtext Mon May
16 22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine - Developer Guide
+
## Developer Guide - Contents
[TOC]
Modified: velocity/site/cms/trunk/content/engine/1.7/getting-started.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/1.7/getting-started.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/1.7/getting-started.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/1.7/getting-started.mdtext Mon May
16 22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine - Getting Started
+
## Getting Started
Velocity is easy to use! A quick way to get started is to skim the references
below, then look at the examples and source provided in the distribution. *For
developers writing web-based applications, the Web Application Guide is highly
recommended!*
Modified: velocity/site/cms/trunk/content/engine/1.7/glossary.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/1.7/glossary.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/1.7/glossary.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/1.7/glossary.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine - Glossary
+
## Velocity Terms and Abbreviations
Anakia{#anakia}
Modified: velocity/site/cms/trunk/content/engine/1.7/index.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/1.7/index.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/1.7/index.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/1.7/index.mdtext Mon May 16 22:50:19
2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine
+
## What is Velocity?
Velocity is a Java-based template engine. It permits anyone to use a simple
yet powerful template language to reference objects defined in Java code.
Modified: velocity/site/cms/trunk/content/engine/1.7/license.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/1.7/license.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/1.7/license.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/1.7/license.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine - License
+
## Overview
Typically the licenses listed for the project are that of the project itself,
and not of dependencies.
Modified: velocity/site/cms/trunk/content/engine/1.7/overview.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/1.7/overview.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/1.7/overview.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/1.7/overview.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine Overview
+
## Overview
Velocity is a template engine that can be used for many purposes. Some common
types of applications which use Velocity are:
Modified: velocity/site/cms/trunk/content/engine/1.7/upgrading.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/1.7/upgrading.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/1.7/upgrading.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/1.7/upgrading.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine - Upgrading
+
## Upgrading from earlier versions
Release with the same major number (1.x) are intended to be drop-in
replacements. However, in most cases the versions of dependency jars must be
adjusted because newer versions of Velocity might require updates.
Modified: velocity/site/cms/trunk/content/engine/1.7/user-guide.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/1.7/user-guide.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/1.7/user-guide.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/1.7/user-guide.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine - User Guide
+
## User Guide - Contents
[TOC]
Modified: velocity/site/cms/trunk/content/engine/1.7/vtl-reference.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/1.7/vtl-reference.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/1.7/vtl-reference.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/1.7/vtl-reference.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+title: Apache Velocity Engine VTL Reference
+
## About this Guide
This guide is the reference for the Velocity Template Language (VTL). For more
information, please also refer to the [Velocity User Guide](user-guide.html).
Modified: velocity/site/cms/trunk/content/engine/1.7/webapps.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/1.7/webapps.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/1.7/webapps.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/1.7/webapps.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine - Webapps Integration
+
## Building a Web Application with Velocity
Velocity is often used to generate web pages in applications, usually as a
direct replacement for JSP. Some of the benefits of using Velocity to generate
web pages are:
Modified: velocity/site/cms/trunk/content/engine/devel/build.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/build.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/build.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/devel/build.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine - Building
+
## Installation
Velocity runs on a variety of platforms that have installed the Java Virtual
Machine. The Java Development Kit version 1.6 is required for users who want to
compile Velocity from its source code.
Modified: velocity/site/cms/trunk/content/engine/devel/changes.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/changes.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/changes.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/devel/changes.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine - Changes Report
+
## Changes Report
### Release History
Modified: velocity/site/cms/trunk/content/engine/devel/dependencies.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/dependencies.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/dependencies.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/devel/dependencies.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine Dependencies
+
## Velocity Dependencies
When building from sources, Maven should fetch all needed dependencies. At
runtime, velocity only needs slf4j-api, and one of the slf4j bindings (needed
classes from commons-lang and commons-collections are incorporated using
["shading"](https://maven.apache.org/plugins/maven-shade-plugin/)).
Modified: velocity/site/cms/trunk/content/engine/devel/developer-guide.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/developer-guide.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/developer-guide.mdtext
(original)
+++ velocity/site/cms/trunk/content/engine/devel/developer-guide.mdtext Mon May
16 22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine - Developer Guide
+
## Developer Guide - Contents
[TOC]
Modified: velocity/site/cms/trunk/content/engine/devel/getting-started.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/getting-started.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/getting-started.mdtext
(original)
+++ velocity/site/cms/trunk/content/engine/devel/getting-started.mdtext Mon May
16 22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine - Getting Started
+
## Getting Started
Velocity is easy to use! A quick way to get started is to skim the references
below, then look at the examples and source provided in the distribution. *For
developers writing web-based applications, the Web Application Guide is highly
recommended!*
Modified: velocity/site/cms/trunk/content/engine/devel/glossary.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/glossary.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/glossary.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/devel/glossary.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine - Glossary
+
## Velocity Terms and Abbreviations
Anakia{#anakia}
Modified: velocity/site/cms/trunk/content/engine/devel/index.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/index.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/index.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/devel/index.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine
+
## What is Velocity?
Velocity is a Java-based template engine. It permits anyone to use a simple
yet powerful template language to reference objects defined in Java code.
Modified: velocity/site/cms/trunk/content/engine/devel/license.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/license.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/license.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/devel/license.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine - License
+
## Overview
Typically the licenses listed for the project are that of the project itself,
and not of dependencies.
Modified: velocity/site/cms/trunk/content/engine/devel/overview.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/overview.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/overview.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/devel/overview.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine Overview
+
## Overview
Velocity is a template engine that can be used for many purposes. Some common
types of applications which use Velocity are:
Modified: velocity/site/cms/trunk/content/engine/devel/upgrading.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/upgrading.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/upgrading.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/devel/upgrading.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine - Upgrading
+
## Upgrading from earlier versions
Release with the same major number (1.x) are intended to be drop-in
replacements. However, in most cases the versions of dependency jars must be
adjusted because newer versions of Velocity might require updates.
Modified: velocity/site/cms/trunk/content/engine/devel/user-guide.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/user-guide.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/user-guide.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/devel/user-guide.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine - User Guide
+
## User Guide - Contents
[TOC]
Modified: velocity/site/cms/trunk/content/engine/devel/vtl-reference.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/vtl-reference.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/vtl-reference.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/devel/vtl-reference.mdtext Mon May
16 22:50:19 2016
@@ -1,3 +1,5 @@
+title: Apache Velocity Engine VTL Reference
+
## About this Guide
This guide is the reference for the Velocity Template Language (VTL). For more
information, please also refer to the [Velocity User Guide](user-guide.html).
Modified: velocity/site/cms/trunk/content/engine/devel/webapps.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/webapps.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/webapps.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/devel/webapps.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Engine - Webapps Integration
+
## Building a Web Application with Velocity
Velocity is often used to generate web pages in applications, usually as a
direct replacement for JSP. Some of the benefits of using Velocity to generate
web pages are:
Modified: velocity/site/cms/trunk/content/get-involved.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/get-involved.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/get-involved.mdtext (original)
+++ velocity/site/cms/trunk/content/get-involved.mdtext Mon May 16 22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity - Getting Involved
+
## Getting involved with the Apache Velocity Project
Every volunteer project obtains its strength from the people involved in it.
We invite you to participate as much or as little as you choose. The roles and
responsibilities that people can assume in the project are based on merit.
Everybody's input matters!
Modified: velocity/site/cms/trunk/content/how-it-works.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/how-it-works.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/how-it-works.mdtext (original)
+++ velocity/site/cms/trunk/content/how-it-works.mdtext Mon May 16 22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity - How It Works
+
## How the Apache Velocity project works
We have evolved into Top Level state from being a founding and long-time
member of the [Apache Jakarta Project](http://jakarta.apache.org/) and owe most
of our rules and guidelines to the Jakarta project and are grateful for the
guidance that we got from the Jakarta people.
Modified: velocity/site/cms/trunk/content/index.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/index.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/index.mdtext (original)
+++ velocity/site/cms/trunk/content/index.mdtext Mon May 16 22:50:19 2016
@@ -1,4 +1,4 @@
-Title: Apache Velocity Site - The Apache Velocity Project
+Title: The Apache Velocity Project
## The Apache Velocity Project
Modified: velocity/site/cms/trunk/content/news.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/news.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/news.mdtext (original)
+++ velocity/site/cms/trunk/content/news.mdtext Mon May 16 22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity - Project News
+
## Project News
{{project_news}}
Modified: velocity/site/cms/trunk/content/site-building.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/site-building.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/site-building.mdtext (original)
+++ velocity/site/cms/trunk/content/site-building.mdtext Mon May 16 22:50:19
2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity - Site Building
+
## the Apache Velocity Site
WARNING! This document might be out of date! For the latest information on how
to build the Apache Velocity Site, please check out the actual
[README](/README) file which contains the latest information. This document has
been created from the README and is not updated as often.
Modified: velocity/site/cms/trunk/content/texen/index.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/texen/index.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/texen/index.mdtext (original)
+++ velocity/site/cms/trunk/content/texen/index.mdtext Mon May 16 22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity - Texen
+
## Texen
Texen is a general purpose text generating utility based on [Velocity](/).
Modified: velocity/site/cms/trunk/content/tools/2.0/changes.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/2.0/changes.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/2.0/changes.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/2.0/changes.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Changes Report
+
## Changes Report
### Release History
Modified: velocity/site/cms/trunk/content/tools/2.0/config-java.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/2.0/config-java.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/2.0/config-java.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/2.0/config-java.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Configuration Using Java
+
## Configuration using Java
As of VelocityTools 2, its no longer merely possible to configure things
purely via Java, it is now much easier to do and can be done in several
different ways. Here again, is an example that is equivalent to those
demonstrated in the [properties](config-properties.html) and
[XML](config-xml.html) configurations:
Modified: velocity/site/cms/trunk/content/tools/2.0/config-properties.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/2.0/config-properties.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/2.0/config-properties.mdtext
(original)
+++ velocity/site/cms/trunk/content/tools/2.0/config-properties.mdtext Mon May
16 22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Configuration Using Properties
+
## Configuration using Properties
VelocityTools 2 can be configured using a properties file. Here's the same
configuration as the [XML](config-xml.html) and [Java](config-java.html)
examples in the properties format:
Modified: velocity/site/cms/trunk/content/tools/2.0/config-xml.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/2.0/config-xml.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/2.0/config-xml.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/2.0/config-xml.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Configuration Using XML
+
## Configuration using XML
Providing an xml format configuration file is still the standard, but unlike
VelocityTools 1.x, it is no longer necessary at all, thanks to the introduction
of default configurations. The default configurations for
[GenericTools](generic.html), [VelocityView](view.html) and
[VelocityStruts](struts.html) are all defined via XML.
Modified: velocity/site/cms/trunk/content/tools/2.0/configuration.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/2.0/configuration.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/2.0/configuration.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/2.0/configuration.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Configuration
+
## Configuration Overview
The VelocityTools support infrastructure exists to provide all your templates
a common set of tools and data. This is inspired by the [Pull
MVC](http://turbine.apache.org/turbine/turbine-2.2.0/pullmodel.html) model,
which deviates from the strict MVC purist approach out for the sake of
convenience and clarity. The goal here is to provide template authors a common
interface of data and functions across all templates (we call this a
"toolbox"), whether they need all of those functions and data or not. This
saves the template author from having to remember what keys were used where and
makes it easy to drop a new template (i.e. View) into an app without having to
modify the controller (which would typically involve creating a new action
class). The degree to which this Pull MVC pattern violates MVC principles can
(and should) vary widely depending on your needs and goals.
Modified: velocity/site/cms/trunk/content/tools/2.0/creating-tools.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/2.0/creating-tools.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/2.0/creating-tools.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/2.0/creating-tools.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Creating Tools
+
## Creating Tools
This page contains advice and instructions for creating your own "tools". Of
course, almost any POJO can be used as a tool, but there are ways to make your
tools much more useful, maintainable and secure. The tips here should help you
do that. If you have tips to add, email them to our [development mailing
list](http://velocity.apache.org/contact.html).
Modified: velocity/site/cms/trunk/content/tools/2.0/dependencies.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/2.0/dependencies.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/2.0/dependencies.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/2.0/dependencies.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools Dependencies
+
## Dependencies
VelocityTools requires certain external jar dependencies at different times.
These charts should help you determine which jars you need and when.
Modified: velocity/site/cms/trunk/content/tools/2.0/frameworks.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/2.0/frameworks.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/2.0/frameworks.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/2.0/frameworks.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Framework Integration
+
## Web Framework Integration
[TOC]
Modified: velocity/site/cms/trunk/content/tools/2.0/generic.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/2.0/generic.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/2.0/generic.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/2.0/generic.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Generic Tools
+
## Overview
GenericTools is the set of classes that provide basic infrastructure for using
tools in standard Java SE Velocity projects, as well as a set of tools for use
in generic Velocity templates. These tools have no Java EE dependencies and are
often safe to use as "singletons". Some of them are not thread-safe to allow
both a no-arg constructor and configurability, but the state-changing methods
are declared protected with the exception of configure(Map) which is--by
default--rendered useless after being used just once. If you require strict
thread-safety, be cautious in using any configurable tools and consider
[restricting the abilities of template
authors](http://wiki.apache.org/velocity/BuildingSecureWebApplications) to
prevent circumvention of the lockdown placed on configuration methods.
Modified: velocity/site/cms/trunk/content/tools/2.0/index.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/2.0/index.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/2.0/index.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/2.0/index.mdtext Mon May 16 22:50:19
2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools
+
## Overview
A Velocity "tool" is just a POJO (plain old java object) that is "useful" in a
template and is not meant to be rendered in the output. In other words, a
"tool" (in Velocity-speak) is meant to be used but not seen themselves (e.g.
for formatting dates or numbers, url building, etc).
Modified: velocity/site/cms/trunk/content/tools/2.0/standalone.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/2.0/standalone.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/2.0/standalone.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/2.0/standalone.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Standalone Tools
+
## Just Use Them!
There's nothing particularly special about the tools in VelocityTools 2. No
special interfaces, most don't ''need'' any configuration or API access, and
those that do are now relatively easy to handle (compared to VelocityTools
1.x). So, if you need a tool, just create an instance, do any configuration
you want or need and go. Nothing else to it.
Modified: velocity/site/cms/trunk/content/tools/2.0/struts-user-guide.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/2.0/struts-user-guide.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/2.0/struts-user-guide.mdtext
(original)
+++ velocity/site/cms/trunk/content/tools/2.0/struts-user-guide.mdtext Mon May
16 22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Struts Integration User Guide
+
## VelocityStruts User Guide - Contents
This guide explains how to setup and configure a VelocityViewServlet which can
render the views of a Struts-based web application. The servlet will create a
VelocityEngine to render *.vm (velocity template) files using contextual
information provided by a Struts Controller action.
Modified: velocity/site/cms/trunk/content/tools/2.0/struts.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/2.0/struts.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/2.0/struts.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/2.0/struts.mdtext Mon May 16 22:50:19
2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Struts Integration
+
## Overview
The VelocityStruts sub-project integrates Velocity with the [Apache
Struts](http://struts.apache.org/) web application framework and enables the
use of Velocity templates interchangeably with JSP pages for the view layer.
Modified: velocity/site/cms/trunk/content/tools/2.0/tools-summary.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/2.0/tools-summary.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/2.0/tools-summary.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/2.0/tools-summary.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools Usage Summary
+
## Tools Usage Summary
You will find here a summary of all the available standard tools, sufficient
for a basic integration and usage of each of them. Please refer to the javadoc
for a complete reference of all their methods and properties, since only an
excerpt is show here.
Modified: velocity/site/cms/trunk/content/tools/2.0/upgrading.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/2.0/upgrading.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/2.0/upgrading.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/2.0/upgrading.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Upgrading
+
## Upgrading VelocityTools
[TOC]
Modified: velocity/site/cms/trunk/content/tools/2.0/view-layoutservlet.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/2.0/view-layoutservlet.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/2.0/view-layoutservlet.mdtext
(original)
+++ velocity/site/cms/trunk/content/tools/2.0/view-layoutservlet.mdtext Mon May
16 22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - VelocityLayoutServlet
+
## VelocityLayoutServlet (VLS) Overview
This is an extension to the basic VelocityViewServlet. It provides a simple
layout control and customizable error screens for Velocity Tools based
projects. VelocityTools is distributed with an example app demonstrating the
use of this servlet.
Modified: velocity/site/cms/trunk/content/tools/2.0/view-servlet.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/2.0/view-servlet.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/2.0/view-servlet.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/2.0/view-servlet.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - VelocityViewServlet
+
## Overview
This page is still unfinished. Much of this needs to be moved or at least
copied to a VelocityView page, as it applies to anything using a
[VelocityView](javadoc/org/apache/velocity/tools/view/VelocityView.html)
instance under the covers (including the [VelocityViewTag](view-tag.html)).
[Help is welcome!](index.html#Contribution)
Modified: velocity/site/cms/trunk/content/tools/2.0/view-tag.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/2.0/view-tag.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/2.0/view-tag.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/2.0/view-tag.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - VelocityViewTag Library
+
## Overview
This page is still unfinished. For details on configuring the VelocityViewTag,
you can follow most of the instructions for the
[VelocityViewServlet](view-servlet.html) and of course on the [configuration
pages](configuration.html). [Help finishing this is
welcome!](index.html#Contribution)
Modified: velocity/site/cms/trunk/content/tools/2.0/view.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/2.0/view.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/2.0/view.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/2.0/view.mdtext Mon May 16 22:50:19
2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - VelocityView
+
## Overview
VelocityView includes all of the [GenericTools](generic.html) and adds
infrastructure and specialized tools for using Velocity in the view layer of
web applications (Java EE projects). This includes the VelocityViewServlet or
VelocityLayoutServlet for processing Velocity template requests and the
VelocityViewTag for embedding Velocity in JSP.
Modified: velocity/site/cms/trunk/content/tools/devel/changes.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/changes.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/changes.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/devel/changes.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Changes Report
+
## Changes Report
### Release History
Modified: velocity/site/cms/trunk/content/tools/devel/config-java.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/config-java.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/config-java.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/devel/config-java.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Configuration Using Java
+
## Configuration using Java
As of VelocityTools 2, its no longer merely possible to configure things
purely via Java, it is now much easier to do and can be done in several
different ways. Here again, is an example that is equivalent to those
demonstrated in the [properties](config-properties.html) and
[XML](config-xml.html) configurations:
Modified: velocity/site/cms/trunk/content/tools/devel/config-properties.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/config-properties.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/config-properties.mdtext
(original)
+++ velocity/site/cms/trunk/content/tools/devel/config-properties.mdtext Mon
May 16 22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Configuration Using Properties
+
## Configuration using Properties
VelocityTools 2 can be configured using a properties file. Here's the same
configuration as the [XML](config-xml.html) and [Java](config-java.html)
examples in the properties format:
Modified: velocity/site/cms/trunk/content/tools/devel/config-xml.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/config-xml.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/config-xml.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/devel/config-xml.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Configuration Using XML
+
## Configuration using XML
Providing an xml format configuration file is still the standard, but unlike
VelocityTools 1.x, it is no longer necessary at all, thanks to the introduction
of default configurations. The default configurations for
[GenericTools](generic.html), [VelocityView](view.html) and
[VelocityStruts](struts.html) are all defined via XML.
Modified: velocity/site/cms/trunk/content/tools/devel/configuration.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/configuration.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/configuration.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/devel/configuration.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Configuration
+
## Configuration Overview
The VelocityTools support infrastructure exists to provide all your templates
a common set of tools and data. This is inspired by the [Pull
MVC](http://turbine.apache.org/turbine/turbine-2.2.0/pullmodel.html) model,
which deviates from the strict MVC purist approach out for the sake of
convenience and clarity. The goal here is to provide template authors a common
interface of data and functions across all templates (we call this a
"toolbox"), whether they need all of those functions and data or not. This
saves the template author from having to remember what keys were used where and
makes it easy to drop a new template (i.e. View) into an app without having to
modify the controller (which would typically involve creating a new action
class). The degree to which this Pull MVC pattern violates MVC principles can
(and should) vary widely depending on your needs and goals.
Modified: velocity/site/cms/trunk/content/tools/devel/creating-tools.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/creating-tools.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/creating-tools.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/devel/creating-tools.mdtext Mon May
16 22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Creating Tools
+
## Creating Tools
This page contains advice and instructions for creating your own "tools". Of
course, almost any POJO can be used as a tool, but there are ways to make your
tools much more useful, maintainable and secure. The tips here should help you
do that. If you have tips to add, email them to our [development mailing
list](http://velocity.apache.org/contact.html).
Modified: velocity/site/cms/trunk/content/tools/devel/dependencies.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/dependencies.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/dependencies.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/devel/dependencies.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools Dependencies
+
## Dependencies
VelocityTools requires certain external jar dependencies at different times.
These charts should help you determine which jars you need and when.
Modified: velocity/site/cms/trunk/content/tools/devel/frameworks.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/frameworks.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/frameworks.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/devel/frameworks.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Framework Integration
+
## Web Framework Integration
[TOC]
Modified: velocity/site/cms/trunk/content/tools/devel/generic.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/generic.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/generic.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/devel/generic.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Generic Tools
+
## Overview
GenericTools is the set of classes that provide basic infrastructure for using
tools in standard Java SE Velocity projects, as well as a set of tools for use
in generic Velocity templates. These tools have no Java EE dependencies and are
often safe to use as "singletons". Some of them are not thread-safe to allow
both a no-arg constructor and configurability, but the state-changing methods
are declared protected with the exception of configure(Map) which is--by
default--rendered useless after being used just once. If you require strict
thread-safety, be cautious in using any configurable tools and consider
[restricting the abilities of template
authors](http://wiki.apache.org/velocity/BuildingSecureWebApplications) to
prevent circumvention of the lockdown placed on configuration methods.
Modified: velocity/site/cms/trunk/content/tools/devel/index.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/index.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/index.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/devel/index.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools
+
## Overview
A Velocity "tool" is just a POJO (plain old java object) that is "useful" in a
template and is not meant to be rendered in the output. In other words, a
"tool" (in Velocity-speak) is meant to be used but not seen themselves (e.g.
for formatting dates or numbers, url building, etc).
Modified: velocity/site/cms/trunk/content/tools/devel/standalone.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/standalone.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/standalone.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/devel/standalone.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Standalone Tools
+
## Just Use Them!
There's nothing particularly special about the tools in VelocityTools 2. No
special interfaces, most don't ''need'' any configuration or API access, and
those that do are now relatively easy to handle (compared to VelocityTools
1.x). So, if you need a tool, just create an instance, do any configuration
you want or need and go. Nothing else to it.
Modified: velocity/site/cms/trunk/content/tools/devel/struts-user-guide.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/struts-user-guide.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/struts-user-guide.mdtext
(original)
+++ velocity/site/cms/trunk/content/tools/devel/struts-user-guide.mdtext Mon
May 16 22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Struts Integration User Guide
+
## VelocityStruts User Guide - Contents
This guide explains how to setup and configure a VelocityViewServlet which can
render the views of a Struts-based web application. The servlet will create a
VelocityEngine to render *.vm (velocity template) files using contextual
information provided by a Struts Controller action.
Modified: velocity/site/cms/trunk/content/tools/devel/struts.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/struts.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/struts.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/devel/struts.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Struts Integration
+
## Overview
The VelocityStruts sub-project integrates Velocity with the [Apache
Struts](http://struts.apache.org/) web application framework and enables the
use of Velocity templates interchangeably with JSP pages for the view layer.
Modified: velocity/site/cms/trunk/content/tools/devel/tools-summary.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/tools-summary.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/tools-summary.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/devel/tools-summary.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools Usage Summary
+
## Tools Usage Summary
You will find here a summary of all the available standard tools, sufficient
for a basic integration and usage of each of them. Please refer to the javadoc
for a complete reference of all their methods and properties, since only an
excerpt is show here.
Modified: velocity/site/cms/trunk/content/tools/devel/upgrading.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/upgrading.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/upgrading.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/devel/upgrading.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - Upgrading
+
## Upgrading VelocityTools
[TOC]
Modified: velocity/site/cms/trunk/content/tools/devel/view-layoutservlet.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/view-layoutservlet.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/view-layoutservlet.mdtext
(original)
+++ velocity/site/cms/trunk/content/tools/devel/view-layoutservlet.mdtext Mon
May 16 22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - VelocityLayoutServlet
+
## VelocityLayoutServlet (VLS) Overview
This is an extension to the basic VelocityViewServlet. It provides a simple
layout control and customizable error screens for Velocity Tools based
projects. VelocityTools is distributed with an example app demonstrating the
use of this servlet.
Modified: velocity/site/cms/trunk/content/tools/devel/view-servlet.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/view-servlet.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/view-servlet.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/devel/view-servlet.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - VelocityViewServlet
+
## Overview
This page is still unfinished. Much of this needs to be moved or at least
copied to a VelocityView page, as it applies to anything using a
[VelocityView](javadoc/org/apache/velocity/tools/view/VelocityView.html)
instance under the covers (including the [VelocityViewTag](view-tag.html)).
[Help is welcome!](index.html#Contribution)
Modified: velocity/site/cms/trunk/content/tools/devel/view-tag.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/view-tag.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/view-tag.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/devel/view-tag.mdtext Mon May 16
22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - VelocityViewTag Library
+
## Overview
This page is still unfinished. For details on configuring the VelocityViewTag,
you can follow most of the instructions for the
[VelocityViewServlet](view-servlet.html) and of course on the [configuration
pages](configuration.html). [Help finishing this is
welcome!](index.html#Contribution)
Modified: velocity/site/cms/trunk/content/tools/devel/view.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/view.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/view.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/devel/view.mdtext Mon May 16 22:50:19
2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity Tools - VelocityView
+
## Overview
VelocityView includes all of the [GenericTools](generic.html) and adds
infrastructure and specialized tools for using Velocity in the view layer of
web applications (Java EE projects). This includes the VelocityViewServlet or
VelocityLayoutServlet for processing Velocity template requests and the
VelocityViewTag for embedding Velocity in JSP.
Modified: velocity/site/cms/trunk/content/who-we-are.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/who-we-are.mdtext?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/who-we-are.mdtext (original)
+++ velocity/site/cms/trunk/content/who-we-are.mdtext Mon May 16 22:50:19 2016
@@ -1,3 +1,5 @@
+Title: Apache Velocity - Who We Are
+
## Who we are
The Apache Velocity Project operates on a meritocracy: the more you do, the
more responsibility you will obtain. This page lists all of the people who have
gone the extra mile and are Committers or members of the Project Management
Committee. If you would like to get involved, the first step is to join the
mailing lists.
Modified: velocity/site/cms/trunk/lib/path.pm
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/lib/path.pm?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/lib/path.pm (original)
+++ velocity/site/cms/trunk/lib/path.pm Mon May 16 22:50:19 2016
@@ -12,6 +12,7 @@ our @patterns = (
[qr"^/engine/.*\.mdtext", standard => { template =>
"single_narrative.html", extralogo => '/engine/devel/images/velocity-logo.png'
}],
[qr"^/(?:tools/2.0/changes|tools/devel/changes)\.mdtext$", standard =>
{ template => "single_narrative.html", postprocessing => 1, extralogo =>
'/tools/devel/images/velocitytools.png' }],
[qr"^/tools/.*\.mdtext", standard => { template =>
"single_narrative.html", extralogo => '/tools/devel/images/velocitytools.png'
}],
+ [qr"^/rss/news.rss", rss => {} ],
[qr"\.mdtext$", standard => { template => "single_narrative.html" }],
);
Modified: velocity/site/cms/trunk/lib/view.pm
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/lib/view.pm?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/lib/view.pm (original)
+++ velocity/site/cms/trunk/lib/view.pm Mon May 16 22:50:19 2016
@@ -14,6 +14,7 @@ use Date::Parse;
use LWP::Simple;
use File::Temp qw/tempfile/;
use utf8;
+use HTML::Entities;
# set to 1 for some debug output
my $DEBUG = 1;
@@ -24,7 +25,8 @@ sub debug { print STDERR "[debug] " . sh
# postprocessing tags
sub recent_news { return `xsltproc stylesheets/recent_news.xsl
content/news.xml`; }
sub project_news { return `xsltproc stylesheets/project_news.xsl
content/news.xml`; }
-sub format_date { return time2str("%A, %e %B %Y", str2time(shift)); } ##
xsltproc doesn't know XSLT 2.0 format-date function
+sub format_date { return time2str("%A, %e %B %Y", str2time(shift)); } ##
xsltproc doesn't know XSLT 2.0
+sub format_date_short { return time2str("%a, %e %b %Y", str2time(shift)); } ##
xsltproc doesn't know XSLT 2.0 format-date function
sub changes_report
{
my $url = "http://svn.apache.org/repos/asf/velocity/" . shift .
"/src/changes/changes.xml";
@@ -64,6 +66,7 @@ sub team()
# post-processing sub
sub postprocess {
my $text = shift;
+ my $escape_html = shift;
my @params = shift;
while($text =~ /\{\{\w+(?:\([^(){}]*\))?\}\}/)
{
@@ -72,13 +75,16 @@ sub postprocess {
$tag =~ m/(\w+)(?:\(([^()]*)\))?/;
my ($method, $args) = ($1, $2);
my $replacement = &{\&{$method}}($args) or debug "could not find tag
sub $tag";
+ $replacement = encode_entities($replacement) if ($escape_html);
$text = $before . $replacement . $after;
}
# hack for {{{href}}link} syntax handling
while ($text =~ /\{\{\{([^{}]+)\}([^{}]+)\}\}/)
{
my ($before, $url, $link, $after) = ($`, $1, $2, $');
- $text = $before . '<a href="' . $url . '">' . $link . '</a>' . $after;
+ my $a = '<a href="' . $url . '">' . $link . '</a>';
+ $a = encode_entities($a) if ($escape_html);
+ $text = $before . $a . $after;
}
return $text;
}
@@ -89,7 +95,7 @@ sub standard {
my $file = "content$args{path}";
my $template = $args{template};
-debug "rendering file $file using template $template and args "
.Dumper(\%args);
+#debug "rendering file $file using template $template and args "
.Dumper(\%args);
read_text_file $file, \%args unless exists $args{content} and exists
$args{headers};
# find deeper left.nav
@@ -117,8 +123,17 @@ debug "rendering file $file using templa
my $processed = Template($template)->render(\%args);
- $processed = postprocess($processed, %args) if $args{postprocessing};
- return $processed, html => \%args;;
+ $processed = postprocess($processed, 0) if $args{postprocessing};
+ return $processed, html => \%args;
+}
+
+# rss page
+sub rss {
+ my %args = @_;
+
+ my $content = `xsltproc stylesheets/rss_news.xsl content/news.xml`;
+
+ return (postprocess $content, 1), rss => \%args;
}
sub breadcrumbs {
Modified: velocity/site/cms/trunk/stylesheets/changes.xsl
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/stylesheets/changes.xsl?rev=1744162&r1=1744161&r2=1744162&view=diff
==============================================================================
--- velocity/site/cms/trunk/stylesheets/changes.xsl (original)
+++ velocity/site/cms/trunk/stylesheets/changes.xsl Mon May 16 22:50:19 2016
@@ -54,7 +54,8 @@
</xsl:choose>
</td>
<td>
- <xsl:value-of select="normalize-space()"/>
+ <xsl:apply-templates select="node()" mode="nospace"/>
+<!-- <xsl:value-of select="normalize-space()"/>-->
<xsl:text>. </xsl:text>
<xsl:if test="@issue">
<xsl:text>Fixes </xsl:text>
@@ -74,5 +75,15 @@
</td>
</tr>
</xsl:template>
+ <xsl:template match="text()" mode="nospace" priority="1" >
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="normalize-space(.)" />
+ <xsl:text> </xsl:text>
+ </xsl:template>
+ <xsl:template match="node() | @*" mode="nospace">
+ <xsl:copy>
+ <xsl:apply-templates select="node() | @*" mode="nospace" />
+ </xsl:copy>
+ </xsl:template>
<xsl:template match="text()"/>
</xsl:stylesheet>
Added: velocity/site/cms/trunk/stylesheets/rss_news.xsl
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/stylesheets/rss_news.xsl?rev=1744162&view=auto
==============================================================================
--- velocity/site/cms/trunk/stylesheets/rss_news.xsl (added)
+++ velocity/site/cms/trunk/stylesheets/rss_news.xsl Mon May 16 22:50:19 2016
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+-->
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:news="http://velocity.apache.org/NEWS/1.0.0"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ exclude-result-prefixes="news"
+ version="1.0">
+ <xsl:output method="xml" indent="yes" omit-xml-declaration="no"/>
+ <xsl:template name="replace-nl">
+ <xsl:param name="str"/>
+ <xsl:if test="$str">
+ <xsl:variable name="before" select="substring-before($str,
' ')"/>
+ <xsl:variable name="after" select="substring-after($str, ' ')"/>
+ <xsl:text><p></xsl:text>
+ <xsl:choose>
+ <xsl:when test="$before">
+ <xsl:value-of select="normalize-space($before)"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="normalize-space($str)"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text></p></xsl:text>
+ <xsl:call-template name="replace-nl">
+ <xsl:with-param name="str" select="$after"/>
+ </xsl:call-template>
+ </xsl:if>
+ </xsl:template>
+ <xsl:template match="/news:news">
+ <rss xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
+ <channel>
+ <title>Apache Velocity Site News</title>
+ <link>http://velocity.apache.org</link>
+ <description>Recent news from Apache Velocity Site</description>
+ <xsl:apply-templates select="news:items/news:item"/>
+ </channel>
+ </rss>
+ </xsl:template>
+ <xsl:template match="//news:item">
+ <item>
+ <title><xsl:value-of select="news:headline/text()"/></title>
+
<link><xsl:text>http://velocity.apache.org/news.html#</xsl:text><xsl:value-of
select="@id"/></link>
+ <description><xsl:call-template name="replace-nl"><xsl:with-param
name="str" select="news:text"/></xsl:call-template></description>
+ <xsl:apply-templates select="news:categories/news:category"/>
+ <pubDate><xsl:text>{{format_date_short(</xsl:text><xsl:value-of
select="news:date"/><xsl:text>)}} 08:00:00 GMT</xsl:text></pubDate>
+
<guid><xsl:text>http://velocity.apache.org/news.html#</xsl:text><xsl:value-of
select="@id"/></guid>
+ <dc:date><xsl:value-of
select="news:date/text()"/><xsl:text>T08:00:00Z</xsl:text></dc:date>
+ </item>
+ </xsl:template>
+ <xsl:template match="//news:category">
+ <category> <xsl:copy-of select="node()"/> </category>
+ </xsl:template>
+ <xsl:template match="text()"/>
+</xsl:stylesheet>