diff --git a/README.md b/README.md index a9b9942..349ee8e 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ The ***production deployment*** is available at [https://metafacture.org/playgro The current ***test deployment*** is available at [https://test.metafacture.org/playground/](https://test.metafacture.org/playground/). -Both deployments provide a web application and and HTTP REST API +Both deployments provide a web application and an HTTP API [Here](CONTRIBUTING.md) you can read about contributing to Metafacture Playground. @@ -165,6 +165,6 @@ move_field(a, title) paste(author, b.v, b.n, '~aus', c) retain(id, title, author) ``` -The parameter values must be url encoded so the url looks looks like this: +The parameter values must be URL-encoded so the URL looks like this: http://localhost:3000/process?flux=inputFile%0A%7Copen-file%0A%7Cas-lines%0A%7Cdecode-formeta%0A%7Cfix%28transformationFile%29%0A%7Cencode-xml%28rootTag%3D%22collection%22%29%0A%7Cprint%0A%3B&transformation=move_field%28_id%2C+id%29%0Amove_field%28a%2C+title%29%0Apaste%28author%2C+b.v%2C+b.n%2C+%27~aus%27%2C+c%29%0Aretain%28id%2C+title%2C+author%29&data=1%7Ba%3A+Faust%2C+b+%7Bn%3A+Goethe%2C+v%3A+JW%7D%2C+c%3A+Weimar%7D%0A2%7Ba%3A+R%C3%A4uber%2C+b+%7Bn%3A+Schiller%2C+v%3A+F%7D%2C+c%3A+Weimar%7D diff --git a/resources/examples/How_to_use_the_Playground b/resources/examples/How_to_use_the_Playground index aa17d7c..1fa3acf 100644 --- a/resources/examples/How_to_use_the_Playground +++ b/resources/examples/How_to_use_the_Playground @@ -1 +1 @@ -https://test.metafacture.org/playground/?flux=inputFile+//This+is+an+variable+for+the+input+data.%0A%0A//+These+are+Metafacture+modules.%0A%7C+open-file%0A%7C+as-records%0A%7C+decode-json%0A%7C+fix%28transformationFile%29+//+This+uses+a+variable+to+refrence+the+content+of+the+box+transformationFile%0A%7C+encode-yaml%0A%7C+print%0A%3B&transformation=replace_all%28%22Hello%22%2C%22orld%22%2C%22eirdos%22%29%0Aremove_field%28%22This%5B%5D.3%22%29%0Aremove_field%28%22Please%22%29%0Aadd_field%28%22This%5B%5D.%24append%22%2C%22output%22%29%0Aadd_field%28%22Great%22%2C%22Success%21%22%29%0A&data=%7B%0A++++%22Hello%22%3A+%22World%22%2C%0A++++%22This%22%3A+%5B%22is%22%2C+%22an%22%2C%22input%22%2C%22example%22%5D%2C%0A++++%22Please%22%3A+%22Paste+your+input+data+here%2C+if+needed%22%0A%7D \ No newline at end of file +https://test.metafacture.org/playground/?flux=inputFile+//+This+is+a+variable+for+the+input+data.%0A%0A//+These+are+Flux+commands.%0A%7C+open-file%0A%7C+as-records%0A%7C+decode-json%0A%7C+fix%28transformationFile%29+//+This+uses+a+variable+to+reference+the+content+of+the+box+transformationFile.%0A%7C+encode-yaml%0A%7C+print%0A%3B&transformation=replace_all%28%22Hello%22%2C%22ld%22%2C%22kers%22%29%0Aremove_field%28%22This%5B%5D.3%22%29%0Aremove_field%28%22Please%22%29%0Aadd_field%28%22This%5B%5D.%24append%22%2C%22output%22%29%0Aadd_field%28%22Great%22%2C%22Success%21%22%29%0A&data=%7B%0A++++%22Hello%22%3A+%22World%22%2C%0A++++%22This%22%3A+%5B%22is%22%2C%22an%22%2C%22input%22%2C%22example%22%5D%2C%0A++++%22Please%22%3A+%22Paste+your+input+data+here%2C+if+needed%22%0A%7D \ No newline at end of file