mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-10-09 22:41:13 +00:00
Medium Syndication Data
This commit is contained in:
parent
e8c9b33f2d
commit
79329aae66
13 changed files with 85 additions and 61 deletions
|
@ -1,10 +1,13 @@
|
|||
---
|
||||
title: "Displaying a Toot in Hugo"
|
||||
date: 2022-05-20T16:57:11-04:00
|
||||
date: 2022-05-20 16:57:11-04:00
|
||||
draft: false
|
||||
tags: ["Hugo", "Mastodon"]
|
||||
math: false
|
||||
medium_enabled: true
|
||||
medium_post_id: a10174e115a2
|
||||
tags:
|
||||
- Hugo
|
||||
- Mastodon
|
||||
title: Displaying a Toot in Hugo
|
||||
---
|
||||
|
||||
Mastodon for me is a nice friendly place and I enjoy participating in that community. With that, I want to be able to share the great toots out there in my own website as well as keep an archive of all the toots I made. This post will go over the code I wrote in Hugo to display a single toot into a blog post.
|
||||
|
@ -264,4 +267,4 @@ I wrote [a python script](https://github.com/Brandon-Rozek/website/blob/9947478c
|
|||
|
||||
## Conclusion
|
||||
|
||||
I'm happy to see that Mastodon doesn't make it difficult to query and parse data from their platform. Within one toot there are a lot of possibilities for its type. For example, it can be a reply, a boost, or include a content warning label. To quickly get the basics (which includes replies), I ignored many of the fields. I would like to come back to this in the future and explore how to design for the other cases as well.
|
||||
I'm happy to see that Mastodon doesn't make it difficult to query and parse data from their platform. Within one toot there are a lot of possibilities for its type. For example, it can be a reply, a boost, or include a content warning label. To quickly get the basics (which includes replies), I ignored many of the fields. I would like to come back to this in the future and explore how to design for the other cases as well.
|
Loading…
Add table
Add a link
Reference in a new issue