aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-06 19:46:44 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-06 19:46:44 -0700
commita0ecdd025eadf22142c7ed5018b930127ea10d9f (patch)
tree861eac177aea2bde9a16d3c4d0739a2396d664d8 /include/items.php
parent98ebcada61dd76b0707869ca6e3ee6b16613cadf (diff)
downloadvolse-hubzilla-a0ecdd025eadf22142c7ed5018b930127ea10d9f.tar.gz
volse-hubzilla-a0ecdd025eadf22142c7ed5018b930127ea10d9f.tar.bz2
volse-hubzilla-a0ecdd025eadf22142c7ed5018b930127ea10d9f.zip
infrastructure for salmon
Diffstat (limited to 'include/items.php')
-rw-r--r--include/items.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index 799af48ac..e4376fbee 100644
--- a/include/items.php
+++ b/include/items.php
@@ -127,12 +127,15 @@ function get_feed_for(&$a, $dfrn_id, $owner_id, $last_update, $direction = 0) {
$hubxml = ((strlen($hub)) ? '<link rel="hub" href="' . xmlify($hub) . '" />' . "\n" : '');
+ $salmon = '<link rel="salmon" href="' . xmlify($a->get_baseurl() . '/salmon/' . $owner_nick) . '" />' . "\n" ;
+ $salmon = ''; // remove this line when salmon handler is finished
$atom .= replace_macros($feed_template, array(
'$feed_id' => xmlify($a->get_baseurl() . '/profile/' . $owner_nick),
'$feed_title' => xmlify($owner['name']),
'$feed_updated' => xmlify(datetime_convert('UTC', 'UTC', $updated . '+00:00' , ATOM_TIME)) ,
'$hub' => $hubxml,
+ '$salmon' => $salmon,
'$name' => xmlify($owner['name']),
'$profile_page' => xmlify($owner['url']),
'$photo' => xmlify($owner['photo']),