diff --git a/108331903834519586.md b/108331903834519586.md index 9bec9d8..81a2857 100644 --- a/108331903834519586.md +++ b/108331903834519586.md @@ -1,5 +1,5 @@ --- -{"id": "108331903834519586", "in_reply_to_id": null, "in_reply_to_account_id": null, "sensitive": false, "spoiler_text": "", "visibility": "public", "language": "en", "replies_count": 2, "reblogs_count": 4, "favourites_count": 12, "edited_at": null, "reblog": null, "application": null, "account": {"id": "108219415927856966", "username": "brozek", "acct": "brozek", "display_name": "Brandon Rozek", "url": "https://fosstodon.org/@brozek", "avatar": "https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg", "avatar_static": "https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg", "header": "https://fosstodon.org/headers/original/missing.png", "header_static": "https://fosstodon.org/headers/original/missing.png", "noindex": true}, "media_attachments": [{"id": "108331891390627140", "type": "image", "url": "https://cdn.fosstodon.org/media_attachments/files/108/331/891/390/627/140/original/f6dbc1951370ca24.png", "preview_url": "https://cdn.fosstodon.org/media_attachments/files/108/331/891/390/627/140/small/f6dbc1951370ca24.png", "remote_url": null, "preview_remote_url": null, "text_url": null, "meta": {"focus": {"x": -1.0, "y": 0.77}, "original": {"width": 824, "height": 181, "size": "824x181", "aspect": 4.552486187845304}, "small": {"width": 824, "height": 181, "size": "824x181", "aspect": 4.552486187845304}}, "description": "A toot where I thanked someone sharing a Lunar Eclipse photo.", "blurhash": "U6QvtJ00IUD%-;IUDiRj-;xut7t7tR-;-;t7"}], "mentions": [], "tags": [{"name": "hugo", "url": "https://fosstodon.org/tags/hugo"}], "emojis": [], "card": {"url": "https://brandonrozek.com/toots/", "title": "Toots", "description": "Brandon's Toots from Mastodon", "type": "link", "author_name": "", "author_url": "", "provider_name": "", "provider_url": "", "html": "", "width": 0, "height": 0, "image": null, "embed_url": "", "blurhash": null}, "poll": null, "syndication": "https://fosstodon.org/@brozek/108331903834519586", "date": "2022-05-20T02:27:49.362Z"} +{"id": "108331903834519586", "in_reply_to_id": null, "in_reply_to_account_id": null, "sensitive": false, "spoiler_text": "", "visibility": "public", "language": "en", "replies_count": 2, "reblogs_count": 4, "favourites_count": 11, "edited_at": null, "reblog": null, "application": null, "account": {"id": "108219415927856966", "username": "brozek", "acct": "brozek", "display_name": "Brandon Rozek", "url": "https://fosstodon.org/@brozek", "avatar": "https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg", "avatar_static": "https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg", "header": "https://fosstodon.org/headers/original/missing.png", "header_static": "https://fosstodon.org/headers/original/missing.png", "noindex": true}, "media_attachments": [{"id": "108331891390627140", "type": "image", "url": "https://cdn.fosstodon.org/media_attachments/files/108/331/891/390/627/140/original/f6dbc1951370ca24.png", "preview_url": "https://cdn.fosstodon.org/media_attachments/files/108/331/891/390/627/140/small/f6dbc1951370ca24.png", "remote_url": null, "preview_remote_url": null, "text_url": null, "meta": {"focus": {"x": -1.0, "y": 0.77}, "original": {"width": 824, "height": 181, "size": "824x181", "aspect": 4.552486187845304}, "small": {"width": 824, "height": 181, "size": "824x181", "aspect": 4.552486187845304}}, "description": "A toot where I thanked someone sharing a Lunar Eclipse photo.", "blurhash": "U6QvtJ00IUD%-;IUDiRj-;xut7t7tR-;-;t7"}], "mentions": [], "tags": [{"name": "hugo", "url": "https://fosstodon.org/tags/hugo"}], "emojis": [], "card": {"url": "https://brandonrozek.com/toots/", "title": "Toots", "description": "Brandon's Toots from Mastodon", "type": "link", "author_name": "", "author_url": "", "provider_name": "", "provider_url": "", "html": "", "width": 0, "height": 0, "image": null, "embed_url": "", "blurhash": null}, "poll": null, "syndication": "https://fosstodon.org/@brozek/108331903834519586", "date": "2022-05-20T02:27:49.362Z"} --- {{< unsafe >}}

I have been working on displaying toots from Mastodon on my website using . I don't support all of Mastodon's features like CWs or Boosts but I think this is a great start!

An archival page of all my toots:
brandonrozek.com/toots/

diff --git a/108336567995795980.md b/108336567995795980.md index 45fb73c..910de1b 100644 --- a/108336567995795980.md +++ b/108336567995795980.md @@ -1,5 +1,5 @@ --- -{"id": "108336567995795980", "in_reply_to_id": null, "in_reply_to_account_id": null, "sensitive": false, "spoiler_text": "", "visibility": "public", "language": "en", "replies_count": 1, "reblogs_count": 3, "favourites_count": 5, "edited_at": null, "reblog": null, "application": null, "account": {"id": "108219415927856966", "username": "brozek", "acct": "brozek", "display_name": "Brandon Rozek", "url": "https://fosstodon.org/@brozek", "avatar": "https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg", "avatar_static": "https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg", "header": "https://fosstodon.org/headers/original/missing.png", "header_static": "https://fosstodon.org/headers/original/missing.png", "noindex": true}, "media_attachments": [], "mentions": [], "tags": [{"name": "hugo", "url": "https://fosstodon.org/tags/hugo"}], "emojis": [], "card": {"url": "https://brandonrozek.com/blog/displaying-a-toot-hugo/", "title": "Displaying a Toot in Hugo", "description": "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.\nExample toot:\nBrandon Rozek Tooted on May 20, 2022 15:09", "type": "link", "author_name": "Brandon Rozek", "author_url": "https://brandonrozek.com/", "provider_name": "", "provider_url": "", "html": "", "width": 0, "height": 0, "image": null, "embed_url": "", "blurhash": null}, "poll": null, "syndication": "https://fosstodon.org/@brozek/108336567995795980", "date": "2022-05-20T22:13:58.812Z"} +{"id": "108336567995795980", "in_reply_to_id": null, "in_reply_to_account_id": null, "sensitive": false, "spoiler_text": "", "visibility": "public", "language": "en", "replies_count": 1, "reblogs_count": 3, "favourites_count": 4, "edited_at": null, "reblog": null, "application": null, "account": {"id": "108219415927856966", "username": "brozek", "acct": "brozek", "display_name": "Brandon Rozek", "url": "https://fosstodon.org/@brozek", "avatar": "https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg", "avatar_static": "https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg", "header": "https://fosstodon.org/headers/original/missing.png", "header_static": "https://fosstodon.org/headers/original/missing.png", "noindex": true}, "media_attachments": [], "mentions": [], "tags": [{"name": "hugo", "url": "https://fosstodon.org/tags/hugo"}], "emojis": [], "card": {"url": "https://brandonrozek.com/blog/displaying-a-toot-hugo/", "title": "Displaying a Toot in Hugo", "description": "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.\nExample toot:\nBrandon Rozek Tooted on May 20, 2022 15:09", "type": "link", "author_name": "Brandon Rozek", "author_url": "https://brandonrozek.com/", "provider_name": "", "provider_url": "", "html": "", "width": 0, "height": 0, "image": null, "embed_url": "", "blurhash": null}, "poll": null, "syndication": "https://fosstodon.org/@brozek/108336567995795980", "date": "2022-05-20T22:13:58.812Z"} --- {{< unsafe >}}

I wrote up a post on how I display a single toot using on my website.

brandonrozek.com/blog/displayi

This doesn't cover how I archive all my toots yet, that deserves a separate post :)