From 4c6ca4ad11e52025aa9bd5c49bad065cd44e7705 Mon Sep 17 00:00:00 2001 From: Pascal Christoph Date: Tue, 24 May 2022 18:48:00 +0200 Subject: [PATCH] Add a cheat sheet as a simple html page (#94) Will be published at https://metafacture.org/playground/cheatSheet.html. --- resources/public/cheatSheet.html | 65 ++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 resources/public/cheatSheet.html diff --git a/resources/public/cheatSheet.html b/resources/public/cheatSheet.html new file mode 100644 index 0000000..9383d1e --- /dev/null +++ b/resources/public/cheatSheet.html @@ -0,0 +1,65 @@ + + + + + + Metafacture Playground Cheat Sheet + + + + +

Metafacture Playground Cheat Sheet

+Here are some examples of workflows. They will open in playground. +Search for something of your interest. You can combine those workflows by copy'n'paste - while not everything is free combinable in the 'Flux' (e.g. some input formats depend on special treatments) you often can combine a section with another. +The 'Fix' is mostly exchangeable, but sometimes a serializer (the section following the 'fix' command) demands some fields as inputs.
+
+Just try it.
+If you have a task you cannot resolve by yourself, let us know - we will provide a solution here! +

+Don't forget to click "process" in the playground to get a result. +

+ Analyzing +

+ List all MarcXML fields - gets all field names (and their values) +  ;   +Count occurences of values of a specified field +  ;   + +Count a pattern (defined by a regex) found in values of fields +  ;   +

+

+Serialization and input and output formats +

+ Formeta to XML +  ;   +Marc21 to formeta +  ;   +OAI-PMH MODS to Json +  ;   +MarcXML via http to JSON +  ;   +Save Result as file +  ;   +Pica to MarcXML (morph) +  ;   +Pica to JSON +  ;   +

+Transform +

+Rename fields +  ;   +Filter to get only one field (and its subfields) +  ;   +Filter, rename, concatenate +  ;   +Simple internal lookup: substitute a value with a constant +  ;   +

Special operations

+ +Enrichment: merge two sources using a "wormhole" +

Useful links

+Here is a list of all Flux commands(be aware that these are not freely combinable). + +