This project has retired. For details please refer to its Attic page.
Welcome to the org.apache.forrest.plugin.input.listLocations Plugin
Apache Forrest > Plugins
Plugin: listLocations input
 
Font size:      

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

listLocations Plugin

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

Either add the document type declaration to the xml instance (Forrest will automatically respond to it), or use URIs of the form *locations.html (i.e. any URI ending with "locations.html"). See Samples.

The following input produces this output.

...
<locations title="Some golf driving ranges">

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

<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>

<location>
  <id>aga</id> 
  <title>Australasian Golf Academy</title> 
  <place>
    Robina Woods Golf Course. Ron Penhaligon Way, Robina, Queensland.
  </place>
  <url>http://www.aga.edu.au/range.asp</url>
  <geoPoint>
    <latitude>-28.05</latitude>
    <longitude>153.3</longitude>
  </geoPoint>
  <notes>
    <note>A base for the academy training activities and open to the public.</note>
  </notes>
</location>

...
</locations>