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

Filter by category #11

Open
doug-wade opened this issue Jan 13, 2024 · 0 comments
Open

Filter by category #11

doug-wade opened this issue Jan 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@doug-wade
Copy link
Contributor

I have a feed that I am interested in running a bot for, and I would like to post two categories to two different communities -- "Ride of the Valkyries" to lemmy.world/c/reign_fc and everything else, except "Subscriber-only content" to lemmy.world/c/sounders_fc. I don't think from my reading of the comments in config.yaml, the bot can support this use case.

I'd like to propose we add a pair of new keys to a feed in config.yaml, include_categories and exclude_categories, which take lists of categories which are included in the feed or excluded from the feed, respectively.

For my use case, for example, I would have the following config:

feeds:
  example_include:
    include_categories: 
     - "Ride Of The Valkyries"

  example_exclude:
    exclude_categories: 
      - "Ride Of The Valkyries"
      - "Subscriber-only content"

If there is interest in this feature, I would be interested in contributing a patch.

@Ategon Ategon added the enhancement New feature or request label Feb 1, 2024
@Ategon Ategon moved this to Todo in Development Team Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants