Skip to content

feat(datasets): add filtering support to datasets Atom feed#3578

Merged
ThibaudDauce merged 3 commits intoopendatateam:mainfrom
bjperson:feature/atom-feed-filters
Jan 6, 2026
Merged

feat(datasets): add filtering support to datasets Atom feed#3578
ThibaudDauce merged 3 commits intoopendatateam:mainfrom
bjperson:feature/atom-feed-filters

Conversation

@bjperson
Copy link
Contributor

Summary

The /api/1/datasets/recent.atom endpoint now supports all dataset filters, allowing users to subscribe to filtered dataset searches via RSS readers.

Changes

  • Accept query parameters via @api.expect(dataset_parser.parser)
  • Apply filters using DatasetApiParser.parse_filters()
  • Dynamic feed title based on active filters
  • Added tests for organization, tag, and search query filters

Usage examples

/api/1/datasets/recent.atom?q=transport
/api/1/datasets/recent.atom?organization=534fff81a3a7292c64a77e5c
/api/1/datasets/recent.atom?tag=environnement&format=csv

Use case

Enable targeted monitoring of new datasets directly from RSS readers (Feedly, Inoreader, Thunderbird...) without requiring API client development. Useful for journalists, researchers, and citizens who want alerts on specific topics.

Follows up on discussion in datagouv/cdata#826.

Fixes #3577

bjperson added a commit to bjperson/cdata that referenced this pull request Dec 18, 2025
Add a link to the datasets Atom feed on the search page.
The link includes current search filters, allowing users to subscribe
to filtered search results via their RSS reader.

Requires opendatateam/udata#3578 for filter support on the Atom endpoint.
bjperson added a commit to bjperson/cdata that referenced this pull request Dec 18, 2025
Move Atom feed link from page to SearchPage component as requested.
Uses BrandedButton with RiRssLine icon, positioned next to sort control.
URL built from nonFalsyParams for reactive filter support.

Requires opendatateam/udata#3578 for filter support on the Atom endpoint.
@nicolaskempf57 nicolaskempf57 changed the title feat(api): add filtering support to datasets Atom feed feat(datasets): add filtering support to datasets Atom feed Jan 5, 2026
@bjperson bjperson force-pushed the feature/atom-feed-filters branch from 2d17745 to 518ebf8 Compare January 5, 2026 19:25
Allow users to subscribe to filtered dataset searches via RSS readers
using parameters like q, tag, organization, and format.
@bjperson bjperson force-pushed the feature/atom-feed-filters branch from 518ebf8 to b8fccf1 Compare January 5, 2026 19:28
@ThibaudDauce ThibaudDauce merged commit d6050f1 into opendatateam:main Jan 6, 2026
nicolaskempf57 added a commit to datagouv/cdata that referenced this pull request Jan 6, 2026
Add a link to the datasets Atom feed on the search page. The link
includes current search filters, allowing users to subscribe to filtered
search results via their RSS reader.

Requires opendatateam/udata#3578 for filter support on the Atom
endpoint.

---------

Co-authored-by: Nicolas KEMPF <nicolas@conciergerie.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add filtering support to datasets Atom feed

3 participants