https://github.com/tedder/rssfilter
search/filter n RSS feed
https://github.com/tedder/rssfilter
Last synced: over 1 year ago
JSON representation
search/filter n RSS feed
- Host: GitHub
- URL: https://github.com/tedder/rssfilter
- Owner: tedder
- License: mit
- Created: 2015-01-31T03:32:03.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2022-04-06T05:42:20.000Z (over 4 years ago)
- Last Synced: 2025-04-11T18:12:18.941Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This is designed to take an RSS/atom feed and filter things in/out of it. YML files are plucked out of s3 (or via http). These contain the configuration for each feed.
## Filters
An **include** filter means only items that match something on theh list will be kept. An **exclude** means matching items will be removed.
## Matches
Individual matches are done against the 'content', 'title', 'summary', and 'link' fields. Text is lowercased. Entries can be string matches or a **regular expression** with slashes at either end. This is useful for URLs.
## Output
In my version, output URLs are prepended with `tedder.me/rss/`. This should probably be configurable in the future.
## Example
The following examples show my personal usage. I've removed a private URL.
- url: "privateurl"
filter:
- include:
- soup
- /daily.show/
- "category: top gear (uk)"
- mythbusters
- cats
exclude:
- /8.out.of.10.cats/
output: ted/feed.rss
- url: http://gdata.youtube.com/feeds/base/users/BuzzFeedVideo/uploads?alt=rss&v=2&orderby=published&client=ytapi-youtube-profile
filter:
- include:
- /dear.kitten/
output: ted/buzzfeed_dearkitten.rss