imls-dmt / imls-dmt-api

imls-dmt-api
Apache License 2.0
1 stars 1 forks source link

Add an RSS feed for resources to the API #66

Closed karlbenedict closed 3 years ago

karlbenedict commented 3 years ago

It would be useful to have an RSS feed (https://validator.w3.org/feed/docs/rss2.html) for recently added resources available as a call from the API.

hbarrett commented 3 years ago

https://esip-dev-02.edacnm.org/rss

karlbenedict commented 3 years ago

This looks great. Is this based on all of the recently added, or only published resources? I now realize that I should have been more clear in the initial issue - it should be limited to recently published items.

hbarrett commented 3 years ago

It is only published. Solr query "status:True"

hbarrett commented 3 years ago

If author_names elseif author_org.name else "Unknown"

hbarrett commented 3 years ago

RSS is working as expected.