HTML5 Microdata format for location and temperature? -
what semantic way mark location , temperature? thinking of html5 microdata didn't come across appropriate.
for example:
new york, ny 100°
there format locations http://schema.org/place, don't think there 1 temperature, weather event , use this.
<div itemprop="event" itemscope itemtype="http://schema.org/event"> <span itemprop="location">new york ny, us</span> <meta itemprop="startdate" content="2011-05-23">may 23 <span itemprop="name">100°</span> </div>
example: http://jsfiddle.net/jbjku/
more info here: http://schema.org/event
Comments
Post a Comment