From b741cc592f6fd14bf4d91b39acca8644993c5ada Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Tue, 2 Jul 2024 21:43:32 +0100 Subject: [PATCH] Feeds: Change release feed item titles --- app/blueprints/feeds/__init__.py | 2 +- app/flatpages/help/feeds.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/blueprints/feeds/__init__.py b/app/blueprints/feeds/__init__.py index c9d6235f..5227e32f 100644 --- a/app/blueprints/feeds/__init__.py +++ b/app/blueprints/feeds/__init__.py @@ -80,7 +80,7 @@ def _get_releases_feed(query, feed_url: str): items = [{ "id": release.package.get_url("packages.view_release", id=release.id, absolute=True), "language": "en", - "title": f"Update: {release.title} - {release.package.title}", + "title": f"\"{release.package.title}\" updated: {release.title}", "content_html": render_markdown(release.release_notes) \ if release.release_notes else _render_link(release.package.get_url("packages.view_release", id=release.id, absolute=True)), "author": { diff --git a/app/flatpages/help/feeds.md b/app/flatpages/help/feeds.md index a77b8361..162e2ed0 100644 --- a/app/flatpages/help/feeds.md +++ b/app/flatpages/help/feeds.md @@ -12,4 +12,5 @@ Follow new releases for a package: ``` https://content.minetest.net/packages/AUTHOR/NAME/releases_feed.atom +https://content.minetest.net/packages/AUTHOR/NAME/releases_feed.json ```