-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
[FR]: Update feeds via command #1327
Comments
What you mean "with command" like console command? You must be much more specific, my friend. |
@martinrotter Yes, I mean a console command like A command would be the most efficient way to do so. Right now, the whole GUI needs to be started and automation is not possible. |
Well, RSS Guard is GUI application and CLI automation is not really there. BUT, that said. Once RSS Guard is configured, then with a bit of work it could be done that it starts and runs in headless mode. I will investigate the possibility. |
A headless mode would not solve the issue from how I understand it. The GUI would still be running but not displayed. In that case the resource consumption would still be the same. Invorking the GUI even in a headless mode would never finish hence automation would still not be possible. Could not the function the fetches the new feeds that is invoked with the shortcut CTRL + SHIFT + u be called when that new command like Maybe you can tell me the proper locations and I could give it a try myself. The best library for command line interfaces is https://github.com/CLIUtils/CLI11 in my opinion. |
No, I plan/want to make headless mode fully working. No windows, no dialogs, no popups. I had this in my head for some time, would work like this:
THis is not problem about parsing CLI arguments etc. that functionality is already in RSS Guard and working |
Would the pure CLI have the functionality to just fetch the new feeds? Is it this function,
|
That depends, Either it will be the same executable file but will behave "headless" when proper switch is invoked and it will behave exactly the same as GUI version (so download feeds regularly per settings, etc.) but will not show any GUI at all. OR I can write brand new "CLI ONLY" executable file for this purpose only. |
I would likely be "cleaner" to have separate "rssguard_cli.exe" for CLI-only application. It will use "librssguard.dll" library which contains all needed stuff and will call only needed functions. |
I do not know whether that would contain the feature to updated the feeds, does it? |
Do not you think that something like |
Of course it will contain the feature. If you have discord, please join rssguard discord channel and we can chat this. |
That is great. Thanks! |
Brief description of the feature request
I would like to update my feeds with a command as I want to automate the updating with a script on a regular basis.
The reasoning behind this is that some feeds only show the last ten entries like WordPress and I do not want to miss feeds which unfortunately already happened to me. It is not possible to get these articles later once they are gone.
The text was updated successfully, but these errors were encountered: