yahoo pipe是个好东西,其中的web services模块更使得yahoo pipe变得几乎无所不能。
可惜的是,如果将web services放在自己的VPS服务器上,会严重消耗性能。
而GOOGLE 提 供的google app engine服务就能在这方面体现出优点了,稍为花一个下午,学学JAVA的基本语法,写个合并item的代码即可。
下面是我写的java程序,大家可以测试一下,功能是:合并item的description,并以第一个为模板反回给yahoo
http://combinepines.appspot.com/receivepipe
将这个URL放在yahoo pipe web services工具上即可合并所有description
示例:
合并前的pipe:
http://pipes.yahoo.com/pipes/pipe.info?_id=f1659702216d12a2cd24d9b1f047d820
合并后的pipe-rss:
http://pipes.yahoo.com/pipes/pipe.run?_id=4023ca94f557601193f64c2891182d71&_render=rss&textinput1=test&urlinput1=http%3A%2F%2Fmm.855m.com%2Fjpmm%2F01222223484.html
我正在测试此程序的稳定性,等到稳定的时候,则可以用在原先的同个项目中,如果有用到此web services的朋友,请提出修改意见。
——————————————————————
——————————————————————————————
english version:
yahoo pipe is good with it’s web services tool , but what a shame is that if you hold a web services script on you personal web server , it will soon consume out the resource.
The good news is that google provides us GOOGLE APP ENGINE.
Wasting an afternoon time learning java basic language , i write a java program to provide item combine serivces.
the program’s function is simple but useful, it combine all item’s description together and return just one item(using the first item as template):
http://combinepines.appspot.com/receivepipe
ok ,cut the crab , just add the above url to yahoo pipe web services tool, try it .
DEMO:
before combine , pipe:
http://pipes.yahoo.com/pipes/pipe.info?_id=f1659702216d12a2cd24d9b1f047d820
after combine , pipe-rss:
http://pipes.yahoo.com/pipes/pipe.info?_id=4023ca94f557601193f64c2891182d71
i’m now testing the stablity of this program , and welcome advices