简体   繁体   中英

Yahoo Pipes, configure a pipe at runtime with as many URLs as needed

I'm having trouble to do something that I though it would be a 5 minutes thing.

I want to create a Pipe that accepts at runtime as many URLs as needed. I know how I can combine many URLs within the editor, but I want a Pipe that anybody can configure to their needs.

I thought I could use the URL Input module within a Loop, but it's not possible. Then I thought about using a Text input module and link it to the URL builder but that's not what I want either.

I have to be missing something very obvious here.

Thanks,

Juan

The easiest way to do this is to accept an external list of URLs, ie a URL that contains the parameter URLs. Then you accept the source URL as parameter of your pipe.

I created this sample to get your started, it merges the feeds listed in a URL.

Another option is to take a string parameter, then tokenize it on spaces, commas, or other separator, then do whatever you need to do with each URL. Sample pipe .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM