Hello here
Make_a_Yahoo_Pipe_and_publish_it_using_PHP
Make a Yahoo Pipe and publish it using PHP
I really enjoy playing with the web and all the social tools. There is something that is quiet well advanced called Yahoo! Pipes. With Yahoo!Pipes you can reuse contents on the web and republish it in another form without programming.
Look at the following. The following Pipe allows me to collect 4 feeds (different places where you can comment my posts) and republish it as once. To do that you drag & drop : - 4 "Fetch Feed" Sources : you have to give the URL of the rss feed - the "Union" Operator it merges the 4 feeds into 1 - the "Sort" Operator which allows to sort the new feed - by date descending for instance. You can see the result of this Pipe here : Comments There are much more drag&drops you can do. Check it out on Yahoo! Pipes by creating a new pipe. After that what you want to exploit your new feed, you can burn it or obtain it as a bagde... I personnaly use the PHP feature. The result can be streamed as a php array. Here is the code I use to exploit my Yahoo! Pipe (download it here): 1 2 3 4 5 // Pipes Request 6 $req = 'http://pipes.yahoo.com/pipes/pipe.run?_id=YEJ5xyMG3RGadogljknRlg&_render=php'; 7 8 // Make the request 9 $phpserialized = file_get_contents($req); 10 11 // Parse the serialized response 12 $phparray = unserialize($phpserialized); 13 14 15 echo " Last edited on Monday, April 21, 2008 at 12:25:53 pm. |