I have a Yahoo Pipe where I bring in a number of feeds via an OPML file. Rather than using truncate to limit the resulting number of items that get exported, I want to limit the number of items on a per feed basis. So if I have 60 feeds I want the latest 20 items from each one, not the latest 20 from the combined feeds.
Asked
Active
Viewed 169 times
0
-
If you include a link to a simplified version of your pipe, I can probably clone it and show you. – janos May 22 '14 at 08:25
-
Cheers: http://pipes.yahoo.com/pipes/pipe.info?_id=88409859fb5e17b0eccfd0c159370f72 – Lucas Young May 22 '14 at 11:39
1 Answers
1
You can do this by creating 2 pipes:
- A pipe that fetches a feed (one of the 60), and truncates after 20 items
- Another that loops over feed URLs, and for each URL calls the first pipe
Here's an example of the first pipe:
http://pipes.yahoo.com/pipes/pipe.info?_id=f6d1e5fa8873064f0265352e9ea9cd34
Here's an example of the second:
http://pipes.yahoo.com/pipes/pipe.info?_id=4b86c5d956b2f99a460a0520ff8c55b2

janos
- 120,954
- 29
- 226
- 236
-
Thanks for this, but the second pipe is my one ;) Could you update the link? How do I join the two pipes together? – Lucas Young May 22 '14 at 14:36
-