GithubHelp home page GithubHelp logo

aaronpowell / chauffeur.contentimport Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 1.57 MB

A Chauffeur plugin that allows importing content via the Umbraco Packaging API

License: MIT License

C# 16.42% HTML 33.82% JavaScript 9.87% ASP 5.69% CSS 26.36% F# 6.94% PowerShell 0.90%

chauffeur.contentimport's Introduction

Chauffeur.ContentImport

Build type Status NuGet
master Build status NuGet Badge
dev Build status NuGet Badge

The Umbraco Packaging API allows you to import and publish content through it, this Chauffeur plugin allows content to be imported through that API.

Note: This should not be used as a replacement of a full content promotion tool like Courier, it's for one-time content importing.

Usage

content-import

umbraco> content-import PackageName

This will look for a file (sans .xml extension) which is an Umbraco Package and will import the content from within it.

content-export

umbraco> content-export PackageName

This will export an xml file which is an Umbraco Package containing the content of your site.

content-publish

umbraco> content-publish <?ids> -user=<userId> -children=true|false

This will publish the provided content ID's and allow you to optionally provide the UserID to publish the content under and whether or not you want to include the children in your publish run.

Some notes on how it works:

  • If you don't provide any ID's then it'll publish all root content items
  • If you don't provide a userID it'll default to 0 (which is what Umbraco does internally)
  • If you don't provide the children flag it won't publish the child nodes
  • If the web server is running you'll need to recycle the app pool afterwards as this can only update the umbraco.config and Umbraco database, it can't do the in-memory cache

chauffeur.contentimport's People

Contributors

aaronpowell avatar alanwthom avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.