aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-11-01 23:42:26 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-11-01 23:42:26 -0700
commitd8630dbdd8217ff31581bc521ceb1cd6be9b999c (patch)
tree991ddcc47b03058cf61479faf2dedc25eb6ad039 /include/items.php
parent36a77c6db2272d7db31982642715034ce718552f (diff)
downloadvolse-hubzilla-d8630dbdd8217ff31581bc521ceb1cd6be9b999c.tar.gz
volse-hubzilla-d8630dbdd8217ff31581bc521ceb1cd6be9b999c.tar.bz2
volse-hubzilla-d8630dbdd8217ff31581bc521ceb1cd6be9b999c.zip
infrastructure for swat0 (#fsw)
Diffstat (limited to 'include/items.php')
-rw-r--r--include/items.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php
index 62f0876ad..da85ed331 100644
--- a/include/items.php
+++ b/include/items.php
@@ -1023,7 +1023,7 @@ function atom_entry($item,$type,$author,$owner,$comment = false) {
$a = get_app();
- $o = "<entry>\r\n";
+ $o = "\r\n\r\n<entry>\r\n";
if(is_array($author))
$o .= atom_author('author',$author['name'],$author['url'],80,80,$author['thumb']);
@@ -1033,7 +1033,7 @@ function atom_entry($item,$type,$author,$owner,$comment = false) {
$o .= atom_author('dfrn:owner',$item['owner-name'],$item['owner-link'],80,80,$item['owner-avatar']);
if($item['parent'] != $item['id'])
- $o .= '<thr:in-reply-to ref="' . xmlify($item['parent-uri']) . '" />' . "\r\n";
+ $o .= '<thr:in-reply-to ref="' . xmlify($item['parent-uri']) . '" type="text/html" href="' . xmlify($a->get_baseurl() . '/display/' . $owner['nickname'] . '/' . $item['id']) . '" />' . "\r\n";
$o .= '<id>' . xmlify($item['uri']) . '</id>' . "\r\n";
$o .= '<title>' . xmlify($item['title']) . '</title>' . "\r\n";