|
@ -414,7 +414,7 @@ class Mf2 extends Format { |
|
|
$refs = []; |
|
|
$refs = []; |
|
|
|
|
|
|
|
|
// Single plaintext and URL values
|
|
|
// Single plaintext and URL values
|
|
|
self::collectSingleValues(['published','summary','rsvp','swarm-coins'], ['url','featured'], $item, $url, $data); |
|
|
|
|
|
|
|
|
self::collectSingleValues(['published','summary','rsvp','swarm-coins'], ['url','featured','quotation-of'], $item, $url, $data); |
|
|
|
|
|
|
|
|
if(isset($data['rsvp'])) |
|
|
if(isset($data['rsvp'])) |
|
|
$data['rsvp'] = strtolower($data['rsvp']); |
|
|
$data['rsvp'] = strtolower($data['rsvp']); |
|
@ -431,7 +431,7 @@ class Mf2 extends Format { |
|
|
|
|
|
|
|
|
// These properties are always returned as arrays and always URLs
|
|
|
// These properties are always returned as arrays and always URLs
|
|
|
// If the value is an h-* object with a URL, the URL is used and a "ref" is added as well
|
|
|
// If the value is an h-* object with a URL, the URL is used and a "ref" is added as well
|
|
|
self::collectArrayURLValues(['photo','video','audio','syndication','in-reply-to','like-of','repost-of','bookmark-of','quotation-of'], $item, $data, $refs, $http); |
|
|
|
|
|
|
|
|
self::collectArrayURLValues(['photo','video','audio','syndication','in-reply-to','like-of','repost-of','bookmark-of'], $item, $data, $refs, $http); |
|
|
|
|
|
|
|
|
self::determineNameAndContent($item, $data); |
|
|
self::determineNameAndContent($item, $data); |
|
|
|
|
|
|
|
|