diff --git a/boot.php b/boot.php
index 0a8a2fd842..76b80ce046 100644
--- a/boot.php
+++ b/boot.php
@@ -7,7 +7,7 @@ require_once('include/text.php');
require_once("include/pgettext.php");
-define ( 'FRIENDIKA_VERSION', '2.2.1069' );
+define ( 'FRIENDIKA_VERSION', '2.2.1070' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1079 );
diff --git a/include/items.php b/include/items.php
index be231f34df..ec519ad9bf 100644
--- a/include/items.php
+++ b/include/items.php
@@ -112,7 +112,7 @@ function get_feed_for(&$a, $dfrn_id, $owner_nick, $last_update, $direction = 0)
$items = $r;
- $feed_template = get_markup_template('atom_feed.tpl');
+ $feed_template = get_markup_template(($dfrn_id) ? 'atom_feed_dfrn.tpl' : 'atom_feed.tpl');
$atom = '';
@@ -1038,7 +1038,9 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $secure_fee
if(count($hubs))
$hub = implode(',', $hubs);
- $rawtags = $feed->get_feed_tags( SIMPLEPIE_NAMESPACE_ATOM_10, 'author');
+ $rawtags = $feed->get_feed_tags( NAMESPACE_DFRN, 'owner');
+ if(! $rawtags)
+ $rawtags = $feed->get_feed_tags( SIMPLEPIE_NAMESPACE_ATOM_10, 'author');
if($rawtags) {
$elems = $rawtags[0]['child'][SIMPLEPIE_NAMESPACE_ATOM_10];
if($elems['name'][0]['attribs'][NAMESPACE_DFRN]['updated']) {
diff --git a/view/atom_feed.tpl b/view/atom_feed.tpl
index 3d6bcc5b5a..c7cc082976 100644
--- a/view/atom_feed.tpl
+++ b/view/atom_feed.tpl
@@ -19,10 +19,10 @@
$feed_updated
-
+
$name
$profile_page
$birthday
-
+
diff --git a/view/atom_feed_dfrn.tpl b/view/atom_feed_dfrn.tpl
new file mode 100644
index 0000000000..3d6bcc5b5a
--- /dev/null
+++ b/view/atom_feed_dfrn.tpl
@@ -0,0 +1,28 @@
+
+
+
+ $feed_id
+ $feed_title
+ Friendika
+
+ $hub
+ $salmon
+
+ $feed_updated
+
+
+ $name
+ $profile_page
+
+
+ $birthday
+