These are 2 plugins for the rawdog static html RSS/ATOM aggregator. They were written for a specific aggregator (so this gist became the de-facto repository of that page ;) ), but can be useful for any coalition of bloggers who sometimes blog about coalition-related matters.
tag_filter
lets you filter items by their tags. You provide a list of tag regexps per feed, and an item is shown if any of its tags matches any of its feed's tag regexps (if a feed has no tag regexps, all items are shown).
tag_filtered_rss
does what the original rss plugin does (except that it doesn't require libxml2
;) ),
but also filters the rss output according to tag_filter
's configuration (if tag_filter
isn't installed - RSS items won't get filtered, of course, but it should work).
The rest of the files in this gist are what you need in order to generate the example index.html
snapshot of the actual aggregator.
####To generate an up to date index.html:
rawdog
(download it from the Rawdog page. Apt-get would give you something too old for comfort).mkdir feeds
because a gist can't have subfolders ;)rawdog -d /path/to/this/folder -uvw
(or without the v
if it's a cron job :) )