Reading My Blog

 For literally like two years I've always wanted something where I can retrieve a random blog post from my blog. This could allow me to look back on my posts effectively. Before, the closest thing I did was go to the archive tab and kind of click on random things.


I'm proud to say that after analyzing the blogger API and learning some cool webdev things, I have finally deployed this onto a site. This works 100%. 

The first time you click the button it will take a couple of seconds because it needs to retrieve all 450+ of my blog posts. After doing so, I've cached it and it will display new URLs instantly. 

I even added a condition where it checks if I have posted a new blog post before I click the button, and in that case it will refill yet again, so this is a totally independent program. It's kind of crazy. It's secure too because my sister taught me how to hide the user_id through an environmental variable in heroku.


So here it is: http://wizwilzo.pythonanywhere.com/


Page Published: 1-9-2022

Page update #1: 3-28-2023

Comments