Merge branch 'support-atom-namespaces-in-rss-author' into 'master'
Support more author types on RSS Specifically, any ActivityStreams or ATOM namespaces being used on an rss channel. See merge request !52
This commit is contained in:
commit
a3ddc4ec0c
@ -1003,11 +1003,13 @@ class Ostatus_profile extends Managed_DataObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$obj = ActivityUtils::getFeedAuthor($feedEl);
|
||||||
|
|
||||||
// @todo FIXME: We should check whether this feed has elements
|
// @todo FIXME: We should check whether this feed has elements
|
||||||
// with different <author> or <dc:creator> elements, and... I dunno.
|
// with different <author> or <dc:creator> elements, and... I dunno.
|
||||||
// Do something about that.
|
// Do something about that.
|
||||||
|
|
||||||
$obj = ActivityObject::fromRssChannel($feedEl);
|
if(empty($obj)) { $obj = ActivityObject::fromRssChannel($feedEl); }
|
||||||
|
|
||||||
return self::ensureActivityObjectProfile($obj, $hints);
|
return self::ensureActivityObjectProfile($obj, $hints);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user