forked from lieberjosh/georss
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathatom.html
43 lines (39 loc) · 2.76 KB
/
atom.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!--#set var="title" value="GeoRSS in Atom"-->
<!--#include virtual="header.html"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="The GeoRSS specification's method for adding geography to Atom feeds">
<title>GeoRSS in Atom</title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'><link href="global.css" type="text/css" rel="stylesheet">
</head>
<body>
<div class="nav"><a href="index.html">home</a> | <a href="overview.html">overview</a> | <a href="model.html">model</a> | <a href="gml.html">gml</a> | <a href="simple.html">simple</a> | <a href="w3c.html">W3C Geo</a> | <a href="atom.html">atom</a> | <a href="rdf_rss1.html">rdf/rss1</a> | <a href="implementations.html">implementations</a> | <a href="proposals.html">proposals</a></div>
<h4>GeoRSS ::<br/>Geographically Encoded Objects for RSS feeds</h4>
<h2>GeoRSS in Atom</h2>
<h3> Overview</h3>
<p>Location is specified using Atom 1.0's official extension mechanism (see <a href="http://www.atompub.org/2005/08/17/draft-ietf-atompub-format-11.html#extending_atom" target="_blank">Extending Atom</a>). We add a <strong><georss:where></strong> element as a child of the <strong><entry></strong> element. Within <strong><georss:where></strong> you may specify geography. We recommend that the <a href="gml.html">GML encoding</a> is used as follows:</p>
<ul>
<!--
<li> position <strong><georss:pos> </strong> </li> -->
<li> point <strong><gml:Point> </strong> </li>
<li> line <strong><gml:LineString></strong></li>
<li>polygon<strong> <gml:Polygon></strong></li>
<li> box<strong> <gml:Envelope> </strong></li>
</ul>
<p><a href="simple.html">GeoRSS Simple </a> could also be used:</p>
<ul>
<!--
<li> position <strong><georss:pos> </strong> </li> -->
<li> point <strong><georss:point> </strong> </li>
<li> line <strong><georss:line></strong></li>
<li>polygon<strong> <georss:polygon></strong></li>
<li> box<strong> <georss:box> </strong></li>
</ul>
<p>Atom processing software is required to either read or ignore this type of "foreign markup"--not fail, so there is no danger of breaking someone's RSS reader (or publisher) by including this <where> element in your feed. </p>
<p>NOTE: GML allows you to specify a coordinate reference system (CRS) other than WGS84 decimal degrees (think lat/long). If you have a need to express geography in a CRS other than this, we recommend that you specify the geographic object multiple times, one in WGS84 and the others in your other desired CRSes. </p>
<h3>Examples</h3>
<p>for now see the <a href="gml.html#examples">examples on the GML page</a> </p>
<!--#include virtual="footer.html"-->
</body>
</html>