summaryrefslogtreecommitdiff
path: root/actions/foaf.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-10 08:19:36 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-10 08:19:36 -0400
commit3e321063941a1a9ad282b2a930b24c8547cc19fe (patch)
tree9df8a8895edbe98395ea4a5ea56bc659a5391f53 /actions/foaf.php
parentc73ebf3382196dfd175fd1d5bc966157d96cde38 (diff)
incorrectly used , instead of
darcs-hash:20080610121936-84dde-5e13dfc79beaac01ed795d37e11b02cad610051d.gz
Diffstat (limited to 'actions/foaf.php')
-rw-r--r--actions/foaf.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/foaf.php b/actions/foaf.php
index d005510b6..fc4a81f3f 100644
--- a/actions/foaf.php
+++ b/actions/foaf.php
@@ -90,7 +90,7 @@ class FoafAction extends Action {
$scaled = $profile->getAvatar($size);
if (!$scaled->original) { # sometimes the original has one of our scaled sizes
common_element_start('thumbnail');
- common_element('Image', array('rdf:about', $scaled->url));
+ common_element('Image', array('rdf:about' => $scaled->url));
common_element_end('thumbnail');
}
}
@@ -112,7 +112,7 @@ class FoafAction extends Action {
} else {
$other = User::staticGet($sub->subscribed);
}
- common_element('knows', array('rdf:about', $other->uri));
+ common_element('knows', array('rdf:resource' => $other->uri));
$person[$other->uri] = array(LISTENEE, $other);
}
}
@@ -147,7 +147,7 @@ class FoafAction extends Action {
$profile = Profile::staticGet($p[1]->id);
common_element_start('Person', array('rdf:about' => $uri));
if ($p[0] == LISTENER || $p[0] == BOTH) {
- common_element('knows', array('rdf:about', $user->uri));
+ common_element('knows', array('rdf:resource' => $user->uri));
}
$this->show_microblogging_account($profile, ($p[1] instanceof User) ?
common_root_url() : NULL);