Switch to new format for declaring offsite reporting API.
See https://github.com/ccd0/4chan-x/issues/1260. Currently 4plebs and 4tan have it.
This commit is contained in:
parent
3a61e56756
commit
06ee6e8d49
@ -11,7 +11,7 @@ Generic archive information:
|
||||
"boards": ["a"],
|
||||
"files": ["a"],
|
||||
"search": ["a"],
|
||||
"report": "https://example.com/report/?board=%board&no=%post"
|
||||
"reports": true
|
||||
}
|
||||
```
|
||||
|
||||
@ -27,6 +27,6 @@ make sure it does not overlap with an archive that previously died for example.
|
||||
|
||||
`search` is the list of boards where search is enabled. If this field is missing then it implies that search is enabled on all boards.
|
||||
|
||||
`report` is the URL of a form for reporting posts. The board name and post number will be substituted for `%board` and `%post`, respectively. If missing, it means your site has no such form.
|
||||
`reports` indicates that you have enabled the offsite reporting API from https://github.com/pleebe/foolfuuka-plugin-popup-report. It is assumed false if missing.
|
||||
|
||||
Also, be sure to add your board to [archives.md](https://github.com/MayhemYDG/archives.json/blob/gh-pages/archives.md) at some point.
|
||||
@ -6,7 +6,8 @@
|
||||
"https": true,
|
||||
"software": "foolfuuka",
|
||||
"boards": ["adv", "f", "hr", "o", "pol", "s4s", "sp", "tg", "trv", "tv", "x"],
|
||||
"files": ["adv", "f", "hr", "o", "pol", "s4s", "sp", "tg", "trv", "tv", "x"]
|
||||
"files": ["adv", "f", "hr", "o", "pol", "s4s", "sp", "tg", "trv", "tv", "x"],
|
||||
"reports": true
|
||||
}, {
|
||||
"uid": 4,
|
||||
"name": "Nyafuu Archive",
|
||||
@ -117,5 +118,5 @@
|
||||
"boards": ["3", "a", "aco", "adv", "an", "asp", "b", "biz", "c", "cgl", "ck", "cm", "co", "d", "diy", "e", "f", "fa", "fit", "g", "gd", "gif", "h", "hc", "his", "hm", "hr", "i", "ic", "int", "jp", "k", "lgbt", "lit", "m", "mlp", "mu", "n", "news", "o", "out", "p", "po", "pol", "qa", "qst", "r", "r9k", "s", "s4s", "sci", "soc", "sp", "t", "tg", "toy", "trash", "trv", "tv", "u", "v", "vg", "vip", "vp", "vr", "w", "wg", "wsg", "wsr", "x", "y"],
|
||||
"files": [],
|
||||
"search": [],
|
||||
"report": "https://sys.4tan.org/report/?board=%board&no=%post"
|
||||
"reports": true
|
||||
}]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user