From 23c95dc684b5831827e0bf360142cc8d6b01cc7b Mon Sep 17 00:00:00 2001 From: Pascal Christoph Date: Mon, 25 Mar 2024 15:28:40 +0100 Subject: [PATCH 1/2] Fix link to example (#27) --- getting-started.html | 152 +++++++++++++++++++++---------------------- getting-started.md | 2 +- 2 files changed, 75 insertions(+), 79 deletions(-) diff --git a/getting-started.html b/getting-started.html index a904b1d..d6a2a72 100644 --- a/getting-started.html +++ b/getting-started.html @@ -5,80 +5,76 @@ Metafacture – Getting started - + - @@ -110,7 +106,7 @@

Getting started

Playground

-

The easiest way to get started with Metafacture is the Playground. Take a look at the first example and run it by pressing the “Process” button. Check out the other examples (first button, “Load Examples”) for different input sources, transformations, and output formats.

+

The easiest way to get started with Metafacture is the Playground. Take a look at an example and run it by pressing the “Process” button. Check out the other examples (first button, “Load Examples”) for different input sources, transformations, and output formats.

For commands available in the Flux, see the Flux commands documentation.

For functions and usage of the Fix, see the Fix functions and cookbook.

Command line

@@ -122,11 +118,11 @@

Using Metafacture as a Java library

If you want to use Metafacture in your own Java projects all you need is to add some dependencies to your project. As of Metafacture 5, the single metafacture-core package has been replaced with a number of domain-specific packages. You can find the list of packages on Maven Central.

Alternatively, you can simply guess the package names from the top-level folders in the source code repository – they are the same.

For instance, if you want to use the metafacture-io library in your project, simply add the following dependency to your pom.xml:

-
<dependency>
-    <groupId>org.metafacture</groupId>
-    <artifactId>metafacture-io</artifactId>
-    <version>$VERSION</version>
-</dependency>
+

or if Gradle is your build tool of choice use:

dependencies {
     implementation 'org.metafacture:metafacture-io:$VERSION'
diff --git a/getting-started.md b/getting-started.md
index 6dee4d9..273bda7 100644
--- a/getting-started.md
+++ b/getting-started.md
@@ -6,7 +6,7 @@ header-includes:
 
 ## Playground
 
-The easiest way to get started with Metafacture is the Playground. Take a look at the [first example](https://metafacture.org/playground/?flux=PG_DATA%0A%7Cas-lines%0A%7Cdecode-formeta%0A%7Cfix%0A%7Cencode-xml%28rootTag%3D%22collection%22%29%0A%7Cprint%0A%3B&fix=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&active-editor=fix) and run it by pressing the !["Process"](img/process.png) button. Check out the other examples (first button, !["Load Examples"](img/load-exmples.png)) for different input sources, transformations, and output formats.
+The easiest way to get started with Metafacture is the Playground. Take a look at an [example](https://metafacture.org/playground/?example=encode-xml) and run it by pressing the !["Process"](img/process.png) button. Check out the other examples (first button, !["Load Examples"](img/load-exmples.png)) for different input sources, transformations, and output formats.
 
 For commands available in the Flux, see [the Flux commands documentation](https://github.com/metafacture/metafacture-documentation/blob/master/flux-commands.md).
 

From 35e931b55c5705aeddddc761922a8547f43cebd5 Mon Sep 17 00:00:00 2001
From: Pascal Christoph 
Date: Mon, 25 Mar 2024 14:42:00 +0000
Subject: [PATCH 2/2] Add newly generated html files by GitHub Actions.

---
 getting-started.html | 150 ++++++++++++++++++++++---------------------
 1 file changed, 77 insertions(+), 73 deletions(-)

diff --git a/getting-started.html b/getting-started.html
index d6a2a72..4a50ea0 100644
--- a/getting-started.html
+++ b/getting-started.html
@@ -5,76 +5,80 @@
   
   
   Metafacture – Getting started
-  
-  
   
+  
   
 
 
@@ -118,11 +122,11 @@ 

Using Metafacture as a Java library

If you want to use Metafacture in your own Java projects all you need is to add some dependencies to your project. As of Metafacture 5, the single metafacture-core package has been replaced with a number of domain-specific packages. You can find the list of packages on Maven Central.

Alternatively, you can simply guess the package names from the top-level folders in the source code repository – they are the same.

For instance, if you want to use the metafacture-io library in your project, simply add the following dependency to your pom.xml:

- +
<dependency>
+    <groupId>org.metafacture</groupId>
+    <artifactId>metafacture-io</artifactId>
+    <version>$VERSION</version>
+</dependency>

or if Gradle is your build tool of choice use:

dependencies {
     implementation 'org.metafacture:metafacture-io:$VERSION'