Sunday, August 29, 2010

Can I Use Hp 56 Ink On Hp F4180

Yahoo! Pipes: RSS Feeds "subtract"

If (like me) a diligent reader of News feeds, it may happens that you want to get a subscriber (RSS-/Atom-) feed without certain items. If these contributions can not be defined using a simple filter, but Content of other feeds, it is difficult and it can be used for Yahoo! Pipes .

Again the task: goal is to get a feed in which all posts by Feed A happen, but all contributions, which are also in Feed B available filters out has been, so the changeset by Feed Feed A and B. To make it even more specific: I want all the mirrors on-line articles (RSS feed ) without the contributions of the sports feed Spiegel Online ( RSS Feed ).

Unfortunately, in this case no predefined operator block Yahoo! Pipes so you have to lend a hand.


Here is an explanation of how it works:

  • shall first one for each feed (in my case completely and SP.ON SP.ON sports) a Fetch Feed module, and copy the URL of the feed into the respective URL field.
  • is then added with a Loop a String Builder each post (" item") of the two feeds a marking that the articles accurately assigns one of the feeds. Entries of the first feed will get an additional box source "(" item.source ") with the Inhald" Feed A ", analogous to contributions of the second feeds with item.source =" Feed B "sign.
  • Both feeds are now a Union module .
  • Using a combined unique module then available, that is " link " field the same are combined,
    Note:. Here you have other sources possibly on other fields ( . title to fall back ") when the links of the entries are different, for example, by a parameter
  • Now comes the trick of sorting out the features: an Filter module will now be passed only entries whose " y: repeat count " field is 1 and the source ( item.source ) "Feed A".
    Info: The " y: repeat count " field is set by the Unique module for every post, and contains the number of contributions that it has merged into the respective contribution.
  • The result is eventually passed on to the Pipe Output (and can be accessed here: http://pipes.yahoo.com/pipes/pipe.run?_id=e95a7dc4cd639af9710a95d62000e9d5&_render=rss )

If anyone have some cool Things did to Yahoo! pipes, may he / she post a comment ...


Addition:

0 comments:

Post a Comment