aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-14 02:04:09 -0800
committerFriendika <info@friendika.com>2011-01-14 02:04:09 -0800
commita1c069ee02a00f55008c512c3dba101ae391badb (patch)
tree39ce6b851978a9f489ad84be1651cc072e5cf5c9 /include
parent5bfb0ba4c2ee23366651e1e38d3964098f99f5cf (diff)
downloadvolse-hubzilla-a1c069ee02a00f55008c512c3dba101ae391badb.tar.gz
volse-hubzilla-a1c069ee02a00f55008c512c3dba101ae391badb.tar.bz2
volse-hubzilla-a1c069ee02a00f55008c512c3dba101ae391badb.zip
compatibility: version discovery
Diffstat (limited to 'include')
-rw-r--r--include/items.php1
-rw-r--r--include/notifier.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index 47bc9f15a..d2104c395 100644
--- a/include/items.php
+++ b/include/items.php
@@ -182,6 +182,7 @@ function get_feed_for(&$a, $dfrn_id, $owner_nick, $last_update, $direction = 0)
$atom .= replace_macros($feed_template, array(
+ '$version' => xmlify(FRIENDIKA_VERSION),
'$feed_id' => xmlify($a->get_baseurl() . '/profile/' . $owner_nick),
'$feed_title' => xmlify($owner['name']),
'$feed_updated' => xmlify(datetime_convert('UTC', 'UTC', 'now' , ATOM_TIME)) ,
diff --git a/include/notifier.php b/include/notifier.php
index 5bc21cf13..7791b9bd4 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -176,6 +176,7 @@
}
$atom .= replace_macros($feed_template, array(
+ '$version' => xmlify(FRIENDIKA_VERSION),
'$feed_id' => xmlify($a->get_baseurl() . '/profile/' . $owner['nickname'] ),
'$feed_title' => xmlify($owner['name']),
'$feed_updated' => xmlify(datetime_convert('UTC', 'UTC', $updated . '+00:00' , ATOM_TIME)) ,