forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r390789 - in /forrest/trunk/plugins/org.apache.forrest.plugin.input.listLocations/src/documentation/content/xdocs: index.xml locations.xml
Date Sun, 02 Apr 2006 06:34:42 GMT
Author: crossley
Date: Sat Apr  1 22:34:41 2006
New Revision: 390789

URL: http://svn.apache.org/viewcvs?rev=390789&view=rev
Log:
Remove an out-of-date example. Add demo of geoPoint and notes.

Modified:
    forrest/trunk/plugins/org.apache.forrest.plugin.input.listLocations/src/documentation/content/xdocs/index.xml
    forrest/trunk/plugins/org.apache.forrest.plugin.input.listLocations/src/documentation/content/xdocs/locations.xml

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.listLocations/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.listLocations/src/documentation/content/xdocs/index.xml?rev=390789&r1=390788&r2=390789&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.listLocations/src/documentation/content/xdocs/index.xml
(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.listLocations/src/documentation/content/xdocs/index.xml
Sat Apr  1 22:34:41 2006
@@ -28,11 +28,12 @@
         and transforms them to documents.
       </p>
       <p>
-        Use URIs of the form *locations.html
-        (i.e. any URI ending with "locations.html").
+        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.
       </p>
       <p>The following input produces <a href="site:locations">this output</a>.</p>
-<source><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
+<source><![CDATA[...
 <locations title="Some golf driving ranges">
 
 <introduction>
@@ -40,24 +41,28 @@
 </introduction>
 
 <location>
-  <id>pga-show-2005</id>
-  <title>The 2005 PGA Golf Show</title>
+  <id>albert-park</id> 
+  <title>Albert Park Driving Range</title> 
   <place>
-     Gold Coast Convention and Exhibition Centre, Queensland.
+    Aughtie Drive, Albert Park. 3004. Victoria.
   </place>
-  <url>http://www.pgaexpo.com.au/</url>
-  <notes>
-    <note>2005-08-04 to 2005-08-07</note>
-  </notes>
+  <url>http://www.golfvictoria.com.au/range.htm</url>
 </location>
 
 <location>
-  <id>albert-park</id>
-  <title>Albert Park Driving Range</title>
+  <id>aga</id> 
+  <title>Australasian Golf Academy</title> 
   <place>
-    Aughtie Drive, Albert Park. 3004. Victoria.
+    Robina Woods Golf Course. Ron Penhaligon Way, Robina, Queensland.
   </place>
-  <url>http://www.golfvictoria.com.au/range.htm</url>
+  <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>
 
 ...

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.listLocations/src/documentation/content/xdocs/locations.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.listLocations/src/documentation/content/xdocs/locations.xml?rev=390789&r1=390788&r2=390789&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.listLocations/src/documentation/content/xdocs/locations.xml
(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.listLocations/src/documentation/content/xdocs/locations.xml
Sat Apr  1 22:34:41 2006
@@ -24,18 +24,6 @@
 </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>
@@ -51,6 +39,13 @@
     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>



Mime
View raw message