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