From 4d8268188b86730360d268b6d14717c694a2ac07 Mon Sep 17 00:00:00 2001 From: icewing Date: Thu, 1 May 2008 18:36:43 +0000 Subject: Marcus Povey * Added prototype FOAF view git-svn-id: https://code.elgg.org/elgg/trunk@618 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/foaf/export/entity.php | 62 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 views/foaf/export/entity.php (limited to 'views/foaf/export/entity.php') diff --git a/views/foaf/export/entity.php b/views/foaf/export/entity.php new file mode 100644 index 000000000..aea0b7855 --- /dev/null +++ b/views/foaf/export/entity.php @@ -0,0 +1,62 @@ + + + + + name; ?> + + username; ?> + + + +guid); + + // Iterate through and generate foaf:knows + if ($friends) + { + echo "\n"; + + foreach ($friends as $friend) + { + if ($friend instanceof ElggUser) + { +?> + + name; ?> + + + +\n"; + } +?> + + \ No newline at end of file -- cgit v1.2.3