rmlewisuk/justdelete.me — pull request #186 by danharper (2013-09-01 20:49:57+00:00)
Title: WIP: Split sites.json into separate files

Do not merge yet, just opening this to show the progress.

---

`sites.json` is clearly becoming unmaintainable and a pain with constant merge conflicts. Splitting them out seems to be the best bet.

---

Right now there's a temporary `parse.json` file which will create a new JSON file for each site listed under `sites.json`. This would only be used once for the transition.

In `read.php` is an example for pulling each separate JSON file. This'd become part of the build process.

I've also changed `notes`, `notes_it`, `notes_de` to be:

```json
"notes": {
"en": "...",
"de": "...",
"it": "..."
}
```

which I think is a better way to present the data. Will have to work with Mike to update the Chrome plugin, or use a workaround.

_Also_, it may be a good idea to allow giving each site multiple names. For example in the case of the StackExchange network, Gawker etc. But some thought will need to go into how that's presented in the UI.