ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
KEYVALUE
2
3
Intro
4
$introYou can utilize GCMS to store all your strings in a well organized Google Speadsheet. This not only keeps your templates from getting messed by too much contents but also enables others to easily manage the contents of your project. This will also get handy when it comes to text corrections after all your strings found its way into the project. So without further ado - lets get started!
5
$howto require('../src/gcms.class.php');

$gcms = new Nivo\GCMS();

// Assign A Custom Storage Folder For The Cached Contents
$gcms->storage = __DIR__ . "/storage/gcms/";

// Get The Contents Of The Two Worksheets
$sheet1 = $gcms->getContents('cachefile-sheet1.txt', '1uZY1LNd4id-l8DElqVMQoam24HK1rGDwKXZEfr_0FbI', 0);
$sheet2 = $gcms->getContents('cachefile-sheet2.txt', '1uZY1LNd4id-l8DElqVMQoam24HK1rGDwKXZEfr_0FbI', 134327007);
6
Use headlines to organize your document
7
$headlineStore a single string like a headline which you can access through $contents['headline']
8
$copyif you use markdown in your project you can also render contents as html. Consult [markdown](http://markdown.de/) for any further information on that.
9
Unordered List
10
$section.unorderedList.headlineYou can devide your document into sections to organize your contents
11
$section.unorderedList.someListChuck Norris refers to himself in fourth person.
12
$section.unorderedList.someListChuck Norris invented death just so he could kill people.
13
$section.unorderedList.someListJupiter's Great Red Spot isn't a storm. It's where Chuck Norris puts his victims.
14
$section.unorderedList.someListOn the sixth day God created Chuck Norris.
15
$section.unorderedList.someListChuck Norris' heart beats once every week.
16
$section.unorderedList.someListThere's no such thing as a tornado. Chuck Norris just hates trailer parks.
17
Definition List
18
$section.definitionList.headlineUse of a definition list
19
$section.definitionList.list.CoffeeBlack hot drink
20
$section.definitionList.list.MilkWhite cold drink
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100