[openstreetmap/openstreetmap-website] RSS button for traces ignores before parameter (Issue #6562)

袁立诚 notifications at github.com
Mon Nov 24 01:01:31 UTC 2025


daishu0000 created an issue (openstreetmap/openstreetmap-website#6562)

### Description
When clicking the **“traces/rss”** button near **“Update a trace”** , the link always opens:
>https://www.openstreetmap.org/traces/rss

This happens regardless of the current `before` parameter in the URL.
As a result, it always shows the same XML feed containing the newest 20 traces.

This behavior causes two problems:

1. **For normal users**
They usually don’t want to open an XML page, and the page provides no useful information for them.
2. **For developers**
Developers often want to inspect how the parameters works in the RSS feed, but the current button does not preserve any parameters.

### Suggested improvements

**Option 1** — Preserve the before parameter

**Example**:
When a user is on:
>https://www.openstreetmap.org/traces?before=12117585

Clicking the RSS button should open:
>https://www.openstreetmap.org/traces/rss?before=12117585

instead of:
>https://www.openstreetmap.org/traces/rss

**Option 2** — Replace the button with a help/documentation page
Instead of opening raw XML, the button could link to a page to show how traces api works.

### The screenshot of the button
<img width="1898" height="452" alt="Image" src="https://github.com/user-attachments/assets/a44f47c0-c1fb-47b7-8732-48337413fe24" />

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6562
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/6562 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251123/b0c4dc83/attachment.htm>


More information about the rails-dev mailing list