Ming the Mechanic:
The algebra of feeds

The NewsLog of Flemming Funch
 The algebra of feeds2004-01-07 17:21
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]



20 Dec 2014 @ 06:35 by Angel @ : 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 @ : 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.  

4 Jan 2015 @ 20:52 by Louisa @ : OOUXtRzyHeeLdjeDUo
Too many coimtmpenls too little space, thanks! http://vlvgvlw.com [url=http://vhrmupsshg.com]vhrmupsshg[/url] [link=http://ynpiafh.com]ynpiafh[/link]  

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

2 May 2016 @ 11:00 by Genevieve @ : 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.  

3 May 2016 @ 11:09 by Stafon @ : LQQjPgMfLTOmYADnrV
But no crackers, no christmas pudding, no traditional Christmas cake, no mince pies, no Queen’s Speech Thats all the bits,i can do wi.Auo-tthnd the last one MOST OF ALL. http://hxbpzakpl.com [url=http://eamlfyuakv.com]eamlfyuakv[/url] [link=http://cfumeo.com]cfumeo[/link]  

4 Oct 2016 @ 04:26 by mobogenie pc @ : tfb
hi http://www.mobogenieforpcc.com
good http://www.snapchatforpcdownload.com
post http://www.ucbrowserforpcc.com
snapchat windows http://www.snapchatforpcdownload.com/2016/06/snapchat-pc-free-download-windows-xp788-110/
snapchat for linux http://www.snapchatforpcdownload.com/2016/06/snapchat-for-linux-free-download/
snapchatdownload http://www.snapchatforpcdownload.com/2016/06/snapchat-download/
snapchat app http://www.snapchatforpcdownload.com/2016/06/snapchat-app-free-download/
mac http://www.snapchatforpcdownload.com/2016/06/snapchat-for-mac-pc-free-download/
ios http://www.snapchatforpcdownload.com/2016/06/snapchat-app-for-ios-free-download/
android http://www.snapchatforpcdownload.com/2016/06/snapchat-for-android-free-download/
windows http://www.mobogenieforpcc.com/2016/06/mobogenie-for-pc-windows-xp788-110-html/
app http://www.mobogenieforpcc.com/2016/06/mobogenie-app-free-download/
ios http://www.mobogenieforpcc.com/2016/06/mobogenie-for-ios-free-download/
android http://www.mobogenieforpcc.com/2016/06/mobogenie-for-android-free-download/
windows http://www.ucbrowserforpcc.com/2016/06/uc-browser-for-pc-free-download-windows-xp-7-8-10/
ios http://www.ucbrowserforpcc.com/2016/06/uc-browser-for-ios-free-download/
mac http://www.ucbrowserforpcc.com/2016/06/uc-browser-for-mac-pc-free-download/
android phone http://www.ucbrowserforpcc.com/2015/12/uc-browser-apk-for-android-phone-free-download/
windows phone http://www.ucbrowserforpcc.com/2015/12/uc-browser-for-windows-phone-free-download/  

2 Nov 2016 @ 19:03 by yakuza4d2 @ : togel online terpercaya
thank you for providing web were very nice and helpful
Buku mimpi

21 Nov 2016 @ 14:14 by xender for pc @ : xender
Good useful and excellent Blog

Your Name:
Your URL: (or email)
For verification, please type the word you see on the left:

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