-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RSS feeds for search queries #37
Comments
I'd be happy to test if implemented |
Re-indexing is finally caught up, and the "papers from the past week" type of query should work, so starting to think about this. And i'm excited! This library seems like a great super-simple way to implement an RSS feed in fastapi; though maybe Atom is preferred?: https://pypi.org/project/fastapi-rss/ Presumably would have a small jinja2 template to render a summary with the existing macros into HTML, and inject that into the items. Would probably be two new endpoints: a form to help craft a query, with "feed-specific" query parameters, and an RSS endpoint itself (XML). I think the default parameters should be:
Then in the generation page have a form for other filters, and a free-form query box (same as the regular search). Run the query with the same current routine, take the results, transform, and return as the feed. |
I don't have a preference between RSS and atom. Plan sounds great to me |
I just pushed a minimal version of this. On search result pages, there is an "RSS Feed" link under the search box, which goes straight to an RSS 2.0 file with the search parameters. I tested with my feed reader and it seems to be working over the past week. Any feedback welcome! |
Awesome! Thanks for getting this working. My original use case is gone with changing jobs, but this will be useful for tracking different paper topics in Feedbin |
Many RSS feeds of journal searches seem to have no entries. For example, if I search for journal:Catena, I get results as recent as 2022 (https://scholar.archive.org/search?q=journal%3ACatena&sort_order=time_desc). The corresponding RSS feed https://scholar.archive.org/feed/rss?q=journal%3ACatena has no entries, though. |
This feature would allow creation of RSS feed endpoints for any search query. The feed would allow users to "subscribe" to new search hits.
Some implementation thoughts:
The text was updated successfully, but these errors were encountered: