Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Import/export for Radiant databases with source control friendlyness.
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
LICENSE
README.md
Rakefile
super_export_extension.rb

README.md

Radiant Super Export Extension

About

An extension by Aissac that provides portability to your Radiant CMS project by allowing you to export and import the records in the database and making it easy to manage them with a source control tool like Git or Subversion.

Tested on Radiant 0.7.1, 0.8 and 0.9 RC1.

Features

  • All records are exported to individual YAML files;
  • A directory is created for each model in the default import/export path which is db/export;
  • The individual YAML files are saved with the record ID as their filename.

Installation

The Super Export Extension has no dependencies, so all you have to do is install it:

git clone git://github.com/Aissac/radiant-super-export-extension.git vendor/extensions/super_export

Usage

To export, use:

rake db:super_export

To import, use:

rake db:super_import

Working example

Exporting the Page model looks like this:

db/
  export/
    pages/
      1.yml
      2.yml
      3.yml
      ...

Contributors

Something went wrong with that request. Please try again.