etherpad - 是否可以通过 API 将标准 etherpad 作为文本文档读取?

标签 etherpad

我有一个包含 yaml 文件的公共(public) etherpad。我想使用 php 读取此 yaml 并将其转换为 json 字符串。

有一些很棒的库可以将 yaml 转换为 json。例如: https://github.com/mustangostang/spyc/

我正在寻找的是一个 url,它将以纯文本形式返回 pad 的内容。

最佳答案

然后您想要导出文本。您可以使用以下 url 轻松获取导出为原始文本的 pad 内容:

//<yourdomain>.com/p/<yourpad>/export/txt

关于etherpad - 是否可以通过 API 将标准 etherpad 作为文本文档读取?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21304237/

相关文章:

java - 运行 etherpad 本地副本时出现问题

etherpad - 是否有 etherpad 的批量导出商?

apache - 将 Etherpad 安装到子目录中

web - 我搞不懂 EtherPad

node.js - 如何在 Sandstorm 上安装 Etherpad Lite 插件?

node.js - etherpad-lite 权限被拒绝,打开 './SESSIONKEY.txt'

node.js - Etherpad(-Lite)的具体运算转换算法?

node.js - Etherpad:连接身份验证的最佳方式

php - 有没有像 EtherPad Using php and mySql 这样的开源项目?