2019-10-31 17:54:27 +01:00
|
|
|
# Calculate WordPress usage worldwide
|
|
|
|
|
|
|
|
The following script will analyze the list of the first million domains with the most visits to give you the percentage of use.
|
|
|
|
|
|
|
|
Warning that it can take a long time: between 20 to 30 days.
|
|
|
|
|
2019-10-23 19:50:50 +02:00
|
|
|
## Requirements
|
|
|
|
|
|
|
|
To run it you'll need either 2Gb of RAM or a swap file of the same size.
|
|
|
|
|
2019-10-10 17:11:38 +02:00
|
|
|
## Install
|
|
|
|
|
2019-10-10 17:27:05 +02:00
|
|
|
``` sh
|
|
|
|
sudo apt install clojure leiningen wget make
|
|
|
|
```
|
2019-10-10 17:11:38 +02:00
|
|
|
|
2019-10-10 00:37:22 +02:00
|
|
|
## Prepare
|
|
|
|
|
2019-10-10 17:27:05 +02:00
|
|
|
``` sh
|
2019-10-10 17:22:55 +02:00
|
|
|
make prepare
|
2019-10-10 17:27:05 +02:00
|
|
|
```
|
2019-10-10 00:37:22 +02:00
|
|
|
|
|
|
|
## Run
|
|
|
|
|
2019-10-10 17:27:05 +02:00
|
|
|
``` sh
|
2019-10-31 17:56:09 +01:00
|
|
|
lein run
|
2019-10-10 17:27:05 +02:00
|
|
|
```
|
2019-10-31 17:54:27 +01:00
|
|
|
|
|
|
|
When all the CSV sites are analyzed, you can see the final figure by running the following script
|
|
|
|
|
|
|
|
## Calculate percentage
|
|
|
|
|
|
|
|
``` sh
|
|
|
|
bash calculate-percentage.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
## Historical
|
|
|
|
|
|
|
|
### 2019
|
|
|
|
|
|
|
|
19%
|
2019-11-02 16:15:44 +01:00
|
|
|
|
|
|
|
## Article with conclusions (in Spanish)
|
|
|
|
|
|
|
|
https://programadorwebvalencia.com/analizando-un-millon-de-paginas-para-saber-cuanto-se-usa-wordpress-2019/
|
2019-11-03 11:06:13 +01:00
|
|
|
|
|
|
|
## Hacker News (comments)
|
|
|
|
|
|
|
|
https://news.ycombinator.com/item?id=21428149
|