Readme.md - added Section for customization and notes
[biaweb2.git] / biawebstrings.hpp
1 #ifndef __BIAWEBSTRINGS__
2 #define __BIAWEBSTRINGS__
3
4 namespace biaweb {
5 // COMMON APPLICATION STRINGS
6 const char* WARNING_PARSE_FAILED = "Warning: date parse failed on " ;
7 const char* NO_SUCH_PATH_ERROR = "No such path! Specify an existing file path" ;
8 const char* DATE_IN_FORMAT = "%Y-%m-%d %H:%M %Z";
9 const char* GENERATED_IN = "Generated in (s): ";
10 const char* VISUALIZE_TREE = "Document tree: ";
11 const char* PROGRAM_ARGS = " -i <inputdir> -o <outputdir> -t <templatedir> [-q]";
12 const char* OUTPUT_IN = "Output in: ";
13 const char* PROGRAM_USAGE = "Usage: ";
14 const char* PROGRAM_EXPLANATION = "Where \n \
15 \t-i <inputdir> - source directory tree with markdown sources\n \
16 \t-o <outputdir> - destination in which to create the HTML output\n \
17 \t-t <templatedir> - directory containing the templates\n \
18 \t-q - quiet mode (don't display messages\n \
19 NOTE: directory argument need not terminate with the separator (/)";
20
21 // MAXIMUM SIZE OF RSS FEED
22 const unsigned int MAX_RSS_FEED = 10;
23
24 // NAMED INDEX FOR DOCUMENT STRING BITS (LOADED FROM TEMPLATE FILE stringbits.txt)
25 const unsigned int HOME = 0;
26 const unsigned int ARTICLES_LIST = 1;
27 const unsigned int INDEX = 2;
28 const unsigned int NAVIGATION = 3;
29 const unsigned int SUB_CAT = 4;
30 const unsigned int GO_UP = 5;
31 const unsigned int SUBSCRIBE = 6;
32 const unsigned int RSS_FEED = 7;
33
34 }
35
36 #endif