Page de statistiques
This commit is contained in:
107
tools/stats.json
Normal file
107
tools/stats.json
Normal file
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"config": {
|
||||
"dataOutput": "content/stats/data/stats.json",
|
||||
"defaultImageDir": "content/stats/images"
|
||||
},
|
||||
"sections": [
|
||||
{
|
||||
"title": "Habitudes d'écriture",
|
||||
"statistics": [
|
||||
{
|
||||
"key": "most_prolific_month",
|
||||
"title": "Mois le plus prolifique",
|
||||
"type": "variable",
|
||||
"script": "tools/stats/most_prolific_month.js"
|
||||
},
|
||||
{
|
||||
"key": "weekday_activity",
|
||||
"title": "Articles et mots par jour",
|
||||
"type": "graphic",
|
||||
"script": "tools/stats/weekday_activity.py",
|
||||
"image": "content/stats/images/weekday_activity.png"
|
||||
},
|
||||
{
|
||||
"key": "articles_avg_per_month",
|
||||
"title": "Moyenne d'articles par mois",
|
||||
"type": "variable",
|
||||
"script": "tools/stats/articles_avg_per_month.js"
|
||||
},
|
||||
{
|
||||
"key": "articles_per_month",
|
||||
"title": "Articles par mois",
|
||||
"type": "graphic",
|
||||
"script": "tools/stats/articles_per_month.py",
|
||||
"image": "content/stats/images/articles_per_month.png"
|
||||
},
|
||||
{
|
||||
"key": "articles_per_year",
|
||||
"title": "Articles par an",
|
||||
"type": "graphic",
|
||||
"script": "tools/stats/articles_per_year.py",
|
||||
"image": "content/stats/images/articles_per_year.png"
|
||||
},
|
||||
{
|
||||
"key": "cumulative_articles",
|
||||
"title": "Cumul articles / mots",
|
||||
"type": "graphic",
|
||||
"script": "tools/stats/cumulative_articles.py",
|
||||
"image": "content/stats/images/cumulative_articles.png"
|
||||
},
|
||||
{
|
||||
"key": "articles_per_section",
|
||||
"title": "Articles par section",
|
||||
"type": "graphic",
|
||||
"script": "tools/stats/articles_per_section.py",
|
||||
"image": "content/stats/images/articles_per_section.png"
|
||||
},
|
||||
{
|
||||
"key": "words_per_article",
|
||||
"title": "Nombre de mots par article",
|
||||
"type": "graphic",
|
||||
"script": "tools/stats/words_per_article.py",
|
||||
"image": "content/stats/images/words_per_article.png"
|
||||
},
|
||||
{
|
||||
"key": "words_histogram",
|
||||
"title": "Distribution des longueurs",
|
||||
"type": "graphic",
|
||||
"script": "tools/stats/words_histogram.py",
|
||||
"image": "content/stats/images/words_histogram.png"
|
||||
},
|
||||
{
|
||||
"key": "weather_hexbin",
|
||||
"title": "Conditions météo à la publication",
|
||||
"type": "graphic",
|
||||
"script": "tools/stats/weather_hexbin.py",
|
||||
"image": "content/stats/images/weather_hexbin.png"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Visites",
|
||||
"statistics": [
|
||||
{
|
||||
"key": "pageviews_per_month",
|
||||
"title": "Pages vues (mois courant)",
|
||||
"type": "variable",
|
||||
"script": "tools/stats/goaccess_monthly.js",
|
||||
"metric": "hits"
|
||||
},
|
||||
{
|
||||
"key": "unique_visitors_per_month_value",
|
||||
"title": "Visiteurs uniques (mois courant)",
|
||||
"type": "variable",
|
||||
"script": "tools/stats/goaccess_monthly.js",
|
||||
"metric": "visitors"
|
||||
},
|
||||
{
|
||||
"key": "top_requests",
|
||||
"title": "Top requêtes (30 jours)",
|
||||
"type": "graphic",
|
||||
"script": "tools/stats/top_requests.py",
|
||||
"image": "content/stats/images/top_requests.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user