Podcastindex-org / docs-api

Developer documentation for the podcastindex.org api.
https://podcastindex-org.github.io/docs-api/
MIT License
52 stars 29 forks source link

Sorting of `/search/byterm` endpoint #85

Open keunes opened 1 year ago

keunes commented 1 year ago

Hello,

In AntennaPod we got this request:

When I search for a podcast I often find podcasts that are old and inactive. It would be awesome to search for podcasts that have at least released a podcast in the last 30 days.

It would be great if the date of the most recent episode was shown in the search results, and that the search results could be sorted by most recent episode date.

The /search/byterm endpoint already provides lastUpdateTime. At AntennaPod we could already leverage that information, to display the date and sort it as per the request (although I feel it doesn't make a whole lot of sense).

But it got me thinking: how are episodes sorted, currently? Feed ID, 'relevance'?