From 30fa49bc3fa4f94184d693932e838c0672f24a16 Mon Sep 17 00:00:00 2001 From: winter Date: Mon, 10 Mar 2025 20:13:40 +0000 Subject: add user rss/atom feeds --- templates/actor_profile.php | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'templates/actor_profile.php') diff --git a/templates/actor_profile.php b/templates/actor_profile.php index ca19978..dfb0174 100644 --- a/templates/actor_profile.php +++ b/templates/actor_profile.php @@ -1,7 +1,9 @@
@@ -23,11 +25,7 @@ $user = UserAccount::findByCurrentSession();
- + isLocal && isset($actor->homepage)): ?>
  • @@ -36,6 +34,21 @@ $user = UserAccount::findByCurrentSession();
  • + getBool('profile.rssEnabled')): ?> + +
  • + id/feed/$lang/feed.rss" ?>" target="_blank" type="application/rss+xml"> + + + +
  • +
  • + id/feed/$lang/feed.atom" ?>" target="_blank" type="application/atom+xml"> + + + +
  • + actor != $actor): ?>
  • $user, 'actor' => $actor]) ?>
  • -- cgit v1.3