-
Notifications
You must be signed in to change notification settings - Fork 0
/
mysitemap.json
86 lines (86 loc) · 4.52 KB
/
mysitemap.json
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
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
/*
* THIS IS A SPECIAL json. It allows comments via the 'sitload.php'.
* Normally json_decode() would fail if there were any comments.
*
* This is mysitemap.json for bartonlp.org. The 'siteload.php' file has
* been modified to remove comments like this or // or #.
* You can put almost anything into this file as long as it does not
* have double slashes or a pound sign that is not escaped.
* 'siteName' is used by the tracking software.
* Any of these items can be referenced in code as '$this->name' like
* '$this->siteDomain'. You can use these in the include/ file like
* head.i.php etc.
* The 'title' is usually used in the html <title>$this->title</title>.
* 'className' can be used if you have a derived class from
* 'StiteClass', then you would have:
* $S = new $_site->className($_site->className);
* 'copyright', 'author', 'desc', 'keywords' can all be used on the
* include/ files.
* 'masterdb' is the main database that all of the counter and tracker
* data will be put into. This may be different from the
* 'dbinfo->database' which can be different if you want to do special
* things in a seperate database.
* 'dbinfo' is an object used by the database software.
* The three files 'headFile', 'bannerFile' and 'footerFile' are
* normally in the include/ directory, but they can really be anywhere.
* These three name have links to the actual location of the
* corresponding files.
* There are several special flags that can be set to modify the
* behavior of the 'SiteClass' software these are:
* 'nodb': don't do any database actions. This can also be done by just
* not having the 'dbinfo' object.
* 'noTrack': don't do 'tracking'.
* 'count': if true we do counting if false of not included we don't
* count.
* The two items 'trackerImg1' and 'trackerImg2' are locations on the
* https://www.bartonphillips.net server where the images are located.
* If the name starts with a / then that server is used otherwise you
* can supply a relitive link the this server or an explicit link to
* another server.
* 'myUrl': can either be a string, and array or the name and location
* of a json file.
* 'EMAIL...' tags are for your email informationl
*
* You can also use # or // for comments for one line comments and
* inline comments.
* BLP 2021-03-20 -- This is also used in the 'bartonlp' directory for
* its 'index.php'. 'bartonlp' does NOT have a mysitemap.json.
*/
{
"siteDomain": "bartonlp.org", // Our domain name
"siteName": "Baronlp.org", // this is the site name that will be used in analysis
"title": "Bartonlp.org", // the title used in head.i.php
"mainTitle": "<h1>Bartonlp.org</b></h1>", // could be used in banner.i.php
"path": "/var/www/bartonlp.org",
"className": "SiteClass", // the default is SiteClass. If this is something else that class will be used.
"copyright": "Barton Phillips", // copyright holder
"author": "Barton Phillips",
"address": "New Bern, North Carolina",
"desc": "My interesting new site", // could be used in the meta description.
//"keywords": "c,c++,javascript,php,mysql", // could be used in the meta keywords.
"masterdb": "barton", // the master database where all of the SiteClass tracking and counting info goes.
"dbinfo": { // IF you have this then you will use the database facilities of SiteClass
"host": "localhost",
"user": "barton",
"database": "barton", //"bartonphillips", // we will use bartonphillips because it has the members table.
"engine": "mysql" // Not used by dbMysqli.class.php. It is only used with dbPdo.class.php
},
"errorMode": {
"development": true, // development automatically sets email to true.
// If development is true then noEmail will be
// set to true unless noEmail is set to false!
// Only false not null or just missing.
"noEmail": null, // Set it to null will not affect the true above which sets it to true also.
"noHtml": false,
"noOutput": false
},
"headFile": "/var/www/bartonphillips.com/includes/head.i.php", // *File items refer to the head, banner, and footer to use.
"bannerFile": "/var/www/bartonphillips.com/includes/banner.i.php",
"footerFile": "/var/www/bartonphillips.com/includes/footer.i.php",
"count": true, // if true do SiteClass counting
"trackerImg1": "/images/blp-image.png", // /image/.. will get the image from bartonphillips.net.
"trackerImg2": "/images/146624.png",
"EMAILADDRESS": "bartonphillips@gmail.com",
"EMAILRETURN": "bartonphillips@gmail.com",
"EMAILFROM": "bartonphillips@gmail.com"
}