$❯ CrowderSoup

A website about programming, technology, and life.

Tag: python

Adding H-Card Support to django-blog

by Aaron Crowder on

I just merged PR #21 into django-blog, adding first-class h-card support across the app. This is part of my slow march toward more semantic, IndieWeb-friendly markup without bolting on heavy third-party tooling. This change is mostly invisible from a UI perspective, but it adds a lot of structure under the hood. What’s an H-Card? An h-card is a microformat for representing a person or organization in HTML. Think of it as a lightweight, standards-based alternative to things like JSON-LD for b...

Read more...

Basic Analytics in a Django App

by Aaron Crowder on

I recently started my journey of rebuilding this blog using Django. It's a learning experience for me, with the side benefit of nudging me to write more. Something I wanted to add was some super basic analytics to help make sure this site is actually being used by someone other than me. I wanted to see things like a (somewhat naive) count of unique visitors, total page views, where requests were coming from (both referrer and geographically), and response codes (mostly so I can find 404s). Th...

Read more...