npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@kitconcept/volto-export

v1.1.0

Published

volto-export: Volto add-on that exports objects in the plone.restapi/kitconcept.contentcreator format

Downloads

19

Readme

volto-export (by kitconcept)

NPM Build Status Build Status

kitconcept GmbH

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-exportto 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:

{
  "@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.