in Blogging

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.

Leave a Reply

  1. 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.

  2. 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.

Webmentions

  • d2r: August 2004 Archives August 24, 2004

    […] Before I start, there’s been a good number of atomflow-related entries in the last day. To mention a few: Matt has explained further many of his ideas, as has Ben. Michael has more thoughts on it as well as links to other related tools. Matthew and Frank also added to the conversation, as did Danny and Grant. […]

  • DeveloperZen.com August 24, 2004

    [IMG] Constant Bearing, Decreasing Range [IMG] Doing My Little Part- Weblog of Mark Finnern [IMG] Software Alphabet Soup [IMG] The Village View [IMG] theotherthomasotter [IMG] Venture Chronicles [IMG] http://www.gadgetguy.de – The GadgetGuy [IMG] Yet Another Software Blog

  • DeveloperZen.com August 24, 2004

    [IMG] Constant Bearing, Decreasing Range [IMG] Doing My Little Part- Weblog of Mark Finnern [IMG] Software Alphabet Soup [IMG] The Village View [IMG] theotherthomasotter [IMG] Venture Chronicles [IMG] http://www.gadgetguy.de – The GadgetGuy [IMG] Yet Another Software Blog

  • Welcome to www.ekampf.com August 24, 2004

    [IMG] Constant Bearing, Decreasing Range [IMG] Doing My Little Part- Weblog of Mark Finnern [IMG] Software Alphabet Soup [IMG] The Village View [IMG] theotherthomasotter [IMG] Venture Chronicles [IMG] http://www.gadgetguy.de – The GadgetGuy [IMG] Yet Another Software Blog