copy to website after generation in script

This commit is contained in:
Siddhartha 2023-12-23 09:56:59 +05:30
parent 956ae40e6a
commit 92ea928a8d
2 changed files with 24 additions and 22 deletions

View File

@ -2,3 +2,7 @@
# Select 3 random feeds from the list and generate an openring structure from them
./openring $(shuf -n 3 feeds.txt | xargs printf -- '-s %s ') < in.html > out.html
sleep 3
echo "Copying the generated html file to my blog directory..."
cp out.html ../siddhartha-golu-website/layouts/partials/openring.html

View File

@ -5,40 +5,38 @@
<div class="article">
<h4 class="title">
<a href="https://www.strangeloopcanon.com/p/innovation" target="_blank" rel="noopener">Innovation</a>
</h4>
<p class="summary">A data based look at how innovations came about through all of human history</p>
<small class="source">
via <a href="https://www.strangeloopcanon.com">Strange Loop Canon</a>
</small>
<small class="date">September 18, 2023</small>
</div>
<div class="article">
<h4 class="title">
<a href="https://fasterthanli.me/articles/cracking-electron-apps-open" target="_blank" rel="noopener">Cracking Electron apps open</a>
<a href="https://www.lilysthings.org/blog/discord-dialup/" target="_blank" rel="noopener">Dial-up over a Discord Call</a>
</h4>
<p class="summary">
I use the draw.io desktop app to
make diagrams for my website. I run it on an actual desktop, like Windows or
macOS, but the asset pipeline that converts .drawio files, to .pdf, to
.svg, and then to .svg again (but smaller) runs on Linux.
Comments
</p>
<small class="source">
via <a href="https://fasterthanli.me">fasterthanli.me</a>
via <a href="https://lobste.rs/">Lobsters</a>
</small>
<small class="date">July 3, 2023</small>
<small class="date">December 22, 2023</small>
</div>
<div class="article">
<h4 class="title">
<a href="http://feedproxy.google.com/~r/zenpencils/~3/j54gzBYaIjQ/" target="_blank" rel="noopener">UPDATE: Moving on, a new project and new challenge</a>
<a href="https://www.benkuhn.net/newmgr/" target="_blank" rel="noopener">Some mistakes I made as a new manager</a>
</h4>
<p class="summary">Hey everyone! A little update with me. Sigh, I knew this would happen. As soon as I release the first chapter of a big new ongoing comic (see my latest comic, Little Warrior Chapter 1), life throws a spanner in […] ↓ Read the rest of this entry...</p>
<p class="summary">the trough of zero dopamine • managing the wrong amount • procrastinating on hard questions • indefinitely deferring maintenance • angsting instead of asking</p>
<small class="source">
via <a href="https://www.zenpencils.com/">ZEN PENCILS</a>
via <a href="https://www.benkuhn.net/">benkuhn.net</a>
</small>
<small class="date">August 22, 2018</small>
<small class="date">April 23, 2023</small>
</div>
<div class="article">
<h4 class="title">
<a href="https://www.joelonsoftware.com/2022/12/19/progress-on-the-block-protocol/" target="_blank" rel="noopener">Progress on the Block Protocol</a>
</h4>
<p class="summary">Since the 1990s, the web has been a publishing place for human-readable documents. Documents published on the web are in HTML. HTML has a little bit of… Read more &#34;Progress on the Block Protocol&#34;</p>
<small class="source">
via <a href="https://www.joelonsoftware.com">Joel on Software</a>
</small>
<small class="date">December 19, 2022</small>
</div>
</section>