mirror of
https://github.com/Brandon-Rozek/website-toots.git
synced 2025-07-27 18:09:53 +00:00
New/Modified Toots
This commit is contained in:
parent
ce6530378a
commit
a43cef86ad
9 changed files with 9 additions and 9 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
{"account":{"acct":"brozek","avatar":"https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg","display_name":"Brandon Rozek","header":"https://fosstodon.org/headers/original/missing.png","hide_collections":false,"id":"108219415927856966","indexable":false,"uri":"https://fosstodon.org/users/brozek","url":"https://fosstodon.org/@brozek","username":"brozek"},"application":null,"card":{"author_name":"Brandon Rozek","author_url":"https://brandonrozek.com/","authors":[{"account":null,"name":"Brandon Rozek","url":"https://brandonrozek.com/"}],"blurhash":null,"description":"In the spirit of syndicating Mastodon toots to my own site, I wrote a Python script that turns toots into Hugo markdown files.\nIn this post we’ll go over:\n Mastodon API Reformatting toot Creating the Markdown files Conclusion Mastodon API Before we can retrieve our toots, we need to know what user id of our account. James Cahill wrote a very clean web tool to grab your user id.","embed_url":"","height":0,"html":"","image":null,"image_description":"","language":null,"provider_name":"","provider_url":"","published_at":null,"title":"Archiving Toots","type":"link","url":"https://brandonrozek.com/blog/archiving-toots/","width":0},"content":"<p>I give a more informal account of how I archive my toots onto my <a href=\"https://fosstodon.org/tags/Hugo\" class=\"mention hashtag\" rel=\"tag\">#<span>Hugo</span></a> blog. </p><p><a href=\"https://brandonrozek.com/blog/archiving-toots/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">brandonrozek.com/blog/archivin</span><span class=\"invisible\">g-toots/</span></a></p><p>My Python script which creates the Hugo files:</p><p><a href=\"https://github.com/Brandon-Rozek/website/blob/095622e242ae98a0e6686dd2ad0c304a58d8a677/refreshtoots_v2.py\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/Brandon-Rozek/websi</span><span class=\"invisible\">te/blob/095622e242ae98a0e6686dd2ad0c304a58d8a677/refreshtoots_v2.py</span></a></p>","date":"2022-05-21T04:43:11.481Z","edited_at":null,"emojis":[],"favourites_count":3,"id":"108338098436219348","in_reply_to_account_id":null,"in_reply_to_id":null,"language":"en","media_attachments":[],"mentions":[],"poll":null,"reblog":null,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","syndication":"https://fosstodon.org/@brozek/108338098436219348","tags":[{"name":"hugo","url":"https://fosstodon.org/tags/hugo"}],"visibility":"public"}
|
||||
{"account":{"acct":"brozek","avatar":"https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg","display_name":"Brandon Rozek","header":"https://fosstodon.org/headers/original/missing.png","hide_collections":false,"id":"108219415927856966","indexable":false,"uri":"https://fosstodon.org/users/brozek","url":"https://fosstodon.org/@brozek","username":"brozek"},"application":null,"card":{"author_name":"Brandon Rozek","author_url":"https://brandonrozek.com/","authors":[{"account":null,"name":"Brandon Rozek","url":"https://brandonrozek.com/"}],"blurhash":null,"description":"In the spirit of syndicating Mastodon toots to my own site, I wrote a Python script that turns toots into Hugo markdown files.\nIn this post we’ll go over:\n Mastodon API Reformatting toot Creating the Markdown files Conclusion Mastodon API Before we can retrieve our toots, we need to know what user id of our account. James Cahill wrote a very clean web tool to grab your user id.","embed_url":"","height":0,"html":"","image":null,"image_description":"","language":null,"provider_name":"","provider_url":"","published_at":null,"title":"Archiving Toots","type":"link","url":"https://brandonrozek.com/blog/archiving-toots/","width":0},"content":"<p>I give a more informal account of how I archive my toots onto my <a href=\"https://fosstodon.org/tags/Hugo\" class=\"mention hashtag\" rel=\"tag\">#<span>Hugo</span></a> blog. </p><p><a href=\"https://brandonrozek.com/blog/archiving-toots/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">brandonrozek.com/blog/archivin</span><span class=\"invisible\">g-toots/</span></a></p><p>My Python script which creates the Hugo files:</p><p><a href=\"https://github.com/Brandon-Rozek/website/blob/095622e242ae98a0e6686dd2ad0c304a58d8a677/refreshtoots_v2.py\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/Brandon-Rozek/websi</span><span class=\"invisible\">te/blob/095622e242ae98a0e6686dd2ad0c304a58d8a677/refreshtoots_v2.py</span></a></p>","date":"2022-05-21T04:43:11.481Z","edited_at":null,"emojis":[],"favourites_count":2,"id":"108338098436219348","in_reply_to_account_id":null,"in_reply_to_id":null,"language":"en","media_attachments":[],"mentions":[],"poll":null,"reblog":null,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","syndication":"https://fosstodon.org/@brozek/108338098436219348","tags":[{"name":"hugo","url":"https://fosstodon.org/tags/hugo"}],"visibility":"public"}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue