Skip to content

Instantly share code, notes, and snippets.

@barnabywalters
Created May 4, 2014 14:10
Show Gist options
  • Save barnabywalters/620bad1c63c417af2794 to your computer and use it in GitHub Desktop.
Save barnabywalters/620bad1c63c417af2794 to your computer and use it in GitHub Desktop.
php-mf2 dt-* <data class="value"> parse demonstration
<div class="h-event">
<span class="dt-start">
<data class="value" value="2013-01-01">first day of 2013</data> at
<data class="value" value="21:00">nine in the evening</data>
</div>
{
"items": [
{
"type": [
"h-event"
],
"properties": {
"start": [
"2013-01-01T21:00"
],
"name": [
"first day of 2013 at \r\n nine in the evening"
]
}
}
],
"rels": {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment