Commit 4d619224 authored by Jamie Tanna's avatar Jamie Tanna

Add visualisation of posting frequency

As part of #534, I want to make it easier to visualise how often I post
content, of all content types.

For now, look at it in terms of:

- per hour
- per day
- per day of the week
- per month

And will see if there are any other interesting pieces of data I want to
present in the future.

This requires generating the actual counts of data, which I can do using
a custom output format's template, and then render it using Chart.JS.

Plus, add an announcement post.

Closes #534.
parent 671e4f53
Pipeline #70182102 passed with stages
in 4 minutes and 12 seconds
......@@ -39,7 +39,7 @@ paginate = 25
tags = "/tags/:title/"
[outputs]
home = ["HTML", "RSS", "jsonFeed"]
home = ["HTML", "RSS", "jsonFeed", "postFrequency"]
section = ["HTML", "Calendar"]
[outputFormats]
......@@ -49,6 +49,9 @@ baseName = "feed"
[outputFormats.jsonFeed]
mediaType = "application/json"
baseName = "feed"
[outputFormats.postFrequency]
mediaType = "application/json"
baseName = "post-frequency"
[blackfriday]
# disable stupid "smart" quotes
......
---
title: Post Frequency
---
How often do I actually post things? I found this would be interesting to see and to determine just how much and how often I post. Below you can see the breakdown:
{{< partial "post-visualisation.html" >}}
---
title: "Visualising My Posting Habits"
description: "Adding the capability to my site to enable visualisation of how often I post content."
tags:
- www.jvt.me
license_code: Apache-2.0
license_prose: CC-BY-NC-SA-4.0
date: 2019-07-09T22:44:33+0100
slug: "post-visualisation"
syndication:
- text: IndieNews
url: https://news.indieweb.org/en
- text: /en/indieweb
url: https://indieweb.xyz/en/indieweb
---
For a while now I've been looking at getting some insight into how often I post content to this site for two reasons - purely for interest, and to watch how it changes over time.
With this post, you can now go over to [/post-frequency/](/post-frequency/) to see the latest graphical breakdown of my posting content - I'd recommend it to know what's actually being talked about!
To generate these charts, I've created a Hugo template that generates a set of counts for each of the content types that I regularly publish (i.e. ignoring static content like events or talks), which is then rendered by [Chart.JS](https://www.chartjs.org/) as a line chart.
Some interesting pieces of data I've gleaned from the stats as they currently sit:
- I post more content either early evening or just before bed
- I seemingly post a lot on the 7th of the month, but not much on the 8th, 21st or 27th
- Thursdays and Sundays are my most popular days
- March is my most productive month of content - most likely because I usually take a week's holiday over my birthday, so I end up writing a lot while I'm off
I'm looking forward to keep an eye on the way that my content publishing changes over time, i.e. with the use of [Micropub](https://indieweb.org/micropub) for posting from anywhere.
---
posts:
- https://www.jvt.me/posts/2019/07/09/post-visualisation/
- https://www.jvt.me/posts/2019/07/07/four-months-gousto/
- https://www.jvt.me/posts/2019/07/07/2019-tyk-community-awards/
- https://www.jvt.me/posts/2019/07/01/dddem-speaker-workshop/
......
Subproject commit 00382748331b20d04b4f53638c72fd55326dde08
Subproject commit a67295324da8506fb9efd583d5819b3d79c27a64
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment