Small tweak to the default template.
[elgg.git] / _friends / foaf.php
blob69eee15a204a7e7b8c49a0e7e01ebcb9d974e05c
1 <?php
3 // ELGG generate FOAF file
5 // Run includes
6 require("../includes.php");
8 // Initialise functions for user details, icon management and profile management
9 run("userdetails:init");
10 run("profile:init");
11 run("friends:init");
13 // Whose friends are we looking at?
14 global $page_owner;
16 header("Content-Type: text/xml; charset=utf-8");
17 echo run("foaf:generate", $page_owner);