Render Engine Microblog Parser
This is a parser to create a microblog using Render Engine. This is based on the Blog Custom Collection.
This follows the guidance used by Micro.blog which is to be a post with no title. Slugs by default are the slugified datetime string in YYYYMMDDHHMMSS format.
This also create an RSS feed that you can use to syndicate your microblog posts to other services.
Your content is expected to use render engine's MarkdownPageParser or a derivative which is markdown with frontmatter. A date field is the only required metadata for the page object.
---
date: 2023-01-01 12:00:00
---
Hello **World**!
Installation
Install using pypi. If you haven't already, install render-engine
pip install render-engine render-engine-microblog
Usage
Import the parser and collection
In your render_engine config file import the MicroBlog collection class.
from render_engine import Site
from render_engine_microblog import MicroBlog
Create a collection for your site
Create your collection like you would a blog. You will need to pass a content_path.
site = Site()
@site.collection
class MicroBlog(MicroBlog):
content_path = "content/microblog"
Metadata
Release files for render-engine-microblog 2024.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| render_engine_microblog-2024.1.1.tar.gz | 46.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| render_engine_microblog-2024.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.0 kB
Release files / render_engine_microblog-2024.1.1.tar.gz
| Download URL | render_engine_microblog-2024.1.1.tar.gz |
|---|---|
| Size | 46.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b15e522d503c38110b940d67636ea22e94dd1248579fae3b0bfabfdc7aeff14a
|
|
BLAKE2b-256 checksum How to use checksums |
26578d84738a167d59474dbae10047c679db15f240c6b73a5fdf854a133fd5ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|
Release files / render_engine_microblog-2024.1.1-py3-none-any.whl
| Download URL | render_engine_microblog-2024.1.1-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
133301bb96fbeee0add14f6239c276ac1ad6dc3899942360ed736796f7c44d18
|
|
BLAKE2b-256 checksum How to use checksums |
476103da9c2d6eaa0a57ace079470b06a7ac3edbb6c6b82b37095058400bc699
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|
Security for render-engine-microblog 2024.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.