Ming the Mechanic:
The algebra of feeds

The NewsLog of Flemming Funch
 The algebra of feeds2004-01-07 17:21
4 comments
by Flemming Funch

An older post from Seb Paquet "The algebra of feeds, or the amateurization of RSS bricolage" is very pertinent to the subject of Pipelines for XML.

Recent talk about RSS feed splicing and the ineluctable need for filtering open feeds got me thinking about the variety of operations one might want to perform on feeds.

Taking a cue from the operations of set theory we could for instance define the following:

  1. Splicing (union): I want feed C to be the result of merging feeds A and B.
  2. Intersecting: Given primary feeds A and B, I want feed C to consist of all items that appear in both primary feeds.
  3. Subtracting (difference): I want to remove from feed A all of the items that also appear in feed B. Put the result in feed C.
  4. Splitting (subset selection): I want to split feed D into feeds D1 and D2, according to some binary selection criterion on items.

The ultimate RSS bricolage tool would give users an interface to derive feeds from other feeds using the above operations, and spit out a working URL for the resulting feed.

I'm not sure how all of it would work, or even if all of it can work in practice. I'm completely abstracting out technical considerations here. While I'm not sure how large the space of useful applications of this could be, here are a couple example uses:

  • Splicing: All of the posts on the Many-to-many blog have to do with social software, so it would make sense to send its posts over to the social software channel. Now, since the blogging tool we use for that blog doesn't support TrackBack, it can't automatically ping the Topic Exchange. A workaround would be to merge both channels into a new one. In general, this would enable any combination of category feeds from various sources to be constructed very simply. A feed splicer can also serve as a poor man's aggregator.
  • Intersecting: Say I want to subscribe to all of Mark's posts that make the Blogdex Top 40; I'd just have to intersect the feeds. Or I could filter a Waypath keyword search feed in the same manner.
  • Subtracting: I'm interested in some topic that has an open channel, but find the items by one particular author uninteresting. (This is equivalent to the killfile idea from good ol' USENET.) Subtraction could also be used if you don't want to see your own contributions to a feed.
  • Splitting: One might want to manually split a feed into "good" and "bad" subfeeds according to a subjective assessment of quality or relevance, or automatically split according to language, author, etc. Note that this one doesn't qualify as an example of pure feed algebra, as it involves inputs beyond feeds.
Yes, cool, I'd certainly like to do all of those things. I'd like to take newsfeeds or similar data and combine it or filter it or sort it, and I'd like to also be able to do it based on metadata from different sources. So the trouble is now that those feeds are in a number of different formats, and even if some of the metadata, like what appears in some top-40 list, or other ways of rating or categorizing posts, might be available in some XML format, it is not likely to be consistent in any instantly useful way. In a few hours I'd be able to do something with it. But I'd like to be able to do it in a few minutes or few seconds. Hm, this is certainly worth playing a bit with.


[< Back] [Ming the Mechanic]

Category:  

4 comments

20 Dec 2014 @ 06:35 by Angel @190.75.78.122 : JwcozYlnPkP
My spouse and i were abeloutsly comfortable Louis managed to deal with his basic research via the ideas he discovered in your weblog. It is now and again perplexing to just find yourself giving for free helpful hints which often some others may have been selling. Therefore we fully grasp we have the website owner to give thanks to for that. The type of illustrations you made, the easy blog navigation, the relationships you can make it possible to engender it is all awesome, and it's really aiding our son in addition to us imagine that this topic is enjoyable, and that's extraordinarily pressing. Thanks for all!  


23 Dec 2014 @ 21:23 by Noblito @186.93.204.246 : jaEcscNtMuuJjGIQihu
1faThanks a lot for providing inidliduavs with an extraordinarily special opportunity to read from here. It's usually so awesome and also packed with a lot of fun for me personally and my office colleagues to visit your site more than 3 times in one week to study the new secrets you have. And indeed, I'm so certainly astounded with the eye-popping suggestions served by you. Some two points in this posting are definitely the most suitable I have had.  


29 Apr 2016 @ 05:18 by Bert @188.143.232.32 : qjhkKbcuVrGlqIa
Dude, right on there broehtr.  


2 May 2016 @ 11:00 by Genevieve @188.143.232.32 : vZKSegMlHLL
Wow! I really love her oraginility. I make statement necklaces, which I have the intent to sell but I can't bear to part with them, so I think I will follow in her footsteps and the ones I don't sell, I will show-case them on my walls as art. Ms. Betancourt, your pieces are really unique. I can see pairing each necklace with a simple white t-shirt and jeans.  


Other stories in
2014-11-01 17:33: The conversation of work
2007-02-24 14:20: Writing books in HTML/CSS
2007-02-05 15:21: Software is hard
2006-11-19 21:30: Thingamy
2005-12-14 15:15: Ruby on Rails
2005-03-19 16:04: Comment and Refererrer Spam
2005-02-23 21:34: Wikipedia
2005-02-22 17:32: Mail
2005-02-10 16:00: More Google wizardry
2005-02-04 15:14: The Six Laws of the New Software



[< Back] [Ming the Mechanic] [PermaLink]? 


Link to this article as: http://ming.tv/flemming2.php/__show_article/_a000010-001033.htm
Main Page: ming.tv