https://github.com/kitconcept/volto-export
Volto add-on for exporting content in the fashion of kitconcept.contentcreator
https://github.com/kitconcept/volto-export
Last synced: about 2 months ago
JSON representation
Volto add-on for exporting content in the fashion of kitconcept.contentcreator
- Host: GitHub
- URL: https://github.com/kitconcept/volto-export
- Owner: kitconcept
- Created: 2022-12-22T17:36:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-11T09:11:30.000Z (over 3 years ago)
- Last Synced: 2026-02-17T11:31:38.387Z (4 months ago)
- Language: JavaScript
- Size: 1.03 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# volto-export (by kitconcept)
[](https://www.npmjs.com/package/@kitconcept/volto-export)
[](https://github.com/kitconcept/volto-export/actions)
[](https://github.com/kitconcept/volto-export/actions)

This Volto add-on provides a route `/export` on any content object of your Plone 6 site that allows you to export the content in `plone.restapi`/`kitconcept.contentcreator` JSON format.
You can use this exports to feed back Plone using `kitconcept.contentcreator` (https://github.com/kitconcept/kitconcept.contentcreator) for maximum functionality or bare `plone.restapi`.
## Installation
Create a new Volto project (you can skip this step if you already have one):
```
npm install -g yo @plone/generator-volto
yo @plone/volto my-volto-project --addon @kitconcept/volto-export
cd my-volto-project
```
Add `@kitconcept/volto-export`to your `package.json`:
```
"addons": [
"@kitconcept/volto-export"
],
"dependencies": {
"@kitconcept/volto-export": "*"
}
```
Download and install the new add-on by running:
```
yarn
```
Start Volto with:
```
yarn start
```
Go to http://localhost:3000, login. The new route should be available under any content URL.
## Usage
Install the add-on in your project, then once you have your site up and running, on any content, append `/export` to get the exported data.
```
https://plone.org/foundation/export
```
You will get a JSON file like:
```json
{
"@type": "Document",
"id": "teaser",
"title": "Block: Grid-Block mit Teasern",
"description": "Der Grid-Block erlaubt das Hinzufügen mehrspaltiger Blöcke. Ein Grid-Block kann zwischen ein und vier Spalten mit unterschiedlichen Blöcken enthalten. Text, Teaser, Bilder und Videos können in einem Grid-Block hinzugefügt werden.",
"review_state": "published",
"blocks": {
"d3f1c443-583f-4e8e-a682-3bf25752a300": {
"@type": "title"
},
"efd53af2-5cd1-43a6-893f-444272824a8c": {
"@type": "__grid",
"columns": [
...
```
# License
The project is licensed under the MIT license.