summaryrefslogtreecommitdiff
path: root/docs/posts/2021-06-25-Blog2Twitter-P1.html
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2024-03-26 23:38:14 -0600
committerNavan Chauhan <navanchauhan@gmail.com>2024-03-26 23:38:14 -0600
commitf6d2141a480dd6b5b8ee0e48d43bb64773232791 (patch)
tree2c1debfc78746324b9e38be0bf4796b7a84a6348 /docs/posts/2021-06-25-Blog2Twitter-P1.html
parentaae00025bd8bff04de90b22b2472aed8a232f476 (diff)
add header ids
Diffstat (limited to 'docs/posts/2021-06-25-Blog2Twitter-P1.html')
-rw-r--r--docs/posts/2021-06-25-Blog2Twitter-P1.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/posts/2021-06-25-Blog2Twitter-P1.html b/docs/posts/2021-06-25-Blog2Twitter-P1.html
index 94836b7..ba12406 100644
--- a/docs/posts/2021-06-25-Blog2Twitter-P1.html
+++ b/docs/posts/2021-06-25-Blog2Twitter-P1.html
@@ -6,13 +6,13 @@
<link rel="stylesheet" href="/assets/main.css" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Posting Blog Posts as Twitter Threads Part 1/n</title>
+ <title>id="posting-blog-posts-as-twitter-threads-part-1n">Posting Blog Posts as Twitter Threads Part 1/n</title>
<meta name="og:site_name" content="Navan Chauhan" />
<link rel="canonical" href="https://web.navan.dev/posts/2021-06-25-Blog2Twitter-P1.html" />
<meta name="twitter:url" content="https://web.navan.dev/posts/2021-06-25-Blog2Twitter-P1.html />
<meta name="og:url" content="https://web.navan.dev/posts/2021-06-25-Blog2Twitter-P1.html" />
- <meta name="twitter:title" content="Posting Blog Posts as Twitter Threads Part 1/n" />
- <meta name="og:title" content="Posting Blog Posts as Twitter Threads Part 1/n" />
+ <meta name="twitter:title" content="id="posting-blog-posts-as-twitter-threads-part-1n">Posting Blog Posts as Twitter Threads Part 1/n" />
+ <meta name="og:title" content="id="posting-blog-posts-as-twitter-threads-part-1n">Posting Blog Posts as Twitter Threads Part 1/n" />
<meta name="description" content="Converting Posts to Twitter Threads" />
<meta name="twitter:description" content="Converting Posts to Twitter Threads" />
<meta name="og:description" content="Converting Posts to Twitter Threads" />
@@ -44,17 +44,17 @@
<main>
- <h1>Posting Blog Posts as Twitter Threads Part 1/n</h1>
+ <h1 id="posting-blog-posts-as-twitter-threads-part-1n">Posting Blog Posts as Twitter Threads Part 1/n</h1>
<p>Why? Eh, no good reason, but should be fun.</p>
-<h2>Plan of Action</h2>
+<h2 id="plan-of-action">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 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>
+<h2 id="time-to-code">Time to Code</h2>
<p>First, the dependency: tweepy for tweeting.</p>
@@ -136,13 +136,13 @@ I am not handling lists or images right now.</p>
</code></pre>
</div>
-<h2>Result</h2>
+<h2 id="result">Result</h2>
<p><blockquote class="twitter-tweet" data-dnt="true" data-theme="dark"><p lang="en" dir="ltr">Posting Blog Posts as Twitter Threads Part 1/n <br><br> Why? Eh, no good reason, but should be fun. <br> Plan of Action <br><br> I recently shifted my website to a static site generator I wrote specifically for myself. 1/5</p>&mdash; Navan Chauhan (@navanchauhan) <a rel="noopener" target="_blank" href="https://twitter.com/navanchauhan/status/1408165730487443456?ref_src=twsrc%5Etfw">June 24, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script></p>
<p><blockquote class="twitter-tweet" data-lang="en" data-dnt="true" data-theme="dark"><p lang="en" dir="ltr">Web Version: <a rel="noopener" target="_blank" href="https://t.co/zROU1F5DYv">https://t.co/zROU1F5DYv</a></p>&mdash; Navan Chauhan (@navanchauhan) <a rel="noopener" target="_blank" href="https://twitter.com/navanchauhan/status/1408168879617052674?ref_src=twsrc%5Etfw">June 24, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script></p>
-<h2>What's Next?</h2>
+<h2 id="whats-next">What's Next?</h2>
<p>For the next part, I will try to append the code as well.
I actually added the code to this post after running the program.</p>