ncarlier / feedpushr

A simple feed aggregator daemon with sugar on top.
GNU General Public License v3.0
340 stars 26 forks source link

Feed Plugins #92

Open retarepo opened 5 days ago

retarepo commented 5 days ago

Hello and thanks for the great project!

Are there plans to implement feed plugins? So far I can see only plugins for outputs, but I would like to create a parser for a specific API.

Best

ncarlier commented 4 days ago

Hello,

there's no plan except to warmly welcome all contributions :) What type of plugin do you have in mind? Support input payload other than a regular Atom feed?

Regards

retarepo commented 4 days ago

hello and thanks for the quick response.

I have been using Nextcloud News so far to read a couple of "standart" RSS/atom feeds and used it for https://inspirehep.net . The website used to have a RSS version of any search query result page, so I used it to keep track of new publications or job offers. Eventually they got rid of the RSS support but have a rather decent REST api [1], for which I built a simple converter in php: so NC news queries my php-script, which itself queries the inspirehep API.

So here I thought I could just write a parser (simply mapping json paths), to save the trouble of dealing with task schedules, caching etc.

The biggest difference to standart news RSS is that one might want to change the search query over time, like:

[1] for any search query (which is encoded in the url), you can just add /api after the base url, e.g. https://inspirehep.net/api/literature