Diego: atomflow

Diego writes up his ideas about a simple unix tool that uses atom as an input format and through different pipes makes it possible to transform the atom input into different output formats.

Diego even hacked together a quick and dirty demo:

“News.com provides feeds, but they don’t have the whole stories. Sometimes, after some time has passed the story becomes unavailable (I’m not sure when that happens, but it has to me). Other times you want to look for a particular story, based on keywords, but within a certain timeframe, to avoid getting dozens of irrelevant results from more recent news items.

So I built a scraper for News.com that takes their stories on the frontpage, and outputs them to stdout as Atom entries. Then I pipe the result into atomflow, which allows me to query the result anyway I need, and, more interestingly, subsequent pipes to atomflow calls that can narrow down content when the query parameters are not enough.”

Cool stuff. Will be interesting to see where this leads. Certainly an interesting way to make use of the XML stuff inside newsfeeds more than we do today. Regarding the different ways to format the output, Matthew should be interested, too.

6 thoughts on “Diego: atomflow

  1. Pingback: DeveloperZen.com
  2. Pingback: DeveloperZen.com
  3. Damn, hit the button too early. Anyway – Cocoon is obviously capable of doing the same sort of thing – but the elegance of Diego’s solution is the small footprint and it’s command-line – so probably more easily integrated.

  4. Damn, hit the button too early. Anyway – Cocoon is obviously capable of doing the same sort of thing – but the elegance of Diego's solution is the small footprint and it's command-line – so probably more easily integrated.

Comments are closed.