This video shows how to get input from a list of items in a CSV file, and it introduces the loop module. A CSV file is a great choice when you want to fetch a bunch of feeds and change them frequently without having to update your pipe. If you haven’t already watched the 2 Minute Yahoo Pipes Introductory Demo, I strongly suggest that you watch it. This demo builds on the basic structure developed in the introductory demo. The CSV file I’m using also contains the same feeds from ReadWriteWeb and GigaOM that we used in the original demo plus a few others.
You can watch the embedded video above, but I recommend downloading the higher resolution Quicktime file (22 MB) to watch. The quality will be much better than the flash version above.
- The Demo Pipe. A copy of the CSV File Input in Yahoo Pipes Demo click “View Source” to see the modules.
- Fetch CSV Module. Enter the URL of the CSV file (make sure that it already exists in a publicly accessible location) along with information about column names and separation characters as needed.
- Loop module with Fetch Feed. Loops through each element in the CSV file and fetches the feed associated with the item.
- Filter Module. Filter by a couple of keywords.
- Sort Module. Sort by date in descending order to make sure things are sorted in a logical manner.
- Pipe Output. The final module in every Yahoo Pipe.
Related Fast Wonder Blog posts