diff options
author | zotlabs <mike@macgirvin.com> | 2018-02-01 19:52:40 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-02-01 19:52:40 -0800 |
commit | dd35cad62a6574143940f4879083d9e80f5a4e88 (patch) | |
tree | 803d7960245c710578d431daf43fe16db62b12d3 /Zotlabs | |
parent | 5f972e00fec8174e92a77be3f9eec4ca09c93442 (diff) | |
download | volse-hubzilla-dd35cad62a6574143940f4879083d9e80f5a4e88.tar.gz volse-hubzilla-dd35cad62a6574143940f4879083d9e80f5a4e88.tar.bz2 volse-hubzilla-dd35cad62a6574143940f4879083d9e80f5a4e88.zip |
some feed cleanup
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Display.php | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php index 6d895feb5..11dd0d174 100644 --- a/Zotlabs/Module/Display.php +++ b/Zotlabs/Module/Display.php @@ -343,14 +343,15 @@ class Display extends \Zotlabs\Web\Controller { case 'atom': $atom = replace_macros(get_markup_template('atom_feed.tpl'), array( - '$version' => xmlify(\Zotlabs\Lib\System::get_project_version()), - '$red' => xmlify(\Zotlabs\Lib\System::get_platform_name()), - '$feed_id' => xmlify(\App::$cmd), - '$feed_title' => xmlify(t('Article')), - '$feed_updated' => xmlify(datetime_convert('UTC', 'UTC', 'now', ATOM_TIME)), - '$author' => '', - '$owner' => '', - '$profile_page' => xmlify(z_root() . '/display/' . $target_item['mid']), + '$version' => xmlify(\Zotlabs\Lib\System::get_project_version()), + '$generator' => xmlify(\Zotlabs\Lib\System::get_platform_name()), + '$generator_uri' => 'https://hubzilla.org', + '$feed_id' => xmlify(\App::$cmd), + '$feed_title' => xmlify(t('Article')), + '$feed_updated' => xmlify(datetime_convert('UTC', 'UTC', 'now', ATOM_TIME)), + '$author' => '', + '$owner' => '', + '$profile_page' => xmlify(z_root() . '/display/' . $target_item['mid']), )); $x = [ 'xml' => $atom, 'channel' => $channel, 'observer_hash' => $observer_hash, 'params' => $params ]; |