diff options
author | navanchauhan <navanchauhan@gmail.com> | 2021-06-25 02:36:02 +0530 |
---|---|---|
committer | navanchauhan <navanchauhan@gmail.com> | 2021-06-25 02:36:02 +0530 |
commit | 4531eed05877463fddb79fa35ff22160bd8f91a4 (patch) | |
tree | d281ccee8c8f52f785c9e65afc21b04022f49637 /docs/posts | |
parent | 8724e817bb88776e25567a638a0b8adb3c737ff0 (diff) |
fix spelling
Diffstat (limited to 'docs/posts')
-rw-r--r-- | docs/posts/2021-06-25-Blog2Twitter-P1.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/posts/2021-06-25-Blog2Twitter-P1.html b/docs/posts/2021-06-25-Blog2Twitter-P1.html index 7393f4b..e3d615f 100644 --- a/docs/posts/2021-06-25-Blog2Twitter-P1.html +++ b/docs/posts/2021-06-25-Blog2Twitter-P1.html @@ -28,7 +28,7 @@ <h2>Plan of Action</h2> <p>I recently shifted my website to a static site generator I wrote specifically for myself. -Thus, it should be easy to just add a feature into it to check for new posts, split the text into chunks for Twitter threads and post them on Twitter. +Thus, it should be easy to just add a feature to check for new posts, split the text into chunks for Twitter threads and tweet them. I am not handling lists or images right now.</p> <h2>Time to Code</h2> @@ -85,9 +85,9 @@ I am not handling lists or images right now.</p> <span class="n">tweets</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">line</span><span class="p">)</span> </code></pre></div> -<p>Every status update using tweepy has an id attached to it, for the next tweet in the thread, it add that ID while calling the function.</p> +<p>Every status update using tweepy has an id attached to it, for the next tweet in the thread, it adds that ID while calling the function.</p> -<p>For every tweet fragment, it also append 1/n.</p> +<p>For every tweet fragment, it also appends 1/n.</p> <div class="codehilite"><pre><span></span><code><span class="k">for</span> <span class="n">idx</span><span class="p">,</span> <span class="n">tweet</span> <span class="ow">in</span> <span class="nb">enumerate</span><span class="p">(</span><span class="n">tweets</span><span class="p">):</span> <span class="n">tweet</span> <span class="o">+=</span> <span class="s2">" </span><span class="si">{}</span><span class="s2">/</span><span class="si">{}</span><span class="s2">"</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">idx</span><span class="o">+</span><span class="mi">1</span><span class="p">,</span><span class="nb">len</span><span class="p">(</span><span class="n">tweets</span><span class="p">))</span> |