From e0588a6113ff6b3c1000fa6c82629f81fb5e05b5 Mon Sep 17 00:00:00 2001 From: winter Date: Sat, 15 Mar 2025 18:53:29 +0000 Subject: [refactor] move some templates to subdirs --- templates/actor/rss.php | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 templates/actor/rss.php (limited to 'templates/actor/rss.php') diff --git a/templates/actor/rss.php b/templates/actor/rss.php new file mode 100644 index 0000000..03fc4f5 --- /dev/null +++ b/templates/actor/rss.php @@ -0,0 +1,46 @@ +'; +?> + + + + <?= htmlspecialchars($actor->displayName) ?> — <?= GlobalSettings::getInstance()->get('instance.name') ?> + + handle") ?> + displayName)) ?> + + + avatar)): ?> + + avatar ?> + + + + privacy->scope != NotePrivacyScope::PUBLIC || $note->inReplyTo != null) { + continue; + } + ?> + + handle/note/$note->id") ?> + id") ?> + <![CDATA[<?= htmlspecialchars(substr($note->plainContent, 0, 50), double_encode: false) ?>]]> + getBestContentAsHtml() ?>]]> + created->format(DateTime::RSS) ?> + attachments as $file): ?> + + + + + + \ No newline at end of file -- cgit v1.3