diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-24 12:13:03 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-24 12:13:03 +0000 |
commit | 49b9a706d2dfa56312627887bdb8bedb0410ec8b (patch) | |
tree | 68b4be599b196fceed25794850865b40b976940a /views/odd/export | |
parent | 25206b3e3ca84573cde7598b5e8d92283d2701d5 (diff) | |
download | elgg-49b9a706d2dfa56312627887bdb8bedb0410ec8b.tar.gz elgg-49b9a706d2dfa56312627887bdb8bedb0410ec8b.tar.bz2 |
Closes #82: OpenDD feeds in the same vein as RSS
http://trac.elgg.org/elgg/ticket/82
git-svn-id: https://code.elgg.org/elgg/trunk@1100 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/odd/export')
-rw-r--r-- | views/odd/export/entity.php | 5 | ||||
-rw-r--r-- | views/odd/export/metadata.php | 8 | ||||
-rw-r--r-- | views/odd/export/relationship.php | 8 |
3 files changed, 14 insertions, 7 deletions
diff --git a/views/odd/export/entity.php b/views/odd/export/entity.php index d6efd413c..a147a707a 100644 --- a/views/odd/export/entity.php +++ b/views/odd/export/entity.php @@ -12,5 +12,8 @@ */ $entity = $vars['entity']; - echo export($entity->guid); + $serialised = exportAsArray($vars['entity']->guid); + foreach ($serialised as $s) + echo $s; + ?>
\ No newline at end of file diff --git a/views/odd/export/metadata.php b/views/odd/export/metadata.php index dff62086a..e6f74e2d2 100644 --- a/views/odd/export/metadata.php +++ b/views/odd/export/metadata.php @@ -14,8 +14,10 @@ $m = $vars['metadata']; $uuid = $vars['uuid']; - $odd = new ODDDocument(); - $odd->addElement($m->export()); + //$odd = new ODDDocument(); + //$odd->addElement($m->export()); - echo $odd; + //echo $odd; + + echo $m->export(); ?>
\ No newline at end of file diff --git a/views/odd/export/relationship.php b/views/odd/export/relationship.php index 85387a273..28b3026d5 100644 --- a/views/odd/export/relationship.php +++ b/views/odd/export/relationship.php @@ -13,8 +13,10 @@ $r = $vars['relationship']; - $odd = new ODDDocument(); - $odd->addElement($r->export()); + //$odd = new ODDDocument(); + //$odd->addElement($r->export()); - echo $odd; + //echo $odd; + + echo $r->export(); ?>
\ No newline at end of file |