8000 GitHub - cega/RSS-filter: Marks-as-read Google Reader feed items that match a specified filter.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cega/RSS-filter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSS Filter

Marks-as-read Google Reader feed items that match a specified filter.

Installation

pip install git+git://github.com/U2Ft/RSS-filter.git

You'll need a Google OAuth client ID.

Usage

RSS Filter

Usage:
  RSS-filter
  RSS-filter -e | --edit
  RSS-filter -h | --help
  RSS-filter -l | --list

Options:
  -h --help    Show this message.
  -e --edit    Edit the filters with your default editor.
  -l --list    List feed titles.

Specify some filters, then run manually or write a cron job--something like

0 6,4 * * * RSS-filter > /dev/null

Run summaries are logged to a file in the config directory.

Filters

The filters file is JSON. Comments are allowed. The format is

{
    // Every feed
    "*": ["regex"],

    // Specific feeds
    "feed title": ["regex"]
}

where regex is a Python Regular Expression. Items in the named feed with titles that match the regex are marked as read.

Filters for the feed title * are applied to every feed.

Note the irregular behaviour of backslash-escapes--in practice, repeat them. E.g. to match a [ in the item title, the regex should be "\\[".

Watch out for HTML entities (e.g. &) in item and feed titles. If a regex that should be matching isn't, that's probably why.

About

Marks-as-read Google Reader feed items that match a specified filter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0