Skip to content
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

allow shell command on new items only #20

Open
anarcat opened this issue Aug 31, 2017 · 0 comments
Open

allow shell command on new items only #20

anarcat opened this issue Aug 31, 2017 · 0 comments

Comments

@anarcat
Copy link
Contributor

anarcat commented Aug 31, 2017

feed2imap allows users to customize commands to download and filter complete feeds, which is useful for fixing up feeds or dealing with exotic configurations. but it would be really useful if we could have commands that would be ran on individual items when they are updated. this could be hijacked to transform feed2imap into a crude podcast client, for example, as a simple wrapper around wget could be implemented to snatch the <link> tag from an item.

i tried to look into implementing this and it seemed like i first needed to modify the ConfigFeed class to add new settings (and maybe somewhere else). then the main fetch loop in Feed2Imap::initialize would need to be changed to call those commands. i don't feel comfortable enough with the code to do this myself at this stage, but if there's interest, i may give it a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant