Skip to main content

Micropub Reader for Pelican

A pelican plugin for reading json-formatted micropub entries, like the ones produced from micropub-git-server.

The micropub-git-server will commit plain, minimally processed JSON files, representing micropub entries, into a configured location of your choice. If that configured location is part of a pelican content folder, then you can use this plugin to display those entries in a pelican blog.

Background

A micropub server allows users to post content on their own website by means of an associated micropub client, and forms one part of the IndieWeb ecosystem, a decentralized alternative to corporate social networks, based on open standards, where users post and control their own content.

Micropub is based heavily on the idea of microformats - little pieces of metadata sprinkled in an HTML document that give some clues as to what the content is supposed to represent. Examples of different types of content include:

  • h-entry - an authored bit of online content, like a blog post, tweet, comment or reply.
  • h-event - a calendar event
  • h-card - contact information about a person

Please consult the wiki for information on the IndieWeb and how to join.

Article Types and Category

The h-entry type is by far the most common type of content, and the only one that pelican-micropub supports at this time. The IndieWeb community defines several different types of h-entry:

The pelican micropub plugin will identify the type of h-entry and assign the pelican article to a category based on the classification. This means that if you are using the concept of categories for some other form of classification, then this plugin will not work for you out of the box.

By way of advice, I have found that categories, as a general classification scheme, are really only useful when applied to blog entries, or what the IndieWeb community calls articles; the whole point of things like notes and likes is that they are meant to be quick, one off pieces of content, and categorizing them tends to get in the way of that.

For categorizing pelican articles within each category, I have found the subcategory plugin useful.

Release files for pelican-micropub 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pelican-micropub 0.1.0
File Size Uploaded
pelican-micropub-0.1.0.tar.gz 9.2 kB Details

Release files / pelican-micropub-0.1.0.tar.gz

Download URL pelican-micropub-0.1.0.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
453804d31ac544ea3d7af66d4dcea70ff6ed590ef9bf9705d28ac553683f9d33
BLAKE2b-256 checksum
How to use checksums
d0bd2902435356f667ad818363fd25f43380b726603e4e523b9737d7ea14fe86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page