Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added compat table for hEvent

  • Loading branch information...
commit 3a41ce4782b0880c378193014d2fa9a94dc99f6b 1 parent 4eb5e77
@barnabywalters barnabywalters authored
Showing with 7 additions and 2 deletions.
  1. +7 −2 mf2/Parser.php
View
9 mf2/Parser.php
@@ -574,7 +574,7 @@ public function convertClassic($text) {
* Maps classic classnames to their µf2 equivalents
*/
private $classicMap = array(
- // hCard
+ // hCard (inc. h-adr and h-geo)
'vcard' => 'h-card',
'fn' => 'p-name',
'url' => 'u-url',
@@ -631,7 +631,12 @@ public function convertClassic($text) {
'education' => 'h-event p-education',
'experience' => 'h-event p-experience',
'skill' => 'p-skill',
- 'affiliation' => 'p-affiliation h-card'
+ 'affiliation' => 'p-affiliation h-card',
+ // hEvent
+ 'dtstart' => 'dt-start',
+ 'dtend' => 'dt-end',
+ 'duration' => 'dt-duration',
+ 'description' => 'p-description'
);
}
Please sign in to comment.
Something went wrong with that request. Please try again.