Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top