Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 urlfixer | |
2 ======== | |
3 | |
4 Backend for the URL Fixer data collection. It provides the following URLs: | |
5 | |
6 * */submitData* - Receive data from URL Fixer extension | |
7 | |
8 Required packages | |
9 ----------------- | |
10 | |
11 * [simplejson](http://pypi.python.org/pypi/simplejson/) | |
12 | |
13 Database setup | |
14 -------------- | |
15 | |
16 Just execute the statements in _schema.sql_. | |
17 | |
18 Data transfer format | |
19 ---------------------------- | |
20 | |
21 A domain transfered to the server can have one of the following status: | |
Wladimir Palant
2012/10/09 11:51:14
"Status" doesn't seem to be the right word, should
Thomas Greiner
2012/10/09 13:47:02
I tried to avoid calling them "types" due to possi
| |
22 | |
23 * 1: the domain was entered | |
Wladimir Palant
2012/10/09 11:51:14
Better: "was entered without any further action" -
| |
24 * 2: there was a typo | |
Wladimir Palant
2012/10/09 11:51:14
Where and what does it have to do with the domain?
| |
25 * 3: the domain has been corrected | |
Wladimir Palant
2012/10/09 11:51:14
No, this domain *is* the correction. Meaning: "the
| |
26 * 4: false positive (domain was corrected even though the typed domain was no ty po) | |
Wladimir Palant
2012/10/09 11:51:14
Better explanation: "user declined our correction"
| |
27 | |
28 The server expects the list to be transfered as a JSON object in no particular o rder. Here is an example: | |
29 | |
30 ```js | |
31 { | |
32 "urlfixer.org": 1, | |
33 "adblockplus,org": 2, | |
34 "adblockplus.org": 3, | |
35 "goggle.com": 1, | |
36 "google.com": 4 | |
37 } | |
38 ``` | |
OLD | NEW |