Created
May 4, 2014 14:10
-
-
Save barnabywalters/620bad1c63c417af2794 to your computer and use it in GitHub Desktop.
php-mf2 dt-* <data class="value"> parse demonstration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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