-
Notifications
You must be signed in to change notification settings - Fork 1k
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
New bridge: FilterMore #4015
base: master
Are you sure you want to change the base?
New bridge: FilterMore #4015
Conversation
Pull request artifacts
last change: Friday 2024-04-19 10:54:12 |
we already have need more time and community feedback on whether to include this bridge. |
bridges/FilterMoreBridge.php
Outdated
return $url; | ||
} | ||
|
||
public function collectData() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please move this method up up up so that it is the first method in class.
code is to be read chronologically just like reading a book.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done! let me know if you like it now
yes, I know that and have used it. I think that |
yes if okay i would like wait for community feedback from other users. |
this bridge allows the user to have a filtered version of a feed.
it is quite advanced: offers regexp filtering, sorting, limiting...
I used it when I wanted to follow a websites including events. They had no way to filter based on city, but they were specifying that in the title, so I could use this bridge to get what I wanted.
The
has_media
field is particularly useful for podcasts: sometimes I want to just play the first audio in a feed. With this, I can :has_media
limit=1
which gives me exactly what I wanted.