Apache Forrest > Plugins
 
Font size:      

Welcome to the org.apache.forrest.plugin.input.listLocations Plugin

This is documentation for current version v0.7 (More)

listLocations Plugin

This plugin uses lists of locations maintained in a simple xml format and transforms them to documents.

Use URIs of the form *locations.html (i.e. any URI ending with "locations.html").

The following input produces this output.

<?xml version="1.0" encoding="UTF-8"?>
<locations title="Some golf driving ranges">

<introduction>
  These are some golf driving ranges in Australia.
</introduction>

<location>
  <id>pga-show-2005</id>
  <title>The 2005 PGA Golf Show</title>
  <place>
     Gold Coast Convention and Exhibition Centre, Queensland.
  </place>
  <url>http://www.pgaexpo.com.au/</url>
  <notes>
    <note>2005-08-04 to 2005-08-07</note>
  </notes>
</location>

<location>
  <id>albert-park</id>
  <title>Albert Park Driving Range</title>
  <place>
    Aughtie Drive, Albert Park. 3004. Victoria.
  </place>
  <url>http://www.golfvictoria.com.au/range.htm</url>
</location>

...
</locations>