Add support for Atom 1.0 to Layer.GeoRSS. Patch from Sean Gillies provided
in #506: tests are included to test that the links are properly created for Atom 1.0 content (with a data sample provided in the patch). Thanks, Sean! git-svn-id: http://svn.openlayers.org/trunk/openlayers@2256 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
34
tests/atom-1.0.xml
Normal file
34
tests/atom-1.0.xml
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom"
|
||||
xmlns:georss="http://www.georss.org/georss">
|
||||
|
||||
<title>tumulus</title>
|
||||
<link rel="self"
|
||||
href="http://pleiades.stoa.org/places/tumulus"/>
|
||||
<updated/>
|
||||
<author/>
|
||||
<id>http://pleiades.stoa.org/places/tumulus</id>
|
||||
|
||||
<entry>
|
||||
<title>Unnamed Tumulus</title>
|
||||
<link rel="alternate"
|
||||
href="http://pleiades.stoa.org/places/638896"
|
||||
/>
|
||||
<id>http://pleiades.stoa.org/places/638896</id>
|
||||
<updated/>
|
||||
<summary>An ancient tumulus, attested during the Classical period (modern location: Karaburun). Its ancient name is not known.</summary>
|
||||
<georss:point>36.7702 29.9805</georss:point>
|
||||
</entry>
|
||||
<entry>
|
||||
<title>Unnamed Tumulus</title>
|
||||
<link rel="alternate"
|
||||
href="http://pleiades.stoa.org/places/638924"
|
||||
/>
|
||||
<id>http://pleiades.stoa.org/places/638924</id>
|
||||
<updated/>
|
||||
<summary>An ancient tumulus, attested during the Classical period (modern location: Kızılbel). Its ancient name is not known.</summary>
|
||||
<georss:point>36.7263 29.8619</georss:point>
|
||||
</entry>
|
||||
|
||||
</feed>
|
||||
|
||||
Reference in New Issue
Block a user