From db290e40ffb1cff6ab90391758579940ae5d1044 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 22 Jan 2017 06:00:20 -0800 Subject: [PATCH] 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. --- CONTRIBUTING.md | 5 ++++- archives.json | 4 ++-- archives.md | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dc1f56b85..c7e2ee44d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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. \ No newline at end of file diff --git a/archives.json b/archives.json index ef930eef3..a3ae24f90 100644 --- a/archives.json +++ b/archives.json @@ -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" +}] diff --git a/archives.md b/archives.md index 190b815a7..c812ccc33 100644 --- a/archives.md +++ b/archives.md @@ -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)