html5 - Structured Data for Reocurring Event -


i'm webmaster smctheatre.com. we're community theatre puts on handful of plays each year. i'm adding toolbox learning structured data. microformat, microdata, or rdfa, don't have strong preference 1 on another. syntax of rdfa lite , microfomat on microdata , full-blown rdfa.

the thing haven't been able answer how mark event occurs on multiple dates, , @ different times.

here's trimmed down snippet site:

<article>   <header>     <h1>play name</h1>     <div class="addthis_toolbox">...</div>   </header>    <aside>     <h2>dates</h2>     <ul>       <li>may</li>       <li>fridays 17 &amp; 24</li>       <li>saturdays 18 &amp; 25</li>       <li>sundays 19 &amp; 26</li>       <li>monday 27</li>       <li>all shows start @ 7:30 pm</li>     </ul>      <h2>tickets</h2>     <ul>       <li>adult $8.00</li>       <li>child (5-17) $5.00</li>     </ul>      <h2>directed by</h2>     <ul>       <li>director name</li>     </ul>   </aside>   <div>     <p>summary of theatre play....</p>   </div> </article> 

duration of plays typically 2 hours, given these live performances, there's no hard , fast ending time.

how mark content indicate dates , times?

seriously doubt there's example of want, microformats flexible , think i've found enough started:

 <div class="vevent">  <a class="url" href="http://conferences.oreillynet.com/pub/w/40/program.html">   http://conferences.oreillynet.com/pub/w/40/program.html  </a>  <span class="summary">web 2.0 conference</span>:   <abbr class="dtstart" title="2005-10-05">october 5</abbr>-  <abbr class="dtend" title="2005-10-07">7</abbr>,  @ <span class="location">argent hotel, san francisco, ca</span> </div> 

the example below uses multiple dates @ same venue; swap out div article , looks you're in business. make header summary, , put description class on p summary...even though sounds backwards, it's want.

how further want take you. see work start times, possibly url....and more microformats, more goodness out of them. should check out wiki, it's full of great info, , examples can , should pilfer.

http://microformats.org/wiki/hcalendar


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -