Embedding Mastodon Posts
By default. When you embed a post from mastodon in to a WriteAs blog the default width is 400.
I am going to use the embed from my previous post as an example
<iframe src="https://mindly.social/@erinwhalen/109672470870988630/embed" class="mastodon-embed" style="max-width: 100%; border: 0" width="400" allowfullscreen="allowfullscreen"></iframe>
Changing the width to 600 results in, as you would expect a wider post which fits really nicely.
<iframe src="https://mindly.social/@erinwhalen/109672470870988630/embed" class="mastodon-embed" style="max-width: 100%; border: 0" width="600" allowfullscreen="allowfullscreen"></iframe>
We can go further and add a height element too.
<iframe src="https://mindly.social/@erinwhalen/109672470870988630/embed" class="mastodon-embed" style="max-width: 100%; border: 0" width="600" height="600" allowfullscreen="allowfullscreen"></iframe>
Which allows more of the post to be displayed.
This can, and should be adjusted for better fit, depending on size of the post being embedded.
Hope this is useful to people.
Tags
#Fediverse,#Mastodon,#WriteAs,#Embed,#Tips
AI statement :
Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Mastodon toot client
Tip of the day
if using the toot command line client, you can toot the contents of a file.
Lets say 'text.txt' contains the following
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
If you login to toot, then type
toot post < text.txt then the contents of that file will be posted to Mastodon.
Please feel free to follow me on Mastodon here
#mastodon,#toot,#tips,#hints,#commandline,#cli,#client,
#text,
AI statement :
Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Security and Privacy
The Electronic Frontier Foundation have produced a range of guides to help people with privacy and security.

Tips, Tools and How-tos for Safer Online Communications
Links
#eff,#tips,#privacy,#security,pgp
AI statement :
Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.
