View on GitHub

OrionImporter

A template for importing code into Orion

Orion Import Sample Page

This example shows you how to embed the code in your HTML document along with the handoff directory containing some Orion boilerplate code to handle the import.

The important elements in this file are the Script code in the head and the name of the Zip file in the handoff/download directory. In this case, we are using Sample.zip.

The other file is handoff/js/orion-connector-script.js that contains the destination Orion server you want to import into and the file you'd like to end up editing right away. This is currently limited to a file in the root of the project.