Fixes/tweaks to 4tan.org addition.

- Fix missing brace.
- Switch to more flexible report URL format.
- Document `report` field.
- Add 4tan to the archives.md table.
This commit is contained in:
ccd0 2017-01-22 06:00:20 -08:00
parent 711edaaf85
commit db290e40ff
3 changed files with 7 additions and 3 deletions

View File

@ -10,7 +10,8 @@ Generic archive information:
"software": "foolfuuka",
"boards": ["a"],
"files": ["a"],
"search": ["a"]
"search": ["a"],
"report": "https://example.com/report/?board=%board&no=%post"
}
```
@ -26,4 +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.
Also, be sure to add your board to [archives.md](https://github.com/MayhemYDG/archives.json/blob/gh-pages/archives.md) at some point.

View File

@ -117,5 +117,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/"
]
"report": "https://sys.4tan.org/report/?board=%board&no=%post"
}]

View File

@ -32,3 +32,4 @@ uid | name | domain | software
`29`|`Archived.Moe`|[archived.moe](http://archived.moe)|[FoolFuuka](https://github.com/FoolCode/FoolFuuka)
`30`|`TheBArchive.com`|[thebarchive.com](http://thebarchive.com)|[FoolFuuka](https://github.com/FoolCode/FoolFuuka)
`31`|`Archive Of Sins`|[archiveofsins.com](http://archiveofsins.com)|[FoolFuuka](https://github.com/FoolCode/FoolFuuka)
`32`|`4tan`|[boards.4tan.org](https://boards.4tan.org)|[FoolFuuka](https://github.com/FoolCode/FoolFuuka)