1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "Users_Guide.ent">
%BOOK_ENTITIES;
]>
<section id="sect-Users_Guide-Creating_a_brand">
<title>Creating a brand</title>
<para>
Use the <command>create_brand</command> action to create a new brand. When you create a new brand, you must give it a name and specify the original language for the brand's XML files. The <option>--name</option> option provides the name, and the <option>--lang</option> option specifies the language. The complete command is therefore:
</para>
<screen><command>publican create_brand --name=<replaceable>brand</replaceable> --lang=<replaceable>language_code</replaceable></command>
</screen>
<para>
<application>Publican</application> creates a new subdirectory named <filename>publican-<replaceable>brand</replaceable></filename>, where <replaceable>brand</replaceable> is the brand that you specified with the <option>--name</option> option.
</para>
<para>
For example, to create a brand called <literal>Acme</literal>, which will have its Common Content XML files written originally in American English, run:
</para>
<screen><command>publican create_brand --name=Acme --lang=en-US</command>
</screen>
<para>
<application>Publican</application> creates the brand in a subdirectory named <filename>publican-Acme</filename>.
</para>
<para>
To configure your new brand, search for the word <literal>SETUP</literal> in the default files that <application>Publican</application> creates and edit the files to provide the missing details. On Linux operating systems, you can search for the word <literal>SETUP</literal> in these files with the command:
</para>
<screen><command>grep -r 'SETUP' *</command>
</screen>
</section>
|