From a0ecdd025eadf22142c7ed5018b930127ea10d9f Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Wed, 6 Oct 2010 19:46:44 -0700 Subject: infrastructure for salmon --- include/items.php | 3 +++ include/notifier.php | 1 + 2 files changed, 4 insertions(+) (limited to 'include') 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)) ? '' . "\n" : ''); + $salmon = '' . "\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']), diff --git a/include/notifier.php b/include/notifier.php index f7d2844c3..ce4e5fed4 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -157,6 +157,7 @@ '$feed_title' => xmlify($owner['name']), '$feed_updated' => xmlify(datetime_convert('UTC', 'UTC', $updated . '+00:00' , ATOM_TIME)) , '$hub' => $hubxml, + '$salmon' => '', // private feed, we don't use salmon here '$name' => xmlify($owner['name']), '$profile_page' => xmlify($owner['url']), '$photo' => xmlify($owner['photo']), -- cgit v1.2.3