agg Overview

Thomas Coppi


Introduction

agg is a Perl script that reads a config file(sample test.agg included) and uses the rules in the file to process RSS feeds outputted by gfeed and combine interesting ones into one big feed. "Interesting" feeds are at the moment recognized by running a specified regex on the title and/or description of each item for every feed specified. Because of how filtering regex's are specified, you are not required to specify only a matching regex. You may use a s// or tr// regex if that is the affect you are after. In fact, you can use any Perl-compatiable regex. The goal of the script is to make your life easier by searching your favorite feeds for interesting tidbits, perhaps modifying them a bit, and then combining them into one big feed, thus saving time.


agg Config file

agg config files consist of key:value pairs. For each feed, there must be a feed0:.feed file location entry and a feedregex0:regex entry. Of course, after 0 you must increase the number for each extra feed, but make sure they match up. Sample .agg file:
#gfeed cvs feed feed0:gfeed.feed feedregex0:fix|patch|warnings|update #enlightenment cvs feed feed1:ecvs.feed feedregex1:fix|patch|warnings|update #news.com feed here, we will change some things around in the feed... feed2:news.com.feed feedregex2:tr/[a-z]/[A-Z]/ output:agg.xml title:agg script feed
Thats basically all there is to it. You can search the descriptions and the title with the regex by setting searchdesc:1
[LaTeX -> HTML by ltoh]
Russell W. Quong (quong@best.com.REMOVETHIS-SPAM-FILTER-PART)
Last modified: Jun 13 2005