n0n4m3
n0n4m3

Reputation: 21

Yahoo Pipes - Combine item.content fileds of two RSS feeds based on same item.title

I am wondering whether this can be achieved by using Yahoo Pipes?

  1. fetch two RSS feeds
  2. compare item.title fields of both feeds
  3. replace item.content with combined content of item.content fields if found similar item.title

Upvotes: 1

Views: 1727

Answers (1)

Jalaj Jha
Jalaj Jha

Reputation: 109

Yes it is possible but will need to involve a subpipe (pipe2 called from pipe1)...

Pipe2- This will takes a string input item title... Will "get Feed2"... filter off items whose title not equal to input item title... return the matching item.

Pipe1 - this will "get Feed1" and loop through all the items passing item title to Pipe2... the result from pipe2, if any, will be in node as loop:anything... add content from there to the content of feed1

Drawback: Theoretically feed2 will be called n number of times where 'n' is number of items in feed1... practically Yahoo pipes use cache so should not be a problem...

Upvotes: 1

Related Questions