Now with individual pages for entries

January 12th, 2010
programming, python, tech
In the past the news page was one giant html page. This was troublesome, because as I added more and more images it took longer to load. That view still exists, but it is no longer the default. The default is a page that has the 10 most recent entries. There is also a page that lists only the dates and titles for all entries. There are also pages for individual entries, such as this one.

Behind the scenes, all these other pages are statically generated from the html for the "all news on one page" version with the same code that makes the rss feed. Not really the standard way of doing this, but it's very simple.

Comment via: facebook

Recent posts on blogs I like:

A Big Problem With The Going To Bed Book

One day my dad was reading this book called the "Going to Bed Book" to my sister Nora. The book is basically about a bunch of animals who are getting ready for bed on a boat. They go down the stairs, take a bath, hang their towels on the wall, find…

via Lily Wise's Blog Posts September 18, 2023

Investing in boundaries with young kids

Putting in some work to get the behavior you want The post Investing in boundaries with young kids appeared first on Otherwise.

via Otherwise August 15, 2023

Self-driving car bets

This month I lost a bunch of bets. Back in early 2016 I bet at even odds that self-driving ride sharing would be available in 10 US cities by July 2023. Then I made similar bets a dozen times because everyone disagreed with me. The first deployment to pot…

via The sideways view July 29, 2023

more     (via openring)