use Friendica\Core\Renderer;
use Friendica\Core\Protocol;
use Friendica\Model\Contact;
use Friendica\Core\Renderer;
use Friendica\Core\Protocol;
use Friendica\Model\Contact;
'network' => Protocol::FEED
];
$data = Contact::selectToArray([], $condition, ['order' => ['name']]);
'network' => Protocol::FEED
];
$data = Contact::selectToArray([], $condition, ['order' => ['name']]);
$xml = new \DOMDocument( '1.0', 'utf-8' );
$opml = $xml->createElement('opml');
$head = $xml->createElement('head');
$body = $xml->createElement('body');
$outline = $xml->createElement('outline');
$xml = new \DOMDocument( '1.0', 'utf-8' );
$opml = $xml->createElement('opml');
$head = $xml->createElement('head');
$body = $xml->createElement('body');
$outline = $xml->createElement('outline');
- $outline->setAttribute('title', $a->getUserValue('username') . '\'s RSS/Atom contacts');
- $outline->setAttribute('text', $a->getUserValue('username') . '\'s RSS/Atom contacts');
+ $outline->setAttribute('title', $user['username'] . '\'s RSS/Atom contacts');
+ $outline->setAttribute('text', $user['username'] . '\'s RSS/Atom contacts');