Is it possible to read a standard etherpad as a text document over the api?

StackOverflow https://stackoverflow.com/questions/21304237

  •  01-10-2022
  •  | 
  •  

문제

I have a public etherpad containing an yaml-file. Using php I would like read this yaml and convert it to a json-string.

There are some great libraries for converting yaml to json. for example: https://github.com/mustangostang/spyc/

What i'm looking for is an url that will return the contents of a pad as pure text.

도움이 되었습니까?

해결책

You want the text export then. You can easily get the contents of a pad exported as raw text, using the following url:

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top