aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-09-30 16:06:53 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-09-30 16:06:53 -0700
commit7ad27f5737b4c3dc800c8a707a3010ec33672389 (patch)
tree2f16e996932abd8c6046176bafac157da9adfa02 /include/items.php
parenta0a7c3be8bdb5623344351b2948911e9770dc949 (diff)
downloadvolse-hubzilla-7ad27f5737b4c3dc800c8a707a3010ec33672389.tar.gz
volse-hubzilla-7ad27f5737b4c3dc800c8a707a3010ec33672389.tar.bz2
volse-hubzilla-7ad27f5737b4c3dc800c8a707a3010ec33672389.zip
implement rel alternate, some corresponding last minute touchups on display module
Diffstat (limited to 'include/items.php')
-rw-r--r--include/items.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index 630d9dfbb..42355cc3c 100644
--- a/include/items.php
+++ b/include/items.php
@@ -179,6 +179,7 @@ function get_feed_for(&$a, $dfrn_id, $owner_id, $last_update, $direction = 0) {
'$updated' => xmlify(datetime_convert('UTC', 'UTC', $item['edited'] . '+00:00' , ATOM_TIME)),
'$location' => xmlify($item['location']),
'$type' => $type,
+ '$alt' => xmlify($a->get_baseurl() . '/display/' . $owner_nick . '/' . $item['id']),
'$content' => xmlify($item['body']),
'$verb' => xmlify($verb),
'$actobj' => $actobj, // do not xmlify
@@ -196,6 +197,7 @@ function get_feed_for(&$a, $dfrn_id, $owner_id, $last_update, $direction = 0) {
'$updated' => xmlify(datetime_convert('UTC', 'UTC', $item['edited'] . '+00:00' , ATOM_TIME)),
'$type' => $type,
'$content' => xmlify($item['body']),
+ '$alt' => xmlify($a->get_baseurl() . '/display/' . $owner_nick . '/' . $item['id']),
'$verb' => xmlify($verb),
'$actobj' => $actobj, // do not xmlify
'$parent_id' => xmlify($item['parent-uri']),