Using Yahoo Pipes, how can I do the equivalent of "Loop: assign first two"? -
the loop operator in yahoo pipes has 2 choices output: emit (first/all) results, , assign (first/all) results _.
what need loop assign first 2 results element. there way accomplish this?
background: i've got csv file, column 1 feed url , column 2 internal feed id. start "fetch csv", , connect "loop" inside "fetch feed" , assign results item.feed. outputs close need, since of feeds in list huge , display first 2 elements of each feed, want eliminate unused data in output json file.
sounds should easy, right? can't seem right.
ok, figured out. created new pipe called truncate2 pipes "fetch feed" "truncate" , outputs result. wired "url input" fetch feed url source, , original pipe, pulled truncate2 inside loop , assigned results.
Comments
Post a Comment