Changeset 557

Show
Ignore:
Timestamp:
11/07/06 12:44:18 (2 years ago)
Author:
zool
Message:

this returns atom for now for simplicity/demo sake

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bbox/template/feature.gml.xml

    Revision 542 Revision 557
    1bleh  1 #from rdfobj import dc,ical,geo,georss 
       2 <feed xmlns="http://www.w3.org/2005/Atom" xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml"> 
       3    <title>Interesting places to visit in London </title> 
       4    <updated>(date goes here)</updated> 
       5    <author> 
       6       <name>Jo Walsh</name> 
       7       <email>zool@frot.org</email> 
       8    </author> 
       9    <id>http://example.com/bleh</id>  
       10 #for $feature in $features:  
       11    <entry> 
       12       <title>$feature[dc.title]</title> 
       13       <id>$feature.uri()</id>       
       14       <updated>$feature[ical.datetime]</updated> 
       15       <content type="html">$feature[dc.description]</content> 
       16       <georss:where> 
       17          <gml:Point> 
       18             <gml:pos>$feature[geo.lat] $feature[geo.long]</gml:pos> 
       19          </gml:Point> 
       20       </georss:where> 
       21    </entry> 
       22 #end for 
       23 </feed>