J. King
1 year ago
3 changed files with 57 additions and 1 deletions
@ -0,0 +1,25 @@ |
|||
<!-- |
|||
The JSON output of this test is consistent with the Python and Go |
|||
libraries, but not php-mf2 itself, as it contains a spurious vcard and |
|||
omits the location entirely. |
|||
--> |
|||
<div class="vevent"> |
|||
<h3 class="summary">XYZ Project Review</h3> |
|||
<p class="description">Project XYZ Review Meeting</p> |
|||
<p> <a class="url" href="http://example.com/xyz-meeting">http://example.com/xyz-meeting</a> </p> |
|||
<p>To be held on |
|||
<span class="dtstart"> |
|||
<abbr class="value" title="1998-03-12">the 12th of March</abbr> |
|||
from <span class="value">8:30am</span> <abbr class="value" title="-0500">EST</abbr> |
|||
</span> until |
|||
<span class="dtend"> |
|||
<span class="value">9:30am</span> <abbr class="value" title="-0500">EST</abbr> |
|||
</span> |
|||
</p> |
|||
<p>Location: <span class="location">1CP Conference Room 4350</span></p> |
|||
<small>Booked by: <span class="uid">guid-1.host1.com</span> on |
|||
<span class="dtstamp"> |
|||
<abbr class="value" title="1998-03-09">the 9th</abbr> at <span class="value">6:00pm</span> |
|||
</span> |
|||
</small> |
|||
</div> |
@ -0,0 +1,31 @@ |
|||
{ |
|||
"items": [ |
|||
{ |
|||
"type": [ |
|||
"h-event" |
|||
], |
|||
"properties": { |
|||
"name": [ |
|||
"XYZ Project Review" |
|||
], |
|||
"description": [ |
|||
"Project XYZ Review Meeting" |
|||
], |
|||
"url": [ |
|||
"http://example.com/xyz-meeting" |
|||
], |
|||
"location": [ |
|||
"1CP Conference Room 4350" |
|||
], |
|||
"start": [ |
|||
"1998-03-12 08:30-0500" |
|||
], |
|||
"end": [ |
|||
"1998-03-12 09:30-0500" |
|||
] |
|||
} |
|||
} |
|||
], |
|||
"rels": {}, |
|||
"rel-urls": {} |
|||
} |
Loading…
Reference in new issue