mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
stuff to make connecting to diaspora profiles easier
This commit is contained in:
parent
5034d7333e
commit
7e33c1072a
3 changed files with 21 additions and 7 deletions
|
@ -905,6 +905,8 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0) {
|
|||
|
||||
require_once('simplepie/simplepie.inc');
|
||||
|
||||
if(! $contact)
|
||||
logger('consume feed: anonymous');
|
||||
$feed = new SimplePie();
|
||||
$feed->set_raw_data($xml);
|
||||
if($datedir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue