The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

we_export_content - export content to be imported with we_import_content

SYNOPSIS

     we_export_content [-newlang|lang lang] [-checkonly] [-rootclass class]
                       [-dumpformat format] [-v] [-f] datasrcdir exportdir

DESCRIPTION

Export content files from datasrcdir (path to a we_data directory) to exportdir (which must be an empty or non-existent directory).

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.

OPTIONS

-oldlang lang

Filter export to only the specified language. Otherwise export all languages.

-newlang lang

The filtered language is marked as the new language lang. Only useful with -oldlang set.

-dumpformat format

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.

-rootclass

Class of root db (default: WE_Singlesite::Root).

-v

Be verbose.

EXAMPLES

See "EXAMPLES" in we_import_content.

AUTHOR

Slaven Rezic

SEE ALSO

we_import_content, WE_Content::Base, YAML.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 220:

You forgot a '=back' before '=head1'

Around line 224:

=back without =over