<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Tips &amp;mdash; Paul Sutton</title>
    <link>https://personaljournal.ca/paulsutton/tag:Tips</link>
    <description>Personal Blog</description>
    <pubDate>Tue, 05 May 2026 16:29:29 +0000</pubDate>
    <item>
      <title>Embedding Mastodon Posts</title>
      <link>https://personaljournal.ca/paulsutton/embedding-mastodon-posts-dq0s</link>
      <description>&lt;![CDATA[Embedding Mastodon Posts&#xA;&#xA;By default.  When you embed a post from mastodon in to a WriteAs blog the default width is 400.&#xA;&#xA;I am going to use the embed from my previous post as an example&#xA;&#xA;iframe src=&#34;https://mindly.social/@erinwhalen/109672470870988630/embed&#34; class=&#34;mastodon-embed&#34; style=&#34;max-width: 100%; border: 0&#34; width=&#34;400&#34; allowfullscreen=&#34;allowfullscreen&#34;/iframe&#xA;&#xA;iframe src=&#34;https://mindly.social/@erinwhalen/109672470870988630/embed&#34; class=&#34;mastodon-embed&#34; style=&#34;max-width: 100%; border: 0&#34; width=&#34;400&#34; allowfullscreen=&#34;allowfullscreen&#34;/iframe&#xA;&#xA;Changing the width to 600 results in, as you would expect a wider post which fits really nicely.&#xA;&#xA;iframe src=&#34;https://mindly.social/@erinwhalen/109672470870988630/embed&#34; class=&#34;mastodon-embed&#34; style=&#34;max-width: 100%; border: 0&#34; width=&#34;600&#34; allowfullscreen=&#34;allowfullscreen&#34;/iframe&#xA;iframe src=&#34;https://mindly.social/@erinwhalen/109672470870988630/embed&#34; class=&#34;mastodon-embed&#34; style=&#34;max-width: 100%; border: 0&#34; width=&#34;600&#34; allowfullscreen=&#34;allowfullscreen&#34;/iframe&#xA;&#xA;We can go further and add a height element too.&#xA;&#xA;iframe src=&#34;https://mindly.social/@erinwhalen/109672470870988630/embed&#34; class=&#34;mastodon-embed&#34; style=&#34;max-width: 100%; border: 0&#34; width=&#34;600&#34; height=&#34;600&#34; allowfullscreen=&#34;allowfullscreen&#34;/iframe&#xA;&#xA;Which allows more of the post to be displayed.&#xA;&#xA;iframe src=&#34;https://mindly.social/@erinwhalen/109672470870988630/embed&#34; class=&#34;mastodon-embed&#34; style=&#34;max-width: 100%; border: 0&#34; width=&#34;600&#34; height=&#34;600&#34; allowfullscreen=&#34;allowfullscreen&#34;/iframe&#xA;&#xA;This can, and should be adjusted for better fit, depending on size of the post being embedded.&#xA;&#xA;Hope this is useful to people. &#xA;&#xA;Tags&#xA;&#xA;#Fediverse,#Mastodon,#WriteAs,#Embed,#Tips&#xA;&#xA;hr&#xD;&#xA;&#xD;&#xA;table&#xD;&#xA;thead&#xD;&#xA;trtda rel=&#34;me&#34; href=&#34;https://qoto.org/@zleap&#34;Mastodon/a/td&#xD;&#xA;tda href=&#34;https://wiki.ircnow.org/?n=Shelllabs.Intro&#34;ShellLabs/td&#xD;&#xA;tda href=&#34;https://joinmastodon.org/&#34;Join Mastodon/a/td/tr/thead/table&#xD;&#xA;center&#xD;&#xA;AI statement : b 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. /b&#xD;&#xA;/center&#xD;&#xA;&#xD;&#xA;a href=&#34;https://liberapay.com/PaulSutton/donate&#34;img alt=&#34;Donate using Liberapay&#34; src=&#34;https://liberapay.com/assets/widgets/donate.svg&#34;/a&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>Embedding Mastodon Posts</p>

<p>By default.  When you embed a post from mastodon in to a WriteAs blog the default width is 400.</p>

<p>I am going to use the embed from my previous post as an example</p>

<pre><code>&lt;iframe src=&#34;https://mindly.social/@erinwhalen/109672470870988630/embed&#34; class=&#34;mastodon-embed&#34; style=&#34;max-width: 100%; border: 0&#34; width=&#34;400&#34; allowfullscreen=&#34;allowfullscreen&#34;&gt;&lt;/iframe&gt;
</code></pre>

<iframe src="https://mindly.social/@erinwhalen/109672470870988630/embed" class="mastodon-embed" style="max-width: 100%; border: 0" width="400" allowfullscreen="allowfullscreen"></iframe>

<p>Changing the width to 600 results in, as you would expect a wider post which fits really nicely.</p>

<pre><code>&lt;iframe src=&#34;https://mindly.social/@erinwhalen/109672470870988630/embed&#34; class=&#34;mastodon-embed&#34; style=&#34;max-width: 100%; border: 0&#34; width=&#34;600&#34; allowfullscreen=&#34;allowfullscreen&#34;&gt;&lt;/iframe&gt;
</code></pre>

<iframe src="https://mindly.social/@erinwhalen/109672470870988630/embed" class="mastodon-embed" style="max-width: 100%; border: 0" width="600" allowfullscreen="allowfullscreen"></iframe>

<p>We can go further and add a height element too.</p>

<pre><code>&lt;iframe src=&#34;https://mindly.social/@erinwhalen/109672470870988630/embed&#34; class=&#34;mastodon-embed&#34; style=&#34;max-width: 100%; border: 0&#34; width=&#34;600&#34; height=&#34;600&#34; allowfullscreen=&#34;allowfullscreen&#34;&gt;&lt;/iframe&gt;
</code></pre>

<p>Which allows more of the post to be displayed.</p>

<iframe src="https://mindly.social/@erinwhalen/109672470870988630/embed" class="mastodon-embed" style="max-width: 100%; border: 0" width="600" height="600" allowfullscreen="allowfullscreen"></iframe>

<p>This can, and should be adjusted for better fit, depending on size of the post being embedded.</p>

<p>Hope this is useful to people.</p>

<p><strong>Tags</strong></p>

<p><a href="/paulsutton/tag:Fediverse" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Fediverse</span></a>,<a href="/paulsutton/tag:Mastodon" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Mastodon</span></a>,<a href="/paulsutton/tag:WriteAs" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">WriteAs</span></a>,<a href="/paulsutton/tag:Embed" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Embed</span></a>,<a href="/paulsutton/tag:Tips" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Tips</span></a></p>

<hr>

<p><table>
<thead>
<tr><td><a href="https://qoto.org/@zleap" rel="nofollow">Mastodon</a></td>
<td><a href="https://wiki.ircnow.org/?n=Shelllabs.Intro" rel="nofollow">ShellLabs</td>
<td><a href="https://joinmastodon.org/" rel="nofollow">Join Mastodon</a></td></tr></thead></table>

AI statement : <b> 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. </b>
</p>

<p><a href="https://liberapay.com/PaulSutton/donate" rel="nofollow"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></p>
]]></content:encoded>
      <guid>https://personaljournal.ca/paulsutton/embedding-mastodon-posts-dq0s</guid>
      <pubDate>Tue, 17 Jan 2023 07:30:00 +0000</pubDate>
    </item>
    <item>
      <title>Mastodon toot client</title>
      <link>https://personaljournal.ca/paulsutton/mastodon-toot-client</link>
      <description>&lt;![CDATA[Mastodon toot client&#xA;&#xA;Tip of the day&#xA;&#xA;if using the toot command line client, you can toot the contents of a file.&#xA;&#xA;Lets say &#39;text.txt&#39; contains the following&#xA;&#xA;Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam&#xA;&#xA;If you login to toot, then type&#xA;&#xA;toot post &lt; text.txt then the contents of that file will be posted to Mastodon.&#xA;&#xA;Please feel free to follow me on Mastodon here&#xA;&#xA;#mastodon,#toot,#tips,#hints,#commandline,#cli,#client,&#xA;text,&#xA;&#xA;hr&#xD;&#xA;&#xD;&#xA;table&#xD;&#xA;thead&#xD;&#xA;trtda rel=&#34;me&#34; href=&#34;https://qoto.org/@zleap&#34;Mastodon/a/td&#xD;&#xA;tda href=&#34;https://wiki.ircnow.org/?n=Shelllabs.Intro&#34;ShellLabs/td&#xD;&#xA;tda href=&#34;https://joinmastodon.org/&#34;Join Mastodon/a/td/tr/thead/table&#xD;&#xA;center&#xD;&#xA;AI statement : b 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. /b&#xD;&#xA;/center&#xD;&#xA;&#xD;&#xA;a href=&#34;https://liberapay.com/PaulSutton/donate&#34;img alt=&#34;Donate using Liberapay&#34; src=&#34;https://liberapay.com/assets/widgets/donate.svg&#34;/a&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>Mastodon toot client</p>

<p>Tip of the day</p>

<p>if using the toot command line client, you can toot the contents of a file.</p>

<p>Lets say &#39;text.txt&#39; contains the following</p>

<pre><code>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
</code></pre>

<p>If you login to toot, then type</p>

<p>toot post &lt; text.txt then the contents of that file will be posted to Mastodon.</p>

<p>Please feel free to follow me on Mastodon <a href="https://qoto.org/@zleap" rel="nofollow">here</a></p>

<p><a href="/paulsutton/tag:mastodon" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">mastodon</span></a>,<a href="/paulsutton/tag:toot" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">toot</span></a>,<a href="/paulsutton/tag:tips" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">tips</span></a>,<a href="/paulsutton/tag:hints" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">hints</span></a>,<a href="/paulsutton/tag:commandline" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">commandline</span></a>,<a href="/paulsutton/tag:cli" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">cli</span></a>,<a href="/paulsutton/tag:client" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">client</span></a>,
<a href="/paulsutton/tag:text" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">text</span></a>,</p>

<hr>

<p><table>
<thead>
<tr><td><a href="https://qoto.org/@zleap" rel="nofollow">Mastodon</a></td>
<td><a href="https://wiki.ircnow.org/?n=Shelllabs.Intro" rel="nofollow">ShellLabs</td>
<td><a href="https://joinmastodon.org/" rel="nofollow">Join Mastodon</a></td></tr></thead></table>

AI statement : <b> 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. </b>
</p>

<p><a href="https://liberapay.com/PaulSutton/donate" rel="nofollow"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></p>
]]></content:encoded>
      <guid>https://personaljournal.ca/paulsutton/mastodon-toot-client</guid>
      <pubDate>Sat, 26 Dec 2020 22:14:22 +0000</pubDate>
    </item>
    <item>
      <title>Security and Privacy</title>
      <link>https://personaljournal.ca/paulsutton/security-and-privacy</link>
      <description>&lt;![CDATA[Security and Privacy&#xA;&#xA;The Electronic Frontier Foundation have produced a range of guides to help people with privacy and security. &#xA;&#xA;ssd&#xA;&#xA;Surveillance Self-Defense &#xA;&#xA;Tips, Tools and How-tos for Safer Online Communications&#xA;&#xA;Links&#xA;&#xA;Surveillance Self-Defense &#xA;Electronic Frontier Foundation&#xA;Thunderbird Mail Client OpenGPG&#xA;   OpenGPG&#xA;GNUPG- Gnu Privacy Guard&#xA;&#xA;Fediverse information - decentralised social media&#xA;&#xA;#eff,#tips,#privacy,#security,pgp&#xA;&#xA;hr&#xD;&#xA;&#xD;&#xA;table&#xD;&#xA;thead&#xD;&#xA;trtda rel=&#34;me&#34; href=&#34;https://qoto.org/@zleap&#34;Mastodon/a/td&#xD;&#xA;tda href=&#34;https://wiki.ircnow.org/?n=Shelllabs.Intro&#34;ShellLabs/td&#xD;&#xA;tda href=&#34;https://joinmastodon.org/&#34;Join Mastodon/a/td/tr/thead/table&#xD;&#xA;center&#xD;&#xA;AI statement : b 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. /b&#xD;&#xA;/center&#xD;&#xA;&#xD;&#xA;a href=&#34;https://liberapay.com/PaulSutton/donate&#34;img alt=&#34;Donate using Liberapay&#34; src=&#34;https://liberapay.com/assets/widgets/donate.svg&#34;/a&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>Security and Privacy</p>

<p>The Electronic Frontier Foundation have produced a range of guides to help people with privacy and security.</p>

<p><img src="https://ssd.eff.org/sites/all/themes/ssd/logo.png" alt="ssd"></p>
<ul><li><a href="https://ssd.eff.org/en" rel="nofollow">Surveillance Self-Defense</a></li></ul>

<p>Tips, Tools and How-tos for Safer Online Communications</p>

<p><strong>Links</strong></p>
<ul><li><a href="https://ssd.eff.org/en" rel="nofollow">Surveillance Self-Defense</a></li>
<li><a href="https://www.eff.org/" rel="nofollow">Electronic Frontier Foundation</a></li>
<li><a href="https://www.thunderbird.net/en-GB/" rel="nofollow">Thunderbird Mail Client OpenGPG</a>
<ul><li><a href="https://www.openpgp.org/" rel="nofollow">OpenGPG</a></li></ul></li>

<li><p><a href="https://gnupg.org/" rel="nofollow">GNUPG- Gnu Privacy Guard</a></p></li>

<li><p><a href="https://fediverse.party/" rel="nofollow">Fediverse information – decentralised social media</a></p></li></ul>

<p><a href="/paulsutton/tag:eff" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">eff</span></a>,<a href="/paulsutton/tag:tips" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">tips</span></a>,<a href="/paulsutton/tag:privacy" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">privacy</span></a>,<a href="/paulsutton/tag:security" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">security</span></a>,pgp</p>

<hr>

<p><table>
<thead>
<tr><td><a href="https://qoto.org/@zleap" rel="nofollow">Mastodon</a></td>
<td><a href="https://wiki.ircnow.org/?n=Shelllabs.Intro" rel="nofollow">ShellLabs</td>
<td><a href="https://joinmastodon.org/" rel="nofollow">Join Mastodon</a></td></tr></thead></table>

AI statement : <b> 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. </b>
</p>

<p><a href="https://liberapay.com/PaulSutton/donate" rel="nofollow"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></p>
]]></content:encoded>
      <guid>https://personaljournal.ca/paulsutton/security-and-privacy</guid>
      <pubDate>Sat, 05 Dec 2020 08:47:18 +0000</pubDate>
    </item>
  </channel>
</rss>