[georss] "When" information in georss

Noyori Tatsuya nojorin at gmail.com
Tue Aug 7 09:06:33 EDT 2007


I like simple georss. I think we need more simple WHEN element like
the following.

dateTime:
<georss:dateTime>2003-02-13T12:28-08:00</georss:dateTime>

period:
<georss:period>2003-02-13T12:28-08:00 2003-02-13T12:30-08:00</georss:period>


Moreover, I think we need GROUP element for multiple locations and
time like the following.

<georss:group>
  <georss:dateTime>2007-08-07T00:00-08:00</georss:dateTime>
  <georss:point>45.256 -71.92</georss:point>
  <xhtml:div>sunny</xhtml:div>
</georss:group>
<georss:group>
  <georss:dateTime>2007-08-07T03:00-08:00</georss:dateTime>
  <georss:point>45.256 -71.92</georss:point>
  <xhtml:div>cloudy</xhtml:div>
</georss:group>
<georss:group>
  <georss:dateTime>2007-08-07T06:00-08:00</georss:dateTime>
  <georss:point>45.256 -71.92</georss:point>
  <xhtml:div>rainy</xhtml:div>
</georss:group>

If you want to summarize duplicated elements, you can do as follows.

<georss:group>
  <georss:point>45.256 -71.92</georss:point>
  <georss:group>
    <georss:dateTime>2007-08-07T00:00-08:00</georss:dateTime>
    <xhtml:div>sunny</xhtml:div>
  </georss:group>
  <georss:group>
    <georss:dateTime>2007-08-07T03:00-08:00</georss:dateTime>
    <xhtml:div>cloudy</xhtml:div>
  </georss:group>
  <georss:group>
    <georss:dateTime>2007-08-07T06:00-08:00</georss:dateTime>
    <xhtml:div>rainy</xhtml:div>
  </georss:group>
</georss:group>

This is good idea, isn't it?

-- 
Tatsuya


More information about the georss mailing list