有没有办法以文本/xml 格式导入/导出管道源?
我想在编辑某些管道之前离线保存它们的副本,并可能在将来再次从外部源重新加载它们。
这可以做到吗?
I'd like to save a copy of some of my pipes offline before I go to edit them, and possibly reload them from an external source again in future.
Can this be done?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的。在管道编辑页面中打开 Firebug 控制台并输入
dump()
它将打开另一个窗口,其中包含管道的 JSON 转储。
由您来解释它或从此 JSON 重新加载管道:-)
Yes. Open a Firebug console in the pipe edit page and type
dump()
It will open another window with a JSON dump of the pipe.
It's up to you to interpret this or reload the pipe from this JSON :-)
如果有人只需要导出,您也可以像这样发出 HTTP 请求:
http://pipes.yahoo.com/pipes/pipe.info?_id={THE_PIPE_ID}&_out=json&format=json
If somebody just need to export, you can also make an HTTP request like so:
http://pipes.yahoo.com/pipes/pipe.info?_id={THE_PIPE_ID}&_out=json&format=json