From c35dab713d113d2a74397beb51d4ec318f06b17f Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Tue, 24 Aug 2010 16:25:02 -0700 Subject: [PATCH] can't use ActivityStreams for location. Grrr. --- include/items.php | 2 +- view/atom_item.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/items.php b/include/items.php index f57f3a833b..87e680e324 100644 --- a/include/items.php +++ b/include/items.php @@ -176,7 +176,7 @@ function get_atom_elements($item) { if($rawcreated) $res['created'] = unxmlify($rawcreated[0]['data']); - $rawlocation = $item->get_item_tags('http://activitystrea.ms/spec/1.0/', 'place'); + $rawlocation = $item->get_item_tags(NAMESPACE_DFRN, 'location'); if($rawlocation) $res['location'] = unxmlify($rawlocation[0]['data']); diff --git a/view/atom_item.tpl b/view/atom_item.tpl index 99b18e05f7..1dae06db56 100644 --- a/view/atom_item.tpl +++ b/view/atom_item.tpl @@ -15,6 +15,6 @@ $published $updated $content - $location + $location $comment_allow