File: Creating_a_Brand.xml

package info (click to toggle)
publican 4.3.2-5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 18,364 kB
  • sloc: javascript: 17,390; perl: 13,081; xml: 11,558; makefile: 167; python: 29; sh: 29
file content (37 lines) | stat: -rw-r--r-- 2,220 bytes parent folder | download | duplicates (4)
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
35
36
37
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE section [
<!ENTITY % BOOK_ENTITIES SYSTEM "Users_Guide.ent">
%BOOK_ENTITIES;
<!ENTITY % sgml.features "IGNORE">
<!ENTITY % xml.features "INCLUDE">
<!ENTITY % DOCBOOK_ENTS PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.5//EN" "/usr/share/xml/docbook/schema/dtd/4.5/dbcentx.mod">
%DOCBOOK_ENTS;
]>
<section conformance="132" version="5.0" xml:id="sect-Publican-Users_Guide-Creating_a_brand" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
	<info>
		<title>Creating a brand</title>

	</info>
	 <para>
		Use the <prompt>$</prompt> <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><prompt>$</prompt> <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><prompt>$</prompt> <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><prompt>$</prompt> <command>grep -r 'SETUP' *</command></screen>
</section>