aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-08-24 16:25:02 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-08-24 16:25:02 -0700
commitc35dab713d113d2a74397beb51d4ec318f06b17f (patch)
treeab49a01fb739d0d892b5d01e620c9ae7041d2c7c
parent828316ce704b94ac45c723d0c777642c59310b8a (diff)
downloadvolse-hubzilla-c35dab713d113d2a74397beb51d4ec318f06b17f.tar.gz
volse-hubzilla-c35dab713d113d2a74397beb51d4ec318f06b17f.tar.bz2
volse-hubzilla-c35dab713d113d2a74397beb51d4ec318f06b17f.zip
can't use ActivityStreams for location. Grrr.
-rw-r--r--include/items.php2
-rw-r--r--view/atom_item.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php
index f57f3a833..87e680e32 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 99b18e05f..1dae06db5 100644
--- a/view/atom_item.tpl
+++ b/view/atom_item.tpl
@@ -15,6 +15,6 @@
<published>$published</published>
<updated>$updated</updated>
<content>$content</content>
- <as:place>$location</as:place>
+ <dfrn:location>$location</dfrn:location>
<dfrn:comment-allow>$comment_allow</dfrn:comment-allow>
</entry>