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.

Referenced in: Now with individual pages for entries

Comment via: facebook

Recent posts on blogs I like:

Facts I Learned From A City On Mars

Space bastardry!

via Thing of Things April 14, 2025

Which Came First, the Chicken or the Egg?

When I thought about this question it was really hard to figure out because the way it's phrased it's essentially either a chicken just pops into existence, or an egg just pops into existence, without any parent animals involved. I thought about t…

via Lily Wise's Blog Posts April 13, 2025

Advice for time management as a manager

have accurate expectations of yourself • prioritize ruthlessly • unemploy your future self • a five-step “help, I’m overwhelmed” checklist • carve out focused time

via benkuhn.net April 1, 2025

more     (via openring)