Added RSS feed to each category
[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>";
12 const char* OUTPUT_IN = "Output in: ";
13 const char* PROGRAM_USAGE = "Usage: ";
14 const char* PROGRAM_EXPLANATION = "Where \n \
15 \t<inputdir> - source directory tree with markdown sources\n \
16 \t<outputdir> - destination in which to create the HTML output\n \
17 \t<templatedir> - directory containing the templates\n \
18 NOTE: directory argument need not terminate with the separator (/)";
19
20 // MAXIMUM SIZE OF RSS FEED
21 const unsigned int MAX_RSS_FEED = 10;
22
23 // NAMED INDEX FOR DOCUMENT STRING BITS (LOADED FROM TEMPLATE FILE stringbits.txt)
24 const unsigned int HOME = 0;
25 const unsigned int ARTICLES_LIST = 1;
26 const unsigned int INDEX = 2;
27 const unsigned int NAVIGATION = 3;
28 const unsigned int SUB_CAT = 4;
29 const unsigned int GO_UP = 5;
30 const unsigned int SUBSCRIBE = 6;
31 const unsigned int RSS_FEED = 7;
32
33 }
34
35 #endif