we_export_content - export content to be imported with we_import_content
we_export_content [-newlang|lang lang] [-checkonly] [-rootclass class] [-dumpformat format] [-v] [-f] datasrcdir exportdir
Export content files from datasrcdir (path to a we_data directory) to exportdir (which must be an empty or non-existent directory).
we_data
Additionaly to the content files a description file CONTENT.txt is created. This is a list of object ids to path names in the object database and vice versa. Use this list for identifying which content file belongs to which document in the object database.
CONTENT.txt
Filter export to only the specified language. Otherwise export all languages.
The filtered language is marked as the new language lang. Only useful with -oldlang set.
-oldlang
Export the files in one of the following dump formats: XMLText or PerlDD (perl dump). Theoretically there are also the dump formats YAML and XML, but these two has to many problems to be useable for now.
XMLText
PerlDD
YAML
XML
Class of root db (default: WE_Singlesite::Root).
Be verbose.
See "EXAMPLES" in we_import_content.
Slaven Rezic
we_import_content, WE_Content::Base, YAML.
2 POD Errors
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
=back without =over
To install WE::DB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WE::DB
CPAN shell
perl -MCPAN -e shell install WE::DB
For more information on module installation, please visit the detailed CPAN module installation guide.