Skip to content

Commit

Permalink
Add Feeds help page
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenwardy committed Jul 2, 2024
1 parent 31d5eb7 commit d25dc2c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/flatpages/help.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ toc: False
* [Contact Us](contact_us/)
* [Top Packages Algorithm](top_packages/)
* [Featured Packages](featured/)
* [Feeds](feeds/)

## Help for Package Authors

Expand Down
15 changes: 15 additions & 0 deletions app/flatpages/help/feeds.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
title: Feeds

You can follow updates from ContentDB in your RSS feed reader. If in doubt, copy the Atom URL.

* All events: [Atom]({{ url_for('feeds.all_atom') }}) | [JSONFeed]({{ url_for('feeds.all_json') }})
* New packages: [Atom]({{ url_for('feeds.packages_all_atom') }}) | [JSONFeed]({{ url_for('feeds.packages_all_json') }})
* New releases: [Atom]({{ url_for('feeds.releases_all_atom') }}) | [JSONFeed]({{ url_for('feeds.releases_all_json') }})

## Package feeds

Follow new releases for a package:

```
https://content.minetest.net/packages/AUTHOR/NAME/releases_feed.atom
```
1 change: 1 addition & 0 deletions app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@
<li class="list-inline-item"><a href="{{ url_for('flatpage', path='policy_and_guidance') }}">{{ _("Policy and Guidance") }}</a></li>
<li class="list-inline-item"><a href="{{ url_for('donate.donate') }}#contentdb">{{ _("Donate") }}</a></li>
<li class="list-inline-item"><a href="{{ url_for('flatpage', path='help/api') }}">{{ _("API") }}</a></li>
<li class="list-inline-item"><a href="{{ url_for('flatpage', path='help/feeds') }}">{{ _("RSS / Feeds") }}</a></li>
<li class="list-inline-item"><a href="{{ url_for('flatpage', path='privacy_policy') }}">{{ _("Privacy Policy") }}</a></li>
{% if request.endpoint != "flatpage" and request.endpoint != "report.report" %}
<li class="list-inline-item"><a href="{{ url_for('report.report', url=url_current()) }}">{{ _("Report / DMCA") }}</a></li>
Expand Down

0 comments on commit d25dc2c

Please sign in to comment.