
The String Builder Module allows you to build a string from multiple substrings – sometimes coded into the Yahoo Pipe, sometimes through user inputs.
In this example, lets use the String Builder Module to search Twitter for info on concert/sports tickets.
We’re going to build on our previous example from the URL Builder Module. Ready? Here’s where we left off:
We’re going to let users search for their favorite band or sports team’s ticket info without making them type in “tickets” after everything. We can automatically add the string “tickets” to any search query a user tries by using the String Builder.
First we need to change our default search query in the User Input Module. Lets remove “songs” and just make it “mgmt”.

Now we need to take a look at the String Builder Module. We can manually enter strings or wire them into the String Builder Module using user inputs. In this case we want our search query (or string) to be “mgmt tickets”. Because we are having the user enter in “mgmt” (or whatever band/sports team they like), we need to wire that into the first text box of the String Builder Module.

Whatever query goes there is up to the user. Now on our end, we will have Yahoo Pipes automatically add “tickets” to a user’s search term. What we need to do is click the “+” sign beside “String” in the String Builder Module to add a new text box.

In our new text box, we need to type “ tickets”

Tip! Make sure you include the space in front of “ tickets”, otherwise the two strings will run together as one word.
Now lets see what our string looks like in the Debugger pane:

Perfect!
Now we can take our string and wire it into the URL Builder Module which will then go to the Fetch Feed Module for our final output.

To recap, all we did was make users enter their favorite band or sports team, take their query and add “ tickets” on it, enter it into our Twitter RSS URL to search for tweets about tickets and output the RSS feed in the Fetch Feed Module.
Lets take a look at the output:



Recent Comments